Skip to content

Instantly share code, notes, and snippets.

J Rivera jriverac

Block or report user

Report or block jriverac

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
@jriverac
jriverac / Skim Usage.txt
Created Jan 23, 2020
Skim Half of our life is spent on navigation: files, lines, commands… You need skim! It is a general fuzzy finder that saves you time.
View Default (OSX).sublime-keymap.json
[
{ "keys": ["ctrl+h"], "command": "dash_doc"},
{
"command": "reveal_in_side_bar",
"keys": [
"ctrl+shift+r"
]
},
{
"command": "dash_doc",
@jriverac
jriverac / Preferences.sublime-settings.json
Last active Oct 11, 2018
Sublime Text 3 User Preferences #sublime #sublime_text
View Preferences.sublime-settings.json
{
"always_show_minimap_viewport": true,
"bold_folder_labels": true,
"caret_extra_bottom": 2,
"caret_extra_top": 2,
"caret_extra_width": 3,
"caret_style": "phase",
"color_scheme": "Packages/Theme - Cobalt2/cobalt2.tmTheme",
"draw_indent_guides": true,
"fade_fold_buttons": false,
@jriverac
jriverac / SearchInProject.sublime-settings.json
Last active Oct 11, 2018
Search In Project User Preferences #sublime #sublime_text #pt
View SearchInProject.sublime-settings.json
{
"search_in_project_ThePlatinumSearcher_mandatory_options": "--column --nogroup --nocolor",
"search_in_project_ThePlatinumSearcher_path_to_executable": "pt",
"search_in_project_engine": "the_platinum_searcher"
}
@jriverac
jriverac / Hide all files.sh
Last active Oct 10, 2018
After executing this, restart he finder by alt-right-clicking on it.
View Hide all files.sh
defaults write com.apple.finder AppleShowAllFiles NO
@jriverac
jriverac / Show all files.sh
Last active Oct 10, 2018
After executing this, restart he finder by alt-right-clicking on it.
View Show all files.sh
defaults write com.apple.finder AppleShowAllFiles YES
@jriverac
jriverac / Test Model.sh
Created Sep 28, 2018
This code will generate a test model that we can use to apply the quickform generator to with little changes.
View Test Model.sh
rails g scaffold Product\
alegra_id:integer \
webstudio_id:integer \
proposify_id:integer \
category:string \
product_line:string \
name:string \
description:text \
reference:string \
product_key:string \
@jriverac
jriverac / show_all_files.sh
Created Jun 19, 2018
[Show All Files] Run this #bash #osx
View show_all_files.sh
defaults write com.apple.finder AppleShowAllFiles YES
@jriverac
jriverac / .rubocop.yml
Last active Jul 3, 2018
RuboCop Configurations #rubocop #configurations #ruby
View .rubocop.yml
# This is the default configuration file. Enabling and disabling is configured
# in separate files. This file adds all other parameters apart from Enabled.
# inherit_from:
# - enabled.yml
# - disabled.yml
# Common configuration.
AllCops:
# Include common Ruby source files.
@jriverac
jriverac / current_selection_to_note_title.scpt
Created Feb 22, 2017
change curent note name to selection
View current_selection_to_note_title.scpt
activate application "Evernote"
tell application "System Events"
keystroke "c" using command down
tell application "Evernote"
set myNote to selection
if (attachment of item 1 of myNote) exists then
set title of item 1 of myNote to (the clipboard as text)
set nameFile to (filename of attachment of item 1 of myNote)
set saveTID to AppleScript's text item delimiters
set AppleScript's text item delimiters to {"."}
You can’t perform that action at this time.