Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Foad Tahmasebi tahmasebi

🎯
Focusing
View GitHub Profile
@tahmasebi
tahmasebi / Highlightjs-line-color-hover.css
Last active Mar 12, 2018
Highlightjs line numbers: adding line numbers to highlightjs and style it for line color (no table)
View Highlightjs-line-color-hover.css
ul.code-lines {
list-style : decimal;
padding : 0;
}
li.line {
display : block;
padding : 0;
}
@tahmasebi
tahmasebi / Byte-to-Integer
Last active Aug 29, 2015
How to convert bytes to integer in python
View Byte-to-Integer
# bytes variable is your byte array
int_number = int.from_bytes(bytes, byteorder="big", signed=False)