I hereby claim:
- I am maienm on github.
- I am maienm (https://keybase.io/maienm) on keybase.
- I have a public key ASAd6ZWFhjoIUWu-_VWlCpG8aRQ45M0Ksm0KBjQu_K1Afwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// ==UserScript== | |
// @name GitLab Utils | |
// @namespace https://gist.github.com/MaienM/d6131f286942e530f4b4267162178d80 | |
// @updateUrl https://gist.githubusercontent.com/MaienM/d6131f286942e530f4b4267162178d80/raw/ | |
// @version 0.1 | |
// @description GitLab Utilities | |
// @author MaienM | |
// @require https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.18.2/babel.js | |
// @require https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.16.0/polyfill.js | |
// @require https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.4/lodash.min.js |
// ==UserScript== | |
// @name Better Bitbucket | |
// @namespace https://gist.github.com/MaienM/e6e81d46a2acaf12ac73e365b53e8877 | |
// @updateUrl https://gist.githubusercontent.com/MaienM/e6e81d46a2acaf12ac73e365b53e8877/raw/ | |
// @version 0.5.1 | |
// @description Improve the interface of Bitbucket, with a focus on code review | |
// @author MaienM | |
// @match https://bitbucket.org/*/pull-requests/* | |
// @match https://bitbucket.org/*/commits/* | |
// @match https://bitbucket.org/* |
version: '2' | |
# echo 'client_max_body_size 0;' | sudo tee /srv/nginx/vhost.d/docker.waxd.nl_location | |
# docker run --rm -it --entrypoint htpasswd registry:2 -n <username> | grep -vi password | sudo tee -a /srv/nginx/htpasswd/docker.waxd.nl | |
services: | |
registry: | |
restart: unless-stopped | |
image: registry | |
volumes: |
// ==UserScript== | |
// @name Thuisbezorgd | |
// @version 0.1 | |
// @author MaienM | |
// @match http://www.thuisbezorgd.nl/* | |
// ==/UserScript== | |
// Prevent the site from automagically navigating to restaurants you click, so you can open stuff in a new tab. | |
$('.restaurant').attr('onclick', ''); |
// ==UserScript== | |
// @name Pocketcasts Utils | |
// @namespace https://gist.github.com/MaienM/e477e0f4e8ec3c1836a7 | |
// @updateURL https://gist.githubusercontent.com/MaienM/e477e0f4e8ec3c1836a7/raw/ | |
// @version 1.7.1 | |
// @description Some utilities for pocketcasts | |
// @author MaienM | |
// @match https://play.pocketcasts.com/* | |
// @grant GM_info | |
// @grant GM_getValue |
html, body, form, #preview, .central-element { | |
height: 100%; | |
} | |
#preview, | |
.central-element { | |
width: 45%; | |
float: left; | |
margin: 0 !important; | |
margin-left: 2.5% !important; |
inoremap <silent> = =<Esc>:call <SID>ealign()<CR>a | |
function! s:ealign() | |
let p = '^.*=\s.*$' | |
if exists(':Tabularize') && getline('.') =~# '^.*=' && (getline(line('.')-1) =~# p || getline(line('.')+1) =~# p) | |
let column = strlen(substitute(getline('.')[0:col('.')],'[^=]','','g')) | |
let position = strlen(matchstr(getline('.')[0:col('.')],'.*=\s*\zs.*')) | |
Tabularize/=/l1 | |
normal! 0 | |
call search(repeat('[^=]*=',column).'\s\{-\}'.repeat('.',position),'ce',line('.')) | |
endif |