|
|
July 21 he connection was prevented because of a policy configured on your RAS/VPN server. Specifically, the authentication method used by the server to verify your username and password may not match the authentication method configured in your connection profile. Please contact the Administrator of the RAS server and notify them of this error. (Error 812) For customized troubleshooting information for this connection, click Help.
July 03 for button 211 ,211,211 to 148,148,148
GroupBox 247,247,247 229,229,229 top line 242,242,242 bottom line 189,189,189 sides 218,218,218
Bib font for groupbox 41,41,41
Dark group 85.88.90 127,132,134 Font 187,187,187
ToolBar movable Font 51,51,51
June 08 Boot menu editor for Vista and Linux Nice UI for editing the Vista Boot Menu
April 28
Body:
All of us have a vested interest in the company's financial results and a desire to understand them better. In this blog post I provide a very high-level overview for non-financial employees.
What do all of the figures discussed during the earnings call really mean? Let's start with the income statement. The income statement is a depiction of the company's earnings or losses for a given period, and is the basic measuring stick of profitability.
The first and often most discussed item on the income statement is revenue. In the simplest terms, revenue is the amount of sales from our products and services, whether that's Windows Server, Windows Vista, Office, Xbox, MSN, or other products. In the software world, measuring whether or not revenue is earned can be complex. If the revenue is not yet "earned" because significant value will be delivered after the sale, then it will flow through the income statement in years to come. Since the amount of unearned revenue can be an important component of future revenue and profitability, we sometimes discuss the growth in this amount during the quarter.
Another important measure is operating income which assesses whether or not the foundation of the company is profitable. Operating income is revenue minus operating expenses (cost of revenue, research and development, sales and marketing, and general and administrative expenses). A factor to consider is the rate of revenue growth versus the rate of operating income growth. We strive to have operating income growth equal or exceed the rate of revenue growth, which implies that we are increasing the operating efficiency with which we are delivering software and services to our customers – in short, we are becoming more profitable.
Finally, earnings per share (EPS) is a convenient way to compare companies and often is the bottom-line factor investors first consider. EPS represents the net income divided by the number of outstanding shares of stock. Net income is operating income plus investment income, other nonoperating income or expenses, and includes the impact of interest and taxes. EPS is also positively impacted by stock buybacks, which reduce the number of outstanding shares.
Once you understand the basics of the income statement, you can listen for the business drivers behind the results. These drivers are discussed at a detailed level for each major business group. For example, has revenue increased because we launched a new product? Did the balance of unearned revenue grow during the quarter? Have acquisitions driven our growth? How is the PC market growth driving our business results? What's the impact of any legal charges to our operating expenses? Were there special or one-time events that change our earnings during the quarter? Did foreign currency movements impact our results? How well did core products grow? Did adoption of new products meet expectations?
I encourage all employees to take the time to understand the core drivers of our business, listen in to our earnings call, and become familiar with what drives shareholder value. For a quick summary of how I saw the quarter, watch my recent comments at http://StreetTalk.
I hope you find this useful. If there are other financial terms or concepts that you'd like to hear more about, please send me your comments via http://StreetTalk or this blog. Remember as employees, our commitment and passion directly drive Microsoft's results and earnings and increase our long-term shareholder value. February 23 Reset Audio sudo /etc/init.d/alsa-utils reset
Audio Driver for Linux http://manuals.opensound.com/devlists/Linux.html
List Hardware sudo /etc/init.d/alsa-utils reset
Once you start Ubuntu you will see garbage on the screen
Hit Ctrl-F1
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
this line just to backup the config file incase of any problem, that kind of things can happen. Then I used actual command for modifying the file sudo nano /etc/X11/xorg.conf
then by removing the line default '24' and change it to '16' hurrah here it comes Ubuntu on Virtual PC 2007.
Log in (remember the mouse isn't working yet), so press CTRL-ALT-F1 to drop into a console.
Let's now get the mouse working again.
sudo nano /boot/grub/menu.lst
Page down to the bottom of the file and find the first kernel line after the phrase " ## ## End Default Options ##".
Add i8042.noloop clock=pit to the kernel parameters.
- the
clock=pit is a fix for the time drift issues (KB918461)
Now we want to ensure the modules are loaded for the Virtual PC soundcard and Network card.
sudo nano /etc/modules
- At the end of the file add the lines
tulip snd-sb16
Then we want to remove the fancy Ubuntu splash screen that has some issues under Virtual PC.
sudo apt-get remove usplash -y
Restart by typing
sudo reboot
December 23
How to change the computer name and update the owner name for a workspace
To update the computer name for workspace, you'll need to run the following command.
tf workspaces /updateComputerName:OldComputerName /s:http://Tfs_server:8080
OldComputerName should be replaced with the name your computer had previously (more precisely, it should be what the server currently has recorded). Tfs_server should be replaced with the name of your server.
Similarly, you'll need to run the following command if your user name changes (for example, from corpdomain\eharris to corpdomain\esmith).
tf workspaces /updateUserName:OldUserName /s:http://Tfs_server:8080
OldUserName should be replaced with your user name prior to changing it. December 09 I’ve always hated add-Ons for WebBrowser, it was always obvious that most of the plugs-in on the market were hacks that attempted to reverse engineer IE and usually did more harm than good. (like crash the browser or slow it down) My single most wanted feature that I was always missing from IE was, Ctrl-F (Find in Page) that would highlight the words found, Firefox had this all along and I often switch to Firefox just to ensure that this feature was available. The Microsoft toolbar offers this feature both for some reason just does not resonate with me, I then to forget that its there or sometimes it just won’t work correctly. After looking up the AddOn gallery for IE7, I stumble on IE7Pro. This little gem met my need for the desired search & highlight experience (They mainly copied the FireFox experience and that’s a good thing). If you install this plugIn you will instantly feel that it’s done by a professional team. But the surprise keep on coming, after exploring the additional feature the IE7Pro had to offer. I discovered another gem, it’s called gesture. Basically you use the right mouse button to make a quick gesture and IE7Pro will issue a command to IE7, for example the gesture Right-to-Left will do a “backpage”, a ZigZag will close the web page and so on. You can customize the gesture for any of the 20+ commands. Get it here http://www.ie7pro.com/ November 17
Some useful commands
sudo & gksudo (for GUI sudo)
RE-CONFIGURE
sudo dpkg-reconfigure
ifconfig == ipconfig from windwos
Stop XWindows
sudo /etc/init.d/gdm stop
keyboard shortcut:
Ctr-Alt-F1 to F6 will start consoles 1 to 6
Ctr-Alt-F7 will bring you back to GUI
remote longing is done like this:
via SSH from Linux (user "live"): # ssh live@192.168.2.4
via SSH from Windows: ssh-client "Putty" (for example)
add a user
MIn user (guest) useradd -u 501 -m -s /bin/bash -g users looser1
Max user (admin) useradd -u 999 -m -s /bin/bash -g users looser1
In the terminal this would be: sudo adduser $user admin, where you replace $user with the name of the user.
if you want to avoid typing SUDO for each command then use: sudo -i
important files
/etc/apt/sources.list <<< this contains the server catalogue for possible update or new application
Links
http://www.linux.com/articles/54945
How to set/change/enable root user password
sudo passwd root
How to disable root user account
sudo passwd -l root
How to allow root user to login into GNOME
System -> Administration -> Login Window
Login Windows Preferences
Security Tab -> Security -> Allow local system administrator login (Checked)
How to switch to root user in Console mode
sudo -s -H Password: <specify user password>
or
sudo su Password: <specify user password>
How to add/edit/delete system users
System -> Administration -> Users and Groups
Users and Groups
Users Tab -> Add User…/Properties/Delete
or
sudo useradd matt sudo userdel matt
How to add/edit/delete system groups
System -> Administration -> Users and Groups
Users and Groups
Groups Tab -> Add Group…/Properties/Delete
How to automatic login into GNOME (not secure)
System -> Administration -> Login Window
Security Tab -> Enable Automatic Login (Checked)
Now choose a user from the drop-down menu.
How to allow more sudoers
sudo adduser a_username admin
How to change files/folders permissions
Right click on files/folders -> Properties
Permissions Tab -> Read/Write/Execute (Checked the permissions for Owner/Group/Others)
How to change files/folders ownership
sudo chown system_username /location_of_files_or_folders
If you want to change ownership of all containing files and folders recursively, use the -R option like this:
sudo chown -R system_username /location_of_files_or_folders
How to change files/folders group ownership
sudo chgrp system_groupname /location_of_files_or_folders
If you want to change group ownership of all containing files and folders recursively, use the -R option like this:
sudo chgrp -R system_username /location_of_files_or_folders October 07 CSI - Vegas (S08: 1V, 2V, 3V, 4V, 5V) CSI - Miami (S06: 1V, 2V, 3V, 4V, 5V, 6V) CSI - NY (S04: 1V, 2V, 3V, 4V, 5D, 6D) Greys anatomy (S04: 1V, 2V, 3V, 4V, 5V, 6V) ER (S14: 1V, 2V, 3V, 4V, 5V, 6V) House (S04: 1V, 2V, 3V, 4V, 5V) Heroes (S02: 1V, 2V, 3V, 4V, 5V)
Las Vegas (S05: 1V, 2V, 3V, 4V, 5V) Boston legal (S04: 1V, 2V, 3V, 4V, 5D) Smallville (S07: 1V, 2V, 3V, 4V, 5D) MyNameIsEarl (S03: 1V, 2V, 3V, 4V, 5V?, 6D, 7-8D) Nip Tuck (S04: T) Bionic Woman (S01: 1V, 2V, 3V, 4V, stopped watching) ----Only in 2008---- LOST MEDIUM January 21
Regular Expression Basic Syntax Reference
| Characters |
| Character |
Description |
Example |
| Any character except [\^$.|?*+() |
All characters except the listed special characters match a single instance of themselves. |
a matches a |
| \ (backslash) followed by any of [\^$.|?*+() |
A backslash escapes special characters to suppress their special meaning. |
\+ matches + |
| \xFF where FF are 2 hexadecimal digits |
Matches the character with the specified ASCII/ANSI value, which depends on the code page used. Can be used in character classes. |
\xA9 matches © when using the Latin-1 code page. |
| \n, \r and \t |
Match an LF character, CR character and a tab character respectively. Can be used in character classes. |
\r\n matches a DOS/Windows CRLF line break. |
| Character Classes or Character Sets [abc] |
| Character |
Description |
Example |
| [ (opening square bracket) |
Starts a character class. A character class matches a single character out of all the possibilities offered by the character class. Inside a character class, different rules apply. The rules in this section are only valid inside character classes. The rules outside this section are not valid in character classes, except \n, \r, \t and \xFF |
|
| Any character except ^-]\ add that character to the possible matches for the character class. |
All characters except the listed special characters. |
[abc] matches a, b or c |
| \ (backslash) followed by any of ^-]\ |
A backslash escapes special characters to suppress their special meaning. |
[\^\]] matches ^ or ] |
| - (hyphen) except immediately after the opening [ |
Specifies a range of characters. (Specifies a hyphen if placed immediately after the opening [) |
[a-zA-Z0-9] matches any letter or digit |
| ^ (caret) immediately after the opening [ |
Negates the character class, causing it to match a single character not listed in the character class. (Specifies a caret if placed anywhere except after the opening [) |
[^a-d] matches x (any character except a, b, c or d) |
| \d, \w and \s |
Shorthand character classes matching digits 0-9, word characters (letters and digits) and whitespace respectively. Can be used inside and outside character classes |
[\d\s] matches a character that is a digit or whitespace |
| \D, \W and \S |
Negated versions of the above. Should be used only outside character classes. (Can be used inside, but that is confusing).) |
\D matches a character that is not a digit |
| Dot |
| Character |
Description |
Example |
| . (dot) |
Matches any single character except line break characters \r and \n. Most regex flavors have an option to make the dot match line break characters too. |
. matches x or (almost) any other character |
| Anchors |
| Character |
Description |
Example |
| ^ (caret) |
Matches at the start of the string the regex pattern is applied to. Matches a position rather than a character. Most regex flavors have an option to make the caret match after line breaks (i.e. at the start of a line in a file) as well. |
^. matches a in abc\ndef. Also matches d in "multi-line" mode. |
| $ (dollar) |
Matches at the end of the string the regex pattern is applied to. Matches a position rather than a character. Most regex flavors have an option to make the dollar match before line breaks (i.e. at the end of a line in a file) as well. Also matches before the very last line break if the string ends with a line break. |
.$ matches f in abc\ndef. Also matches c in "multi-line" mode. |
| \A |
Matches at the start of the string the regex pattern is applied to. Matches a position rather than a character. Never matches after line breaks. |
\A. matches a in abc |
| \Z |
Matches at the end of the string the regex pattern is applied to. Matches a position rather than a character. Never matches before line breaks, except for the very last line break if the string ends with a line break. |
.\Z matches f in abc\ndef |
| \z |
Matches at the end of the string the regex pattern is applied to. Matches a position rather than a character. Never matches before line breaks. |
.\z matches f in abc\ndef |
| Word Boundaries |
| Character |
Description |
Example |
| \b |
Matches at the position between a word character (anything matched by \w) and a non-word character (anything matched by [^\w] or \W) as well as at the start and/or end of the string if the first and/or last characters in the string are word characters. |
.\b matches c in abc |
| \B |
Matches at the position between two word characters (i.e the position between \w\w) as well as at the position between two non-word characters (i.e. \W\W). |
\B.\B matches b in abc |
| Alternation |
| Character |
Description |
Example |
| | (pipe) |
Causes the regex engine to match either the part on the left side, or the part on the right side. Can be strung together into a series of options. |
abc|def|xyz matches abc, def or xyz |
| | (pipe) |
The pipe has the lowest precedence of all operators. Use grouping to alternate only part of the regular expression. |
abc(def|xyz) matches abcdef or abcxyz |
| Quantifiers |
| Character |
Description |
Example |
| ? (question mark) |
Makes the preceding item optional. Greedy, so the optional item is included in the match if possible. |
abc? matches ab or abc |
| ?? |
Makes the preceding item optional. Lazy, so the optional item is excluded in the match if possible. This construct is often excluded from documentation because of its limited use. |
abc?? matches ab or abc |
| * (star) |
Repeats the previous item zero or more times. Greedy, so as many items as possible will be matched before trying permutations with less matches of the preceding item, up to the point where the preceding item is not matched at all. |
".*" matches "def" "ghi" in abc "def" "ghi" jkl |
| *? (lazy star) |
Repeats the previous item zero or more times. Lazy, so the engine first attempts to skip the previous item, before trying permutations with ever increasing matches of the preceding item. |
".*?" matches "def" in abc "def" "ghi" jkl |
| + (plus) |
Repeats the previous item once or more. Greedy, so as many items as possible will be matched before trying permutations with less matches of the preceding item, up to the point where the preceding item is matched only once. |
".+" matches "def" "ghi" in abc "def" "ghi" jkl |
| +? (lazy plus) |
Repeats the previous item once or more. Lazy, so the engine first matches the previous item only once, before trying permutations with ever increasing matches of the preceding item. |
".+?" matches "def" in abc "def" "ghi" jkl |
| {n} where n is an integer >= 1 |
Repeats the previous item exactly n times. |
a{3} matches aaa |
| {n,m} where n >= 1 and m >= n |
Repeats the previous item between n and m times. Greedy, so repeating m times is tried before reducing the repetition to n times. |
a{2,4} matches aa, aaa or aaaa |
| {n,m}? where n >= 1 and m >= n |
Repeats the previous item between n and m times. Lazy, so repeating n times is tried before increasing the repetition to m times. |
a{2,4}? matches aaaa, aaa or aa |
| {n,} where n >= 1 |
Repeats the previous item at least n times. Greedy, so as many items as possible will be matched before trying permutations with less matches of the preceding item, up to the point where the preceding item is matched only n times. |
a{2,} matches aaaaa in aaaaa |
| {n,}? where n >= 1 |
Repeats the previous item between n and m times. Lazy, so the engine first matches the previous item n times, before trying permutations with ever increasing matches of the preceding item. |
a{2,}? matches aa in aaaaa | January 08 A bug in the Verizon XV6700 prevents the user from changing the backlight timeout to any value above 10 seconds.
To be accurate the value can be change in the Settigns/Backlight dialog but it will not be persisted once you turn off the device.
Here's a fix to enable you to keep you changes: Go to this Registry key HKEY_CURRENT_USER\Control Panel\Backlight\ and change the value of QKeyLedTimeout to the number of seconds you want. November 15 Here's the steps I repeat when I get a new computer
-
Install Windows Vista (Utlimate or Enterprise)
-
Run Windows Update
-
Install Office 2007
-
Run Microsoft Update - (this will update any Office fixes)
-
Install latest Instant Messenger
-
-
Install SmartCard hardware + Driver
-
Windows Update
-
Install SourceSafe 2005
-
Install VisualStudio 2005
-
Import my Favorites (Copy from a backup of my previous Documents and Settings\JP\Favorites)
-
Remove Windows Messenger and Outlook Express (using Add Remove component)
-
Restore my tool folder (from C:\Tools)
-
Restore my Data files (from c:\PrivateDocument)
-
Install DynDNS-Updater as a Service eMail notification via SMTP mx1.hotmail.com
-
Configure Outlook server is NA-EXMSG-C104
-
Install Sun Java RunTime (my only used of this is for Datek Stock Streamer)
|
2006-200.. |
Honda Element 2006 |
cost 20,000 |
|
|
2004-2006
|
BMW 325i (1988) |
cost 300 |
|
|
2000-20XX
|
Volk Passat (2000) |
cost 22,000 sold 2,000 |
|
|
2000-20XX
|
Ford Thunderbird (1956) |
cost 8,000 |
|
|
1999-2006
|
Chevy Pickup (1975) |
cost 1500 |
|
|
1997-1999 |
Volvo 240DL (1987)
|
cost 6,000 sold 2,000 |
|
|
1993-1997
|
Isuzu Rodeo (1990) |
cost 15,000 |
|
|
1990-1992 |
Jeep Cherokee 1988
|
cost 9,800 |
|
|
1988-1989 |
Honda Accord 1983
|
Paid 2,000 sold 800 |
|
|
1988-1989 |
Ford 150 Pickup 1987
|
Paid 0.00 solde 11,000 |
|
|
1987-1988 |
Chevy Camaro 1975 |
Cost 1,500 sold 800 |
|
|
1985-1987 |
Renault 5 |
1979 cost 0, sold 400 |
|
November 13
The contents of a redirection file are ignored, but its presence causes Windows to check the application directory first whenever it loads a DLL, regardless of the path specified to LoadLibrary or LoadLibraryEx. If the DLL is not found in the application directory, then these functions use their usual search order. For example, if the application c:\myapp\myapp.exe calls LoadLibrary using the following path:
c:\program files\common files\system\mydll.dll
And, if both c:\myapp\myapp.exe.local and c:\myapp\mydll.dll exist, LoadLibrary loads c:\myapp\mydll.dll. Otherwise, LoadLibrary loads c:\program files\common files\system\mydll.dll.
Alternatively, if a directory named c:\myapp\myapp.exe.local exists and contains mydll.dll, LoadLibrary loads c:\myapp\myapp.exe.local\mydll.dll.
Known DLLs cannot be redirected. For a list of known DLLs, see the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\KnownDLLs. The system uses Windows File Protection to ensure that system DLLs such as these are not updated or deleted except by operating system (OS) updates such as service packs November 07
DevEnv /log
%APPDATA%\Microsoft\VisualStudio\8.0\ActivityLog.xml
GetFileAttributes
GetBinaryType
vsmsbuild foo.nativeproj
Yes – Ctrl + Up Arrow will bring you up to the previous method or type declaration in the file. (The associated command name is Edit.PreviousMethod.) August 02
http://www.aisto.com/roeder/dotnet
Here are some tools that helps me do my job when coding on DotNET
fuslogvw
help track the .dll being loaded or list the errors of .dll not loading
Ildasm
Look at the offering of an assembly June 23
My #1 most popular string formating Int(1024).ToString(N0) will output 1,024
"{<argument index>[,<alignment>][:<formatString><zeros>]}" example {0,-8:G2}
argument index: This represent which argument goes into the string.
String.Format("first = {0};second = {1}", "apple", "orange"); String.Format("first = {1};second = {0}", "apple", "orange");
"first = apple;second = orange" "first = orange;second = apple"
alignment (optional): This represent the minimal length of the string.
Postive values, the string argument will be right justified and if the string is not long enough, the string will be padded with spaces on the left.
Negative values, the string argument will be left justied and if the string is not long enough, the string will be padded with spaces on the right.
If this value was not specified, we will default to the length of the string argument.
String.Format("{0,-10}", "apple"); //"apple " String.Format("{0,10}", "apple"); //" apple"
format string (optional): This represent the format code.
Numeric format specifier is available here. (e.g. C, G...etc.) Datetime format specifier is available here. Enumeration format specifier is available here. Custom Numeric format specifier is available here. (e.g. 0. #...etc.) Custom formatting is kinda hard to understand. The best way I know how to explain something is via code:
int pos = 10; int neg = -10; int bigpos = 123456; int bigneg = -123456; int zero = 0; string strInt = "120ab";
String.Format("{0:00000}", pos); //"00010" String.Format("{0:00000}", neg); //"-00010" String.Format("{0:00000}", bigpos); //"123456" String.Format("{0:00000}", bigneg); //"-123456" String.Format("{0:00000}", zero); //"00000" String.Format("{0:00000}", strInt); //"120ab" String.Format("{0:#####}", pos); //"10" String.Format("{0:#####}", neg); //"-10" String.Format("{0:#####}", bigpos); //"123456" String.Format("{0:#####}", bigneg); //"-123456" String.Format("{0:#####}", zero); //"" String.Format("{0:#####}", strInt); //"120ab"
While playing around with this, I made an interesting observation:
String.Format("{0:X00000}", pos); //"A" String.Format("{0:X00000}", neg); //"FFFFFFF6" String.Format("{0:X#####}", pos); //"X10" String.Format("{0:X#####}", neg); //"-X10"
The "0" specifier works well with other numeric specifier, but the "#" doesn't. Umm... I think the "Custom Numeric Format String" probably deserve a whole post of it's own. Since this is only the "101" post, I'll move on to the next argument in the format string.
zeros (optional): It actually has a different meaning depending on which numeric specifier you use. int neg = -10; int pos = 10; // C or c (Currency): It represent how many decimal place of zeros to show. String.Format("{0:C4}", pos); //"$10.0000" String.Format("{0:C4}", neg); //"($10.0000)"
// D or d (Decimal): It represent leading zeros String.Format("{0:D4}", pos); //"0010" String.Format("{0:D4}", neg); //"-0010"
// E or e (Exponential): It represent how many decimal places of zeros to show. String.Format("{0:E4}", pos); //"1.0000E+001" String.Format("{0:E4}", neg); //"-1.0000E+001"
// F or f (Fixed-point): It represent how many decimal places of zeros to show. String.Format("{0:F4}", pos); //"10.0000" String.Format("{0:F4}", neg); //"-10.0000"
// G or g (General): This does nothing String.Format("{0:G4}", pos); //"10" String.Format("{0:G4}", neg); //"-10"
// N or n (Number): It represent how many decimal places of zeros to show. String.Format("{0:N4}", pos); //"10" String.Format("{0:N4}", neg); //"-10"
// P or p (Percent): It represent how many decimal places of zeros to show. String.Format("{0:P4}", pos); //"1,000.0000%" String.Format("{0:P4}", neg); //"-1,000.0000%"
// R or r (Round-Trip): This is invalid, FormatException is thrown. String.Format("{0:R4}", pos); //FormatException thrown String.Format("{0:R4}", neg); //FormatException thrown
// X or x (Hex): It represent leading zeros String.Format("{0:X4}", pos); //"000A" String.Format("{0:X4}", neg); //"FFFFFFF6"
// nothing: This is invalid, no exception is thrown. String.Format("{0:4}", pos)); //"4" String.Format("{0:4}", neg)); //"-4"
In summary, there are four types of behaviour when using this <zeros> specifier: Leading Zeros: D, X Trailing Zeros: C, E, F, N, P Nothing: G Invalid: R, <empty>
Now, that we've gone through the valid specifiers, you can actually use this in more than just String.Format(). For example, when using this with Byte.ToString():
Byte b = 10;
b.ToString("D4"); //"0010" b.ToString("X4"); //"000A"
Some links to MSDN ToString MSDN Doc, String.Format MSDN Doc, format string overview as well as a the table that specifies all the values that are allowed. May 04 SQL BROWSER UDP port 1434
|