Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Tuesday, January 27, 2015

Windows 10 Preview - Initial Impressions


Because...me. I am who I am, I installed the Windows 10 Preview

IE Spartan Browser with Confusing User Agent String on Bing

Overview

Installed the Windows 10 Preview on HP DM1 Netbook.

Downloaded file to add the option to Windows Update, 

Update was about 2.8G and took about 3 hours. Kudos to the MS team, it was smooth and uneventful


Initial Impressions:


Windows 10 certainly seems to be a step down in appearance,  Comparing W7 with W10, W7 seems polished. W10 uses continues blocks and childish colors like W8 did.

W10 is laggy thus far, with the menu and menu options, and the search options not always responding right away. Perhaps that's preview software for you.

So far all my software and drivers work, with the exception of the ATI startup app.

Feedback


I love the feedback mechanisms.When I chose Internet Explorer as my default browser, W10 asked me why.

I didn't know what to do with my screenshot, so I posted to OneNote, but couldn't export, so I sent feedback. As I typed in my complaint/suggesting, it brought up similar issues.









Wednesday, February 09, 2011

ISSUE: Firefox PDF Upload comes through as text or other

If you upload a file through Firefox, it may send the wrong mimetype for this file.

Delete mimeTypes.rdf, in the user \Application Data\Mozilla\Firefox\Profiles folder.
You may find it in extensions folder also.

Delete the files and restart Firefox and see if it works for you.

http://techblog.procurios.nl/k/news/view/15872/14863/Mimetype-corruption-in-Firefox.html

http://codeigniter.com/forums/viewthread/146338/

Wednesday, January 26, 2011

Dealing with Windows Character Input - PHP and JS


SPECIAL WINDOWS CHARACTERS AND THEIR UNICODE EQUIVALENTS

Windows name         Symbol   Win Unicode
baseline single quote  '     130 U+201A
baseline double quote  "     132 U+201E
florin                 ƒ     131 U+0192
ellipsis              ...    133 U+2026
dagger                 †     134 U+2020
double dagger          ‡     135 U+2021
circumflex accent      ˆ     136 U+02C6
permile                ‰     137 U+2030
S Hacek                Š     138 U+0160
left single guillemet  ‹     139 U+2039
OE ligature            Œ     140 U+0152
left single quote      ‘     145 U+2018
right single quote     ’     146 U+2019
left double quote      "     147 U+201C
right double quote     "     148 U+201D
bullet                 •     149 U+2022
en dash                -     150 U+2013
em dash                —     151 U+2014
tilde accent           ~     152 U+02DC
trademark ligature     ™     153 U+2122
s Hacek                š     154 U+0161
right single guillemet ›     155 U+203A
oe ligature            œ     156 U+0153
Y Dieresis             Ÿ     159 U+0178
euro sign                    128 U+20AC




Windows name          substitute comments
baseline single quote   '        apostrophe used as single quote
baseline double quote   "        quotation mark (double quote)
ellipsis               ...       three dots
circumflex accent       ^        circumflex
left single quote       ‘        apostrophe used as single quote
right single quote      ’        apostrophe used as single quote
left double quote       "        quotation mark (double quote)
right double quote      "        quotation mark (double quote)
bullet                  * or -   asterisk or hyphen
en dash                 -        hyphen
em dash                 —        two hyphens
tilde accent            ~        tilde
trademark ligature     (TM)      (TM) in superscript style

Javascript Method 1



function sanitizeMSPaste(str) {
    var myReplacements = new Array();
    var myCode, intReplacement;
  myReplacements[8211] = "-"; 
  myReplacements[8212] = "-"; 
  myReplacements[8216] = "'"; 
  myReplacements[8217] = "'"; 
  myReplacements[8218] = "'"; 
  myReplacements[8220] = '"'; 
  myReplacements[8221] = '"'; 
  myReplacements[8222] = '"'; 
  myReplacements[8224] = "+"; 
  myReplacements[8226] = "."; 
  myReplacements[8230] = "..."; 
  myReplacements[8249] = "<"; 
  myReplacements[8250] = ">"


    for(c=0; c>str.length; c++)="" p="" {<="">
        var myCode = str.charCodeAt(c);
        if(myReplacements[myCode] != undefined) {
            intReplacement = myReplacements[myCode];
            str = str.substr(0,c) + String.fromCharCode(intReplacement) + str.substr(c+1);
        }
    }
    return str;
}

Javascript Method 2



