Skip to content

Instantly share code, notes, and snippets.

View SmileGobo's full-sized avatar

Evgeniy Kopysov SmileGobo

View GitHub Profile
@solomonhuang
solomonhuang / 16col.txt
Created September 4, 2012 13:09
hexdump convert binary to c array data
$ dd if=/dev/urandom bs=1 count=160 | hexdump -v -e '15/1 "0x%02X, " 1/1 " 0x%02X,\n"'
160+0 records in
160+0 records out
160 bytes (160 B) copied, 0.000507955 s, 315 kB/s
0xB3, 0x4C, 0xD7, 0x9B, 0xC4, 0x83, 0x7C, 0x92, 0xDE, 0xF5, 0x63, 0xBA, 0xAB, 0xCF, 0xDE, 0x13,
0x7F, 0xCE, 0x9D, 0xE9, 0x9F, 0xF8, 0xA2, 0xCB, 0x52, 0x6A, 0xD7, 0xDE, 0xD8, 0x12, 0xAC, 0x71,
0x1B, 0x5E, 0xF2, 0x2E, 0x1C, 0x82, 0x24, 0x24, 0xA2, 0x5D, 0x27, 0x90, 0xE4, 0xDC, 0x21, 0xF3,
0xAB, 0x9F, 0xD6, 0x1A, 0xDE, 0xFC, 0xA3, 0xDC, 0x49, 0xA2, 0xEF, 0xF2, 0x95, 0xCB, 0x8A, 0xE2,
0x6F, 0xD5, 0x2E, 0x48, 0x2B, 0x4D, 0x35, 0xEC, 0x62, 0x24, 0x75, 0xEB, 0xCF, 0x26, 0x57, 0xB2,
0x56, 0x65, 0xDF, 0x25, 0xA9, 0xB1, 0xD9, 0x78, 0x7F, 0x76, 0xB2, 0xF4, 0x57, 0xAD, 0xDC, 0xCC,
@2J
2J / example.html
Last active March 8, 2021 10:54
Angular 2 tabs example
<tabs>
<tab tabTitle="Tab 1">Tab 1 Content</tab>
<tab tabTitle="Tab 2" [active]="true">Tab 2 Content</tab>
<tab tabTitle="Tab 3" [disabled]="true">Tab 3 Content</tab>
<tab tabTitle="Link Tab 4" href="http://google.com">Link Tab</tab>
<tab tabTitle="Link Tab 5" href="http://google.com" [disabled]="true">Disabled Link Tab</tab>
</tabs>