Skip to content

Instantly share code, notes, and snippets.

View adisuryadi's full-sized avatar

Adi Luhung Suryadi adisuryadi

View GitHub Profile
set guifont=essential_pragmatapro:h10
set backspace=2
set guioptions-=T
set guioptions-=L
set guioptions-=r
body { background-color: #eeeeee; padding: 0; margin: 5px; overflow-y: scroll; }
#HTMLReporter { font-size: 11px; font-family: Monaco, "Lucida Console", monospace; line-height: 14px; color: #333333; }
#HTMLReporter a { text-decoration: none; }
#HTMLReporter a:hover { text-decoration: underline; }
#HTMLReporter p, #HTMLReporter h1, #HTMLReporter h2, #HTMLReporter h3, #HTMLReporter h4, #HTMLReporter h5, #HTMLReporter h6 { margin: 0; line-height: 14px; }
#HTMLReporter .banner, #HTMLReporter .symbolSummary, #HTMLReporter .summary, #HTMLReporter .resultMessage, #HTMLReporter .specDetail .description, #HTMLReporter .alert .bar, #HTMLReporter .stackTrace { padding-left: 9px; padding-right: 9px; }
#HTMLReporter #jasmine_content { position: fixed; right: 100%; }
#HTMLReporter .version { color: #aaaaaa; }
#HTMLReporter .banner { margin-top: 14px; }
@adisuryadi
adisuryadi / HTML.tmLanguage
Created June 28, 2013 02:44
this file makes us able to use zencoding/emmet in script text/template context
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>html</string>
<string>htm</string>
<string>shtml</string>
<string>xhtml</string>
@adisuryadi
adisuryadi / sublime-keymap.json
Created June 21, 2013 04:27
windows sublime keymap
[
{ "keys": ["ctrl+t"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
{ "keys": ["ctrl+alt+t"], "command": "read_tweets" },
{ "keys": ["ctrl+shift+."], "command": "erb", "context":
[
{ "key": "selector", "operator": "equal", "operand": "text.html.ruby, text.haml, source.yaml, source.css, source.scss, source.js, source.coffee" }
]
},
{ "keys": ["super+alt+p"], "command": "show_scope_name" },
{ "keys": ["ctrl+shift+r"], "command": "reindent" , "args": {"single_line": false}},
@adisuryadi
adisuryadi / fix-natural-scroll.sh
Created June 13, 2013 11:30
Fix natural scrolling on ubuntu (nautilus)
xinput list|grep Synaptics
xinput list-props 11 | grep "Scrolling Distance"
#!/bin/sh
xinput set-prop 11 288 -106 -106
nautilus -q
nautilus -n &
@adisuryadi
adisuryadi / Gemfile
Created June 12, 2013 09:46
Working Spree 2 Gemfile
source 'https://rubygems.org'
gem 'rails', '3.2.13'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'sqlite3'
@adisuryadi
adisuryadi / dabblet.css
Created May 20, 2013 03:50
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
#input_2 { visibility: hidden; }
#textarea_1 { visibility: hidden; }