SEARCH W7R

Showing posts with label Tutorials. Show all posts
Showing posts with label Tutorials. Show all posts

Friday, January 25, 2013

Hope for Sager/CLEVO Keyboard Users


w7r.blogspot.com

The Goal of this Post

The goal of this post is to provide a collection of resources to address, fix, and understand your Sager Laptop Keyboard and its Issues. 99% chance your keyboard problem has nothing to do with Sager or the model of the custom computer.
This is an example of the keyboard light problem. The middle segment of the keyboard should be teal like the right and left segments.


Specifically, I bought the NP9150 (CLEVO P15xEMx) model laptop from AGearNotebooks for a hefty price of $2000+ (USA) with the keyboard upgrade in the of my order. The information on these keyboard problems is hard to find (trust me) so I hope this page helps you out!


List of Reported Keyboard Problems (Sager 9150)

  1. 'Q' key not responding to presses
  2. Dim segment of backlit keyboard with all or certain colors
  3. Shift, Fn, and Ctrl only responding to very hard presses

Solutions and Troubleshooting

Monday, January 21, 2013

Regex Tutorial 3: Phone Nums


w7r.blogspot.com
Tutorial #2 Answers
  1. "a{3}b{4}c{5}"
  2. "kne{2}"
  3. "cab{2}age"
  4. "2{2}nd stre{2}t"



Typical Regex

Often times, the data we are trying to capture using Regex is not exactly clear. For example, with Regex you may want to capture all of the phone numbers on a website without knowing what actual numbers you will find.

Searching the literal text "333-333-3333" would not be a means of locating all of the phone numbers on a website. It would only capture results with that exact phone number.

So, we need to describe a pattern that follows: 3 digits + hyphen + 3 digits + hyphen + 4 digits.



The Digit Character

"\d" is the text to describe 1 digit. A digit character can only match: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.
So, "\d\d\d" could match the first three digits of a phone number; however, we can simplify this expression to be "\d{3}". The curly brackets surround the exact number of digits we want to target.
So far "\d{3}" matches the 1st of 5 parts in the phone number pattern we would like to describe. The part following the three digits is a hyphen "-". A hyphen is treated literally in regex because the hyphen has no other purpose in regex besides specifying ranges which appear only in the quantity specifying portion of a regular expression.

Wednesday, January 16, 2013

Regex Tutorial 2: Repeat This, Repeat That

w7r.blogspot.com

Let's Avoid Being Redundant!

Regular Expressions can save you a lot of time, by describing complicated patterns that would be ridiculous to search documents for with a standard Search and Replace.

Repeat Operators

Monday, January 14, 2013

Regex Tutorial 1: Literal Text

w7r.blogspot.com

What is Literal Text?

Literal text is what it sounds like "literal text". Literal text is kind of a WYSIWYG method of capturing data from documents. WYSIWYG stands for What You See is What You Get.

Example #1: Literal Text

Regular Expression Pattern 132
Document text "abc123 321 132 1 3 2 1,32 1321321221"
Findings"abc123 321 132 1 3 2 1,32 1321321221"
Caught text "132", "132", "132"

Importance of Literal Text

Wednesday, December 19, 2012

Python 3.2 Tutorial 1: Hello World!

w7r.blogspot.com

Python 3.2 Tutorial #1: Hello World!


Tutorial 1 contents: Code, and explanation for HelloWorld.py followed by useful information about Python in general.


# HelloWorld.py
# Python 3.2 Tutorial Part 1
# w7r.blogspot.com
# Brian R. H.

# the main method/function
def main():
print("Hello World!")

# Call to main function
main()

How to Run HelloWorld.py on Your Computer!

Tuesday, July 03, 2012

Java GUI Tutorials Archive

All You Need in One Location

Bookmark this resource before you forget too! This useful post contains a link to every Java GUI tutorial post on W7R Tech. Even if you have completed all of the W7R Java GUI tutorials, you can use this post refresh and expand your understanding of Java GUIs. Enjoy!



Don't forget to bookmark this resource! And make sure to subscribe to W7R Tech!