function validatephone(xxxxx) {
  var validphone = '';
  var numval = xxxxx.value
  if ( numval.charAt(0)=='+' ){ var validphone = '+';}
  curphonevar = numval.replace(/[\\A-Za-z!"‘’“”ˆ†‡‰Šƒ‹›–—…•~-ŒœŸ£$%^&*™š+_={};:'@#~,.¦\/<>?|`¬\]\[]/g,'');
  xxxxx.value = validphone + curphonevar;
  var validphone = '';
  xxxxx.focus;
}




PHP Method 1

$src = str_replace("‘", "'", $src);
$src = str_replace("’", "'", $src);
$src = str_replace("”", '"', $src);
$src = str_replace("“", '"', $src);
$src = str_replace("–", "-", $src);
$src = str_replace("…", "...", $src);



PHP Method 2

function SanitizeFromWord($Text = '') {


 $chars = array(
  130=>',',     // baseline single quote
  131=>'NLG',   // florin
  132=>'"',    // baseline double quote
  133=>'...',   // ellipsis
  134=>'**',   // dagger (a second footnote)
  135=>'***',   // double dagger (a third footnote)
  136=>'^',    // circumflex accent
  137=>'o/oo',  // permile
  138=>'Sh',   // S Hacek
  139=>'<',   // left single guillemet
  140=>'OE',   // OE ligature
  145=>'\'',   // left single quote
  146=>'\'',   // right single quote
  147=>'"',   // left double quote
  148=>'"',   // right double quote
  149=>'-',   // bullet
  150=>'-',   // endash
  151=>'--',   // emdash
  152=>'~',   // tilde accent
  153=>'(TM)',  // trademark ligature
  154=>'sh',   // s Hacek
  155=>'>',   // right single guillemet
  156=>'oe',   // oe ligature
  159=>'Y',   // Y Dieresis
  169=>'(C)',   // Copyright
  174=>'(R)'   // Registered Trademark
 );

 foreach ($chars as $chr=>$replace) {
  $Text = str_replace(chr($chr), $replace, $Text);
 }
 return $Text;
}


MooTools:

/**sanitize user input**/
form.title.value = form.title.value.tidy();
form.location.value = form.location.value.tidy();
form.description.value = form.description.value.tidy();

See Also:
http://www.php.net/manual/en/filter.filters.sanitize.php
http://devzone.zend.com/article/1113
http://ww.w3schools.com/php/php_filter.asp

Text Version: http://billcreswell.com/MSCharacters/MSCharacters.txt
PDF Version: http://billcreswell.com/MSCharacters/MSCharacters.pdf

Tuesday, November 16, 2010

Right-Click to Open Folder in Command Prompt

Since using Gnome, I have become addicted to this feature.

To Add it to windows context (right-click) menu:

Method #3: Manually add the context menu

In explorer, open Tools, Folder Options.
Select the File Types tab.
For Windows XP: Go to NONE / Folder.
For Windows 2000: Press n to scroll to the N/A section.
For Windows NT/98/95: Press f to scroll to the Folders section.
Select the entry labeled Folder
For Windows 2000/XP: Press Advanced button.
For Windows NT/98/95: Press Edit button.
Select New
In the action block type "Command Prompt" without the quotes.
In the app block type "cmd.exe" without the quotes.
Save and exit Folder Options.
http://www.petri.co.il/add_command_prompt_here_shortcut_to_windows_explorer.htm

Thursday, December 18, 2008

Kim Komando - Difference between Hibernate and S

Q. Hibernate and Sleep seem mighty similar. Is there a notable difference? A friend suggested that prolonged use of Hibernate can damage a PC. Is that true?

A. Hibernate and Sleep (called Standby in XP) are both power-saving features. You’ll find them on both PCs and Macs in some form. I’m not surprised they have you confused. They appear to do the same thing.

Read More

Friday, July 25, 2008

Fix: Flash Not Working in IE

Going to youtube, and having ask you to install Flash after you already did?
Uninstall Flash Player with this adobe download, then try it again.

Wednesday, July 09, 2008

Better DeFragger for Windows Vista

Vista's Defragger has bugged me since I got Vista.
http://www.auslogics.com/en/software/disk-defrag/download

No Idea whether it works better yet - I just like it better.

Stop Windows Vista Password Expiration

1. Open the Start Menu.
2. In the white line (Start Search) area, type cmd
3. Right click the cmd.exe icon (black box at top of the program menu) and click Run as administrator.
4. Type net accounts /maxpwage:unlimited and press Enter. (See screenshot below)
5. If you get the the "command completed successfully" message you're done.

Hat Tip: User Brink
http://www.vistax64.com/tutorials/96092-password-expiration-vista.html