This file contains 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
; Use Scroll Lock to swap keyboard layouts | |
; and do not let Control, Alt, or Win modifiers act on Dvorak | |
Loop { | |
If GetKeyState("ScrollLock", "T") | |
and !GetKeyState("Control") | |
and !GetKeyState("Alt") | |
and !GetKeyState("LWin") | |
and !GetKeyState("RWin") { | |
Suspend, Off | |
} else { |
This file contains 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
//Verilog硬件设计最高境界:胸中有沟壑,清晰明白每一条语句所代表硬件电路 | |
`timescale 1ns/100ps //0.1ns is allowed | |
module gray_counter(d_in, | |
clk, | |
rst, | |
ld, | |
q | |
); | |
//input and output |
This file contains 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
('l2v2l6v2'+ 'e1l1v3l2'+ | |
'v3e1v7e1v7e1v7e1l2v6e1l4v5'+ | |
'e1l6v4e1l8v3e1l7l3v2e1l9l3v1') | |
.replace(/[lve]\d/g,function | |
(c){return Array(-~c[1]). | |
join({l:' ',v:'Love' | |
,e:'\n'}[c[0 | |
]])}) |