I hereby claim:
- I am hub33k on github.
- I am hub33k (https://keybase.io/hub33k) on keybase.
- I have a public key ASDFLvI2UCn-fUiGEYQGPFdVLsuEVHwjUtovKDr4Y14t8go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| // Source: https://gitgud.io/billyo/Pesky-Adblock | |
| //Licence: GPL3+ https://www.gnu.org/licenses/gpl.txt | |
| //add something to your page that looks like an ad | |
| document.body.innerHTML += "<div id='adTeaser' style='width:10px;'></div>" | |
| //block usage of the site if the preceeding ad is detected | |
| window.setTimeout(function(){ | |
| if (document.querySelector('#adTeaser').clientWidth === 10) { |
| " color schemes | |
| Plugin 'dracula/vim' | |
| "Plugin 'jnurmine/Zenburn' | |
| "Plugin 'altercation/vim-colors-solarized' | |
| Plugin 'mhinz/vim-startify' | |
| " utils | |
| Plugin 'Valloric/YouCompleteMe' | |
| Plugin 'scrooloose/nerdtree' |
| " !! FIX !! | |
| " comment line in /etc/vimrc - runtime! archlinux.vim | |
| " https://www.reddit.com/r/vim/comments/2ib9au/why_does_exiting_vim_make_the_next_prompt_appear/?st=je70fe98&sh=8b9787d4 | |
| " vim -u NONE - do not add extra space -- vim -u ~/.vimrc | |
| """ | |
| " https://realpython.com/blog/python/vim-and-python-a-match-made-in-heaven/ | |
| " https://github.com/grigio/vim-sublime/blob/master/vimrc | |
| " https://github.com/amix/vimrc/blob/master/vimrcs/basic.vim |
| " https://github.com/1995eaton/chromium-vim | |
| set smoothscroll |
| function get_browser_info() { | |
| var ua = navigator.userAgent, tem, M = ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; | |
| if (/trident/i.test(M[1])) { | |
| tem = /\brv[ :]+(\d+)/g.exec(ua) || []; | |
| return {name: 'IE ', version: (tem[1] || '')}; | |
| } | |
| if (M[1] === 'Chrome') { | |
| tem = ua.match(/\bOPR\/(\d+)/) | |
| if (tem != null) { | |
| return {name: 'Opera', version: tem[1]}; |