Skip to content

Instantly share code, notes, and snippets.

@gerardroche
gerardroche / ublock-origin-surfing-x-blind.txt
Last active October 14, 2024 20:14
uBlock Origin surfing X blind filters
! Moved to https://github.com/gerardroche/surfing-x-blind
@gerardroche
gerardroche / exec.py
Created September 23, 2016 15:07
Default/exec.py (Sublime Text 3124 Default Package)
import collections
import functools
import html
import os
import subprocess
import sys
import threading
import time
import sublime
@gerardroche
gerardroche / gist:cd1dd9cb73b9c84c89f7a0def1ca7779
Last active July 8, 2016 12:08
sublime-generate-package-file-icon-preferences
#!/bin/sh
set -e
unset CDPATH
unset IFS
readonly SOURCE=$(readlink -nf "$0")
readonly SOURCE_PATH=$(dirname "$SOURCE")
readonly SOURCE_NAME=$(basename "$SOURCE")
show_usage() {
# 301 https://github.com/gerardroche/dotfiles
//////////////////
// vim_hardtime //
//////////////////
// { "keys": ["left"], "command": "null", "context": [ { "key": "setting.command_mode", "operand": true } ]},
// { "keys": ["left"], "command": "null", "context": [ { "key": "setting.command_mode", "operand": false }, { "key": "setting.is_widget", "operand": false }, { "key": "auto_complete_visible", "operand": false } ]},
// { "keys": ["down"], "command": "null", "context": [ { "key": "setting.command_mode", "operand": true } ]},
// { "keys": ["down"], "command": "null", "context": [ { "key": "setting.command_mode", "operand": false }, { "key": "setting.is_widget", "operand": false }, { "key": "auto_complete_visible", "operand": false } ]},
// { "keys": ["up"], "command": "null", "context": [ { "key": "setting.command_mode", "operand": true } ]},
// { "keys": ["up"], "command": "null", "context": [ { "key": "setting.command_mode", "operand": false }, { "key": "setting.is_widget", "operand": false }, { "key": "auto_c
#!/bin/sh
set -e
unset CDPATH
unset IFS
init_strip_require_once() {
current_dir_name="$(basename "$PWD")"
# 301 https://github.com/gerardroche/dotfiles
# 301 https://github.com/gerardroche/dotfiles
@gerardroche
gerardroche / sublime-debug
Last active August 1, 2016 18:57
Run Sublime Text with debug flags
# 301 https://github.com/gerardroche/dotfiles