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
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>
<action id="$Cut">
<keyboard-shortcut first-keystroke="meta x" />
</action>
<action id="$Paste">
<keyboard-shortcut first-keystroke="meta v" />
</action>
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 12, 2024 08:14
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

Example

@remarkablemark
remarkablemark / README.md
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.

Reference

@alsanchez
alsanchez / install_busybox.sh
Created November 23, 2015 09:42
Install busybox on the x86 Android emulator
#!/bin/bash
wget "http://www.busybox.net/downloads/binaries/latest/busybox-i486" -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
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
redraw!
@trusktr
trusktr / DefaultKeyBinding.dict
Last active May 11, 2024 02:46
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