Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
function usage {
echo "Replaces branch with tag in local and remote repos."
echo
echo "Usage:"
echo " $0 <remote> <branch>"
}
if [ -z "$1" ]; then
@pik4ez
pik4ez / dunstrc
Created June 2, 2014 06:22
Dunst config
[global]
font = Monospace 10
# allow a small subset of html markup:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough<s/>
# <u>underline</u>
#
# for a complete reference see http://developer.gnome.org/pango/stable/PangoMarkupFormat.html
@pik4ez
pik4ez / nginx.conf
Created October 28, 2013 17:21
MODx Revo 2.2 nginx config.
server {
server_name modx.local;
charset utf-8;
error_log /var/log/nginx/modx.error.log;
access_log /var/log/nginx/modx.access.log;
root /var/www/modx;
client_max_body_size 30M;
index index.php;
location / {
@pik4ez
pik4ez / gist:6914108
Last active August 31, 2023 21:34
Vimium settings: remap some defaults, add cyrillic support. Yammi! Cyrillic support for vimium. Vimium cyrillic. Buy online.
" remap (en)
map f scrollFullPageDown
map b scrollFullPageUp
map a LinkHints.activateMode
map A LinkHints.activateModeToOpenInNewTab
map p map з performBackwardsFind
" map cyrillic
map о scrollDown
map л scrollUp