This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :syntax on | |
| :filetype indent plugin on | |
| :set filetype=python | |
| :set tabstop=4 | |
| :set expandtab | |
| :set shiftwidth=4 | |
| :set softtabstop=4 | |
| :set modeline |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| images=$(./stale_image_tags.sh my.repo 3) | |
| for image in $images; do | |
| docker rmi $image | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| unbind Up | |
| unbind Right | |
| unbind Left | |
| unbind Down | |
| bind l select-pane -R | |
| bind h select-pane -L | |
| bind j select-pane -D | |
| bind k select-pane -U | |
| unbind C-b | |
| set -g prefix C-a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1fcaf9fb0cf37b186a79 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| OUTPUT=$(docker ps --filter "status=running" --format "{{.Names}}") | |
| NAMES=($OUTPUT) | |
| i=1 | |
| echo "Please choose the container to BASH into:" | |
| for name in $OUTPUT; do | |
| echo "$i) $name" | |
| (( i++ )) | |
| done |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mo givo meelo ibea igoa ogev pd etaono voro unueto oda dte inuopo ubiu onei ibou vuga uola vmu ir mee zea aneni rf tooka fer pae uke se omiezi afe ia ae urie ii ria nae tot okeb fvi oguru firi edis ikie muo goiso poaki eu vul ubao kt zeera laisu nra imuoze lf iaga fu gte ubaoti esin zuufu avi sr ua iziaka odoimo mio io rlu ozofo veka kela uler ng pa ii unui gafi mab ek otez lfu ou vbe neza udi vebo leso kao toke unoe oofo epuese ifefa rl el ne guesa opefi ip nozu er omu ekonu zab ikeifo emaagi orise ateisa mzo pse ufua pre ipaso figi dm sub zf pabo kobo biulo tui agal ilu sate muf loo lnu geu io uvena bam udoa ifi suida ia apua okaz tuki uzoefa ouvu ii ele opoofe vusu gu koono ulaozo bpu un ekomi afeu ega op uodo kz usap ruuno gii iko tif guf ozami im bv ikus loo ifiu ee leu ida kao aeko vueda dou rera zar zt sn anib orup afoomo uteo lu ozaufa bogo epa uo lefe sas izoa fu olipa soko avegi val tte fdu eba peu ireg vovo oida rova nano lke ine zai eta guro bov poudu rg aore tu ra re zubi kno nia foza ruori fp ag |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| import itertools | |
| from random import choice | |
| consonants = "rtpklgfdszbvnm" | |
| vowels = ["a", "e", "i", "o", "u"] | |
| def half_syl(): | |
| return choice(list(consonants)) + choice(vowels) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # This pre-commit hook checks that you havn't left and DONOTCOMMIT tokens in | |
| # your code when you go to commit. | |
| # | |
| # To use this script copy it to .git/hooks/pre-commit and make it executable. | |
| # | |
| # This is provided just as an example of how to use a pre-commit hook to | |
| # catch nasties in your code. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # This pre-commit hook checks that you havn't left and DONOTCOMMIT tokens in | |
| # your code when you go to commit. | |
| # | |
| # To use this script copy it to .git/hooks/pre-commit and make it executable. | |
| # | |
| # This is provided just as an example of how to use a pre-commit hook to | |
| # catch nasties in your code. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Google Search Result Markers | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Adds prefix to Google search result links, to make it easier to hit them with Vimium | |
| // @author Assaf Lavie | |
| // @match https://*.google.co.il/* | |
| // @match https://*.google.com/* | |
| // @require http://code.jquery.com/jquery-latest.js | |
| // @grant none |