Skip to content

Instantly share code, notes, and snippets.

View jlucasps's full-sized avatar

João Lucas Pereira de Santana jlucasps

View GitHub Profile
@RaphaelDDL
RaphaelDDL / Preferences.sublime-settings
Last active August 29, 2015 14:03
RaphaelDDL's Preferences.sublime-settings
{
"atomic_save": false,
"auto_complete_commit_on_tab": false,
"auto_complete_with_fields": true,
"bold_folder_labels": false,
"caret_extra_width": 1,
"color_scheme": "Packages/Theme - Flatland/Flatland Monokai.tmTheme",
"default_line_ending": "unix",
"detect_indentation": false,
"detect_slow_plugins": false,
@RaphaelDDL
RaphaelDDL / Default (OSX).sublime-keymap
Last active August 29, 2015 14:03
RaphaelDDL's Default (OSX).sublime-keymap
[{
"keys": ["f12"],
"command": "reindent"
}, {
"keys": ["f10"],
"command": "js_format",
"context": [{
"key": "selector",
"operator": "equal",
"operand": "source.js,source.json"
@mariozig
mariozig / Ruby sublime-build.json
Last active December 11, 2015 01:09
Sublime Text 2 and RVM together... Full post here: http://ruby.zigzo.com/2013/01/11/sublime-text-2-and-rvm/
{
"cmd": [ "/Users/YOUR_USER_NAME/.rvm/bin/rvm-auto-ruby", "$file" ],
"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
"selector": "source.ruby"
}
@m3nd3s
m3nd3s / NERDTree.mkd
Last active November 23, 2023 13:45
My Vim Cheat Sheet

NERDTree

o.......Open files, directories and bookmarks....................|NERDTree-o|
go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go|
t.......Open selected node/bookmark in a new tab.................|NERDTree-t|
T.......Same as 't' but keep the focus on the current tab........|NERDTree-T|
i.......Open selected file in a split window.....................|NERDTree-i|
gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi|
s.......Open selected file in a new vsplit.......................|NERDTree-s|
gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs|

O.......Recursively open the selected directory..................|NERDTree-O|

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 3, 2024 19:09
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@tmcallister
tmcallister / faye.rb
Created May 23, 2012 23:52
Faye with nginx config
FAYE_TOKEN = 'secretToken'
if defined? Rails
if Rails.env == 'development'
FAYE_URI = "http://#{APP_CONFIG[:nameremoved_service][:host]}:9292/faye"
else
FAYE_URI = "https://#{APP_CONFIG[:nameremoved_service][:host]}/faye"
end
@zhengjia
zhengjia / capybara cheat sheet
Created June 7, 2010 01:35
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')