This file contains 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
repoPaths: | |
BackMarket/:repo: ~/bm/:repo | |
:owner/:repo: ~/dev/:owner/:repo | |
prSections: | |
- title: My Pull Requests | |
filters: is:open author:@me | |
- title: Open/checkout | |
filters: is:open author:@me author:jl-bm author:ArnaudLasnier-BM author:bmyandrei | |
- title: Merged/checkout |
This file contains 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
# Git | |
alias ga='git add' | |
alias gb='git branch' | |
alias gc='git commit' | |
alias gcm='git commit -m' | |
alias gcf='git commit --amend --reuse-message HEAD' | |
alias gd='git diff' | |
alias gdc='git diff --cached' | |
alias gl='git log --graph --date=short' | |
alias gls='git log --graph --date=short --stat' |
This file contains 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 requests | |
from bs4 import BeautifulSoup | |
from feedgen.feed import FeedGenerator | |
class litteratureaudioScrapper(object): | |
def __init__(self): | |
self.bootstrap_url = 'http://www.litteratureaudio.com/classement-de-nos-livres-audio-gratuits-les-plus-vus' |
This file contains 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
for file in \[*; do | |
mv $file ${file##\[*\] } | |
done |
This file contains 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 cowsay | |
from random import choice | |
ltype=[i for i in dir(cowsay) if not i.startswith('__') and i not in ['about','char_names','chars','module']] | |
l='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
l='ABCDEFILMNOPRSTUV' | |
eval(f'cowsay.{choice(ltype)}("{choice(l)}")') |
This file contains 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
netcat -l -p 4444 < fifo | tee file | netcat HOST PORT > fifo |
This file contains 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
git reset --hard && git clean -df |