Option + Delete
Send Hex Codes
0x1B 0x17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Preloadable | |
extend ActiveSupport::Concern | |
# A very common issue with APIs is that we want to preload relationships to | |
# avoid N+1 queries, something like this: /api/projects?include=users | |
# and this works well for attributes like the user name or their email, but | |
# what happens when you try to access their avatar? Yup. N+1. | |
# JSON:API, being a more generic standard, doesn't really know or give you | |
# tools to deal with Rails relationships and preloads easily. While this makes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unmap / | |
unmap m | |
unmap ` | |
unmap o | |
unmap O | |
unmap b | |
unmap B | |
unmap g0 | |
unmap g$ | |
unmap n |
I hereby claim:
- I am arturopuente on github.
- I am arturopuente (https://keybase.io/arturopuente) on keybase.
- I have a public key whose fingerprint is 5273 E705 07A9 9BC3 30EF 91EA 7753 66B7 6912 CF6B
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset%C(red)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' --abbrev-commit" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# gem install ruby-mp3info | |
require 'mp3info' | |
# Formato: # Pista [espacio] Nombre | |
# Ejemplo de filtros: | |
# Antes: 05 - Run Run Run - The Velvet Underground.mp3 | |
# filters = ["- ", " - The Velvet Underground"] | |
# Después: 05 Run Run Run.mp3 | |
def prepare(name) |