Add a custom search engine in chrome with this URL
javascript:location='https://www.google.com/search?q=site:' + escape(location.hostname) + ' %s'
Add a custom search engine in chrome with this URL
javascript:location='https://www.google.com/search?q=site:' + escape(location.hostname) + ' %s'
# counting the lines in pipe | |
cmd | { I=0; while read; do printf "$((++I))\r"; done; echo ""; } |
Source: https://github.com/philc/vimium/wiki/Search-Engines
g: https://www.google.com/search?q=%s Google gi: https://www.google.com/search?tbm=isch&q=%s Google Images gm: https://www.google.com/maps?q=%s Google Maps recent: https://www.google.com/search?hl=en&tbo=1&tbs=qdr:y&q=%s Google (last year only) translate: http://translate.google.com/?source=osdd#auto|auto|%s Google Translator w: http://en.wikipedia.org/wiki/Special:Search?search=%s Wikipedia d: https://duckduckgo.com/?q=%s DuckDuckGo a: http://www.amazon.com/exec/obidos/external-search/?field-keywords=%s&mode=blended Amazon
$ grubby --args="user_namespace.enable=1" --update-kernel=$(grubby --default-kernel)
$ reboot
....
$ useradd --system --shell /bin/false --no-create-home dockremap
$ echo "dockremap:165536:65536" | tee /etc/subuid > /etc/subgid
$ cat /etc/subuid
dockremap:165536:65536
export PS1='\[\033]0;$TITLEPREFIX:${PWD//[^[:ascii:]]/?}\007\]\n\[\033[32m\]\u@\h \[\033[35m\]$MSYSTEM \[\033[33m\]\w\[\033[36m\]`__git_ps1`\[\033[0m\]\n$ ' |
{ | |
"http.proxyStrictSSL": false, | |
"http.proxy": "http://user:pass@proxy" | |
} |
#!/bin/bash | |
OUT=${1-output.aac} | |
ffmpeg -f avfoundation -ac 2 -i :0 -c:a aac -ab 96k $OUT |
I hereby claim:
To claim this, I am signing this object:
# Redirect /path to sub. | |
RewriteEngine on | |
RewriteCond %{REQUEST_URI} =/path [NC] | |
RewriteCond %{HTTPS}s ^on(s)|off | |
RewriteCond http%1://%{HTTP_HOST} ^(https?://)(www\.)?(.+)$ | |
RewriteRule ^ %1sub.%3 [R=301,L] |
#!/usr/bin/python | |
""" | |
Downloads and creates a CSV file from IMDB Top 250 list | |
""" | |
from pyquery import PyQuery as pq | |
import csv | |
import datetime | |
# for UnicodeWriter | |
import codecs | |
import cStringIO |