This file contains hidden or 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
on zero_pad(value, string_length) | |
set string_zeroes to "" | |
set digits_to_pad to string_length - (length of (value as string)) | |
if digits_to_pad > 0 then | |
repeat digits_to_pad times | |
set string_zeroes to string_zeroes & "0" as string | |
end repeat | |
end if | |
set padded_value to string_zeroes & value as string | |
return padded_value |
This file contains hidden or 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
Show hidden characters
{ | |
"bootstrapped": true, | |
"in_process_packages": | |
[ | |
], | |
"installed_packages": | |
[ | |
"Babel", | |
"HTML-CSS-JS Prettify" | |
] |
This file contains hidden or 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
clear control | |
clear mod1 | |
clear mod4 | |
keycode 37 = Super_L | |
keycode 64 = Control_L | |
keycode 133 = Alt_L Meta_L | |
add control = Control_L Control_R | |
add mod1 = Alt_L Meta_L | |
add mod4 = Super_L Hyper_L |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
from datetime import datetime | |
import time | |
import sublime, sublime_plugin | |
class TimestampCommand(sublime_plugin.EventListener): | |
"""Expand `isoD`, `now`, `datetime`, `utcnow`, `utcdatetime`, | |
`date` and `time` |
This file contains hidden or 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
#Paths | |
export PATH="~/.composer/vendor/bin:$PATH" | |
export XAMPP_HOME=/Applications/XAMPP | |
export PATH=${XAMPP_HOME}/bin:${PATH} | |
export PATH="/Volumes/secondary/apps/apache-ant-1.9.6/bin:$PATH" | |
export PATH="/Users/ridwan/Library/Android/sdk/platform-tools/":$PATH | |
export PATH="/usr/local/lib/express:$PATH" | |
export PATH="/Users/ridwan/Library/Android/sdk/platform-tools:/Users/ridwan/Library/Android/sdk/tools:$PATH" | |