Skip to content

Instantly share code, notes, and snippets.

working from anywhere

Duy Nguyen truongduyng

working from anywhere
Block or report user

Report or block truongduyng

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
import math
import decimal
def pretty_print(value):
value = float(value)
bias = 0
intdigits = math.floor(math.log10(value))
divisor = 0
if intdigits >= 3:
divisor = intdigits - (intdigits%3)
View sublime-settings.rb
"bold_folder_labels": true,
"color_scheme": "Packages/User/SublimeLinter/Monokai Phoenix (SL).tmTheme",
"draw_white_space": "all",
"ensure_newline_at_eof_on_save": true,
"font_face": "Ubuntu Mono",
"font_size": 12,
"highlight_line": true,
"highlight_modified_tabs": true,
"hot_exit": false,
You can’t perform that action at this time.