# Add sign-off
git filter-branch --msg-filter "cat - && echo && echo 'Signed-off-by: Name <[email protected]>'" HEAD~N..HEAD
# Remove sign-off
git filter-branch --msg-filter "sed /^Signed-off-by:/d" HEAD~N..HEAD
# GPG sign
git filter-branch -f --commit-filter 'git commit-tree -S "$@"' HEAD~N..HEAD
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
ffmpeg -i animated.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" video.mp4 |
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
/*------------------------------------------------------ | |
* Don't hide post count | |
*------------------------------------------------------*/ | |
.posts_by_id{ | |
display:initial!important; | |
font-weight:bold; | |
} | |
/*------------------------------------------------------ | |
* Fake yous are obvious |
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
/* | |
* q.js v2018.3-6.1 | |
* http://anonsw.github.io/8chjs/ | |
*/ | |
// User Settings | |
var anonsw = { | |
qflair: '', // Examples: REAL, → | |
qcolor: '#ff0', | |
youcolor: '#cff', | |
scrollcolor: 'rgba(153, 153, 153, 0.6)', |
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
# /etc/skel/.bashrc | |
if [[ $- != *i* ]] ; then | |
# Shell is non-interactive. Be done now! | |
return | |
fi | |
exec /usr/local/bin/zsh |
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
Host github.com | |
User git | |
Hostname github.com | |
PreferredAuthentications publickey | |
IdentityFile /home/user/.ssh/id_rsa |
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
#!/usr/bin/env sh | |
_install_vsc() { | |
echo "Re-entering chroot to complete installation..." | |
sudo enter-chroot -n ${1} sudo -S sh -c "curl -L https://go.microsoft.com/fwlink/?LinkID=760865 > /tmp/code-insiders.deb; sudo dpkg -i /tmp/code-insiders.deb; sudo apt-get install -f; rm /tmp/code-insiders.deb;"; | |
if [ $? -eq 0 ]; then | |
echo "Code install script complete."; | |
else | |
echo "Code install script failed."; | |
exit 1; |
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
## arrow up | |
"\e[A":history-search-backward | |
## arrow down | |
"\e[B":history-search-forward |
Head on over to your YouTube live Events page (https://www.youtube.com/my_live_events).
Create a new live event that is unlisted (or private) and of Custom type.
Under Basic ingestion choose 1500 Kbps - 4000 kbps (720p).
Check the Enable 60fps box.
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
#!/usr/bin/env sh | |
_crew_install() { | |
wget -q -O - https://raw.github.com/skycocker/chromebrew/master/install.sh | bash | |
} | |
_crew_install |
NewerOlder