Skip to content

Instantly share code, notes, and snippets.

View kumabotz's full-sized avatar

Tery Lim kumabotz

View GitHub Profile
@kumabotz
kumabotz / SassMeister-input-HTML.html
Created October 20, 2014 23:35
Generated by SassMeister.com.
<div class="dragon"></div>
<div class="bill"></div>
<div class="knight">
<div class="lightsaber"></div>
</div>
if has("autocmd")
autocmd BufWritePre * :call <SID>StripTrailingWhitespaces()
endif
function! <SID>StripTrailingWhitespaces()
" preparation: save last search, and cursor position
let _s=@/
let l = line(".")
let c = col(".")
@kumabotz
kumabotz / .gitignore
Last active December 18, 2015 08:39
Android Studio .gitignore
# ignored by AndroidStudio
*.iml
# folders related to builds
.gradle/
*/build/
# local settings (regenerated by Android Studio)
.idea/copyright/
.idea/dictionaries/
@kumabotz
kumabotz / gist:4257099
Created December 11, 2012 08:46
Run single unit test
# execute `test_windows` in `test/test_platform.rb`
ruby -I"lib:test" test/test_platform.rb -n test_windows
@kumabotz
kumabotz / gist:4221505
Created December 6, 2012 03:01
Terminal or shell command to shutdown or reboot Ubuntu Linux
# shutdown / poweroff Ubuntu Linux
$ sudo halt
# or
$ sudo shutdown -h now
# reboot Ubuntu Linux
$ sudo reboot