Skip to content

Instantly share code, notes, and snippets.

View hujy23's full-sized avatar

hujy23

View GitHub Profile
anonymous
anonymous / love.js
Created February 9, 2017 11:57
('l2v2l6v2'+ 'e1l1v3l2'+
'v3e1v7e1v7e1v7e1l2v6e1l4v5'+
'e1l6v4e1l8v3e1l7l3v2e1l9l3v1')
.replace(/[lve]\d/g,function
(c){return Array(-~c[1]).
join({l:' ',v:'Love'
,e:'\n'}[c[0
]])})
@rswofxd
rswofxd / VMode.v
Created May 25, 2012 10:24
Verilog:硬件描述语言verilog常用总结
//Verilog硬件设计最高境界:胸中有沟壑,清晰明白每一条语句所代表硬件电路
`timescale 1ns/100ps //0.1ns is allowed
module gray_counter(d_in,
clk,
rst,
ld,
q
);
//input and output
@troynt
troynt / better_dvorak.ahk
Created October 8, 2009 15:17
Dvorak Autohotkey
; 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 {