- maim
- xclip
Set this on your i3 config file ~/.i3/config
# Screenshots
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <!-- Primary Meta Tags --> | |
| <title>{title}</title> | |
| <meta name="title" content={title} /> | |
| <meta name="description" content={description} /> | |
| <link rel="canonical" href={canonicalURL} /> |
| #!/bin/bash | |
| unz (){ | |
| [ -z "$1" ] && echo "no file to unzip :|" && exit 1 | |
| name="${1%.*}" | |
| echo "----------------------" | |
| echo "uncompress ----------- $1" | |
| echo "----------------------" | |
| unzip $1 -d $name |
| # study stream aliases | |
| # Requires https://github.com/caarlos0/timer to be installed. spd-say should ship with your distro | |
| declare -A pomo_options | |
| pomo_options["work"]="45" | |
| pomo_options["break"]="10" | |
| pomodoro () { | |
| if [ -n "$1" -a -n "${pomo_options["$1"]}" ]; then | |
| val=$1 |
| function showcolors256() { | |
| local row col blockrow blockcol red green blue | |
| local showcolor=_showcolor256_${1:-bg} | |
| local white="\033[1;37m" | |
| local reset="\033[0m" | |
| echo -e "Set foreground color: \\\\033[38;5;${white}NNN${reset}m" | |
| echo -e "Set background color: \\\\033[48;5;${white}NNN${reset}m" | |
| echo -e "Reset color & style: \\\\033[0m" | |
| echo |
| #!/bin/python | |
| # -*- coding: utf-8 -*- | |
| import json | |
| import sys | |
| # Constant vars | |
| if len(sys.argv) != 2: | |
| print('Error!! -- No file specified ') | |
| print('\t get_composer_deps.py <path/to/vendor/composer/installed.json>') |
| [Desktop Entry] | |
| Version=1.0 | |
| Name=Firefox Developer Edition | |
| Comment=Browse the Web | |
| Exec=/opt/firefox/firefox --class="firefox-developer" -P dev-edition-default %u | |
| StartupNotify=true | |
| StartupWMClass=firefox-developer | |
| Icon=/opt/firefox/browser/icons/mozicon128.png | |
| Terminal=false |
| http://yysource.com/2011/03/debugging-with-css-outline-all-elements/ | |
| * { outline: 2px dotted red } | |
| * * { outline: 2px dotted green } | |
| * * * { outline: 2px dotted orange } | |
| * * * * { outline: 2px dotted blue } | |
| * * * * * { outline: 1px solid red } | |
| * * * * * * { outline: 1px solid green } | |
| * * * * * * * { outline: 1px solid orange } | |
| * * * * * * * * { outline: 1px solid blue } |
| var Youtube = (function () { | |
| 'use strict'; | |
| var video, results; | |
| var getThumb = function (url, size) { | |
| if (url === null) { | |
| return ''; | |
| } | |
| size = (size === null) ? 'big' : size; |