Skip to content

Instantly share code, notes, and snippets.

View arandilopez's full-sized avatar
:atom:

Arandi López arandilopez

:atom:
View GitHub Profile
Bundler could not find compatible versions for gem "jquery-rails":
In snapshot (Gemfile.lock):
jquery-rails (= 4.1.0)
In Gemfile:
adminpanel (>= 0) ruby depends on
jquery-rails (= 3.0.4) ruby
jquery-rails (>= 0) ruby
@arandilopez
arandilopez / Puppetfile
Created February 24, 2016 02:38
my site.pp
# This file manages Puppet module dependencies.
#
# It works a lot like Bundler. We provide some core modules by
# default. This ensures at least the ability to construct a basic
# environment.
# Shortcut for a module from GitHub's boxen organization
def github(name, *args)
options ||= if args.last.is_a? Hash
args.last
@arandilopez
arandilopez / laravel_completion.zsh
Last active November 23, 2017 00:03
Add zsh completion to laravel artisan comands
# Laravel 5 basic command completion
_laravel5_get_command_list () {
php artisan --no-ansi | sed "1,/Available commands/d" | awk '/^ +[a-z]+/ { print $1 }'
}
_artisan () {
if [ -f artisan ]; then
compadd `_laravel5_get_command_list`
fi
}
nvidia-settings -a '[gpu:0]/GPUFanControlState=1' -a '[fan:0]/GPUTargetFanSpeed=40'
@arandilopez
arandilopez / doom.txt
Created April 27, 2020 22:52 — forked from hjertnes/doom.txt
Doom Emacs Cheatsheet
SPC
SPC: find file
, switch buffer
. browse files
: MX
; EX
< switch buffer
` eval
u universal arg
x pop up scratch