This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// names.sort(function(name1, name2) { | |
// return name1.toLowerCase().localeCompare(name2.toLowerCase()); | |
// }); | |
names.sort(function(name1, name2) { | |
var a1 = name1.split(/(\d+)/); | |
var a2 = name2.split(/(\d+)/); | |
for (var i=0; i<Math.max(a1.length, a2.length); i+=2) { | |
var ra = (a1[i] || '').localeCompare(a2[i] || ''); | |
var rd = a1[i+1] == a2[i+1] ? 0 : (a1[i+1] * 1 > a2[i+1] * 1 ? 1 : -1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/perl | |
use strict; | |
use IO::Socket; | |
use IO::Select; | |
my $julius_socket = IO::Socket::INET->new( | |
Proto => 'tcp', | |
PeerAddr => 'localhost', | |
PeerPort => 10500, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] | |
"Scancode Map"=hex:00,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] | |
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,3a,00,1d,00,1d,00,3a,00,\ | |
00,00,00,00 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\i8042prt\Parameters] | |
"PollingIterations"=dword:00002ee0 | |
"PollingIterationsMaximum"=dword:00002ee0 | |
"ResendIterations"=dword:00000003 | |
"LayerDriver JPN"="kbd101.dll" | |
"OverrideKeyboardIdentifier"="PCAT_101KEY" | |
"OverrideKeyboardType"=dword:00000007 | |
"OverrideKeyboardSubtype"=dword:00000000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\i8042prt\Parameters] | |
"PollingIterations"=dword:00002ee0 | |
"PollingIterationsMaximum"=dword:00002ee0 | |
"ResendIterations"=dword:00000003 | |
"LayerDriver JPN"="kbd106.dll" | |
"OverrideKeyboardIdentifier"="PCAT_106KEY" | |
"OverrideKeyboardType"=dword:00000007 | |
"OverrideKeyboardSubtype"=dword:00000002 |