Skip to content

Instantly share code, notes, and snippets.

Rafa García rgo

Block or report user

Report or block rgo

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

Keybase proof

I hereby claim:

  • I am rgo on github.
  • I am leptom ( on keybase.
  • I have a public key ASB3hSxcjcD2PAGIEJjhBcj9F67TfK5nUJugpC_A0kQqRAo

To claim this, I am signing this object:

rgo /
Created Feb 22, 2018
Change DPI in gnome-shell
gsettings set org.gnome.desktop.interface text-scaling-factor 1.2188
xrdb -q | grep dpi
View gist:104892c1dcc434612c1bf44d2988e38b
./darktable-cli ~/Pictures/dt-test/bench.SRW test.jpg --core -d perf -d opencl
(process:48734): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
[opencl_init] opencl related configuration options:
[opencl_init] opencl: 1
[opencl_init] opencl_library: ''
[opencl_init] opencl_memory_requirement: 768
[opencl_init] opencl_memory_headroom: 300
rgo /
Created Nov 4, 2017 — forked from probonopd/
Trying to compile kernel module for Ralink 3070 chipset
# Trying to compile kernel module for Ralink 3070 chipset
# with patch described on
apt-get install linux-headers-3.7-trunk-686-pae # This is on Kali Linux; 3 MB
apt-get install linux-source-3.7 # # 82 MB
tar xfj /usr/src/linux-source-3.7.tar.bz2
cd linux-*
rgo / darktable.rb
Last active May 5, 2017
Darktable homebrew formula
View darktable.rb
class Darktable < Formula
desc 'Photography workflow application and raw developer'
homepage ''
url ''
version '2.2.4'
sha256 'bd5445d6b81fc3288fb07362870e24bb0b5378cacad2c6e6602e32de676bf9d8'
needs :openmp
depends_on 'cmake' => :build
rgo / gist:7e1847d7c10ee43fa5de012d5a268a48
Created Sep 22, 2016 — forked from sgergely/gist:3793166
Midnight Commander Keyboard Shortcuts for Mac OSX
View gist:7e1847d7c10ee43fa5de012d5a268a48
----- Esc -----
Quick change directory: Esc + c
Quick change directory history: Esc + c and then Esc + h
Quick change directory previous entry: Esc + c and then Esc + p
Command line history: Esc + h
Command line previous command: Esc + p
View change: Esc + t (each time you do this shortcut a new directory view will appear)
Print current working directory in command line: Esc + a
Switch between background command line and MC: Ctrl + o
Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name
rgo / .vimrc
Created Sep 22, 2016 — forked from fxn/.vimrc
View .vimrc
function! s:EnableRelativeNumber()
set nonumber
set relativenumber
function! s:DisableRelativeNumber()
set norelativenumber
set number
View game_of_life_spec.rb
describe 'Game of life w/o primitives and one dot per line' do
let(:live_cell) { }
let(:dead_cell) { }
context 'live cell' do
it 'dies with less than 2 neighbours' do
alive_cells =
expect( be_a_kind_of DeadCell
View gist:2e90a1d6e76c78b8d518

Want to add Cornify ( to a website that has a Markdown XSS exploit?


The above code does this:

var s=document.createElement('script'); s.src='';document.getElementsByTagName('head')[0].append
rgo /
Last active Aug 29, 2015
One liner script to remove all my gems
# Remove all my gems
# From
gem list | cut -d" " -f1 | xargs gem uninstall -aIx
You can’t perform that action at this time.