Skip to content

Instantly share code, notes, and snippets.

View Rodrirokr's full-sized avatar

Rodrigo García Rodrirokr

  • Grupo Biz
  • Guadalajara, Mex
View GitHub Profile
alankyshum / Visual Studio Code - Mac.xml
Last active August 11, 2021 03:29
Visual Studio Code (Mac) Keymap Settings for Android Studio/ Intellij
<keymap version="1" name="Visual Studio Code" parent="Visual Studio">
<action id="$Copy">
<keyboard-shortcut first-keystroke="meta c" />
<action id="$Cut">
<keyboard-shortcut first-keystroke="meta x" />
<action id="$Paste">
<keyboard-shortcut first-keystroke="meta v" />
joshbuchea /
Last active May 23, 2024 22:24
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional


remarkablemark /
Last active November 12, 2023 07:52
Classes - ES5 vs ES6

JavaScript Classes - ES5 vs ES6

An example that shows the difference between creating a JavaScript class and subclass in ES5 and ES6.


alsanchez /
Created November 23, 2015 09:42
Install busybox on the x86 Android emulator
wget "" -O /tmp/busybox
adb push /tmp/busybox /data/data/busybox
adb shell "mount -o remount,rw /system && mv /data/data/busybox /system/bin/busybox && chmod 755 /system/bin/busybox && /system/bin/busybox --install /system/bin"
bignimbus / .vimrc
Last active October 12, 2022 11:19
Set iTerm2 title to current buffer in vim
" Set the title of the Terminal to the currently open file
function! SetTerminalTitle()
let titleString = expand('%:t')
if len(titleString) > 0
let &titlestring = expand('%:t')
" this is the format iTerm2 expects when setting the window title
let args = "\033];".&titlestring."\007"
let cmd = 'silent !echo -e "'.args.'"'
execute cmd
trusktr / DefaultKeyBinding.dict
Last active May 21, 2024 19:41
My DefaultKeyBinding.dict for Mac OS X
/* ~/Library/KeyBindings/DefaultKeyBinding.Dict
This file remaps the key bindings of a single user on Mac OS X 10.5 to more
closely match default behavior on Windows systems. This makes the Command key
behave like Windows Control key. To use Control instead of Command, either swap
Control and Command in Apple->System Preferences->Keyboard->Modifier Keys...
or replace @ with ^ in this file.
Here is a rough cheatsheet for syntax.
Key Modifiers