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
#!/bin/bash | |
cd /var/www/repository | |
apt-ftparchive packages . > Packages | |
cat Packages|gzip -9 > Packages.gz | |
apt-ftparchive release . > Release | |
rm -f Release.gpg | |
gpg -abs -o Release.gpg Release | |
# Access the repository with: deb http://server.url/repository ./ |
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
#!/bin/bash | |
# Avoid nesting tmuces | |
if [ -n "${TMUX}" ]; then | |
echo "Cannot run this inside tmux." | |
exit | |
fi | |
# Help | |
if [ -z "$1" ] ; then |
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
# 0 is too far from ` ;) | |
set -g base-index 1 | |
# Automatically set window title | |
set-window-option -g automatic-rename on | |
set-option -g set-titles on | |
set -g default-terminal screen-256color | |
# Use vi-style key bindings for copy mode and status prompt |
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
0.0.0.0 abtest.mistat.intl.xiaomi.com | |
0.0.0.0 abtest.mistat.xiaomi.com | |
0.0.0.0 ad1.xiaomi.com | |
0.0.0.0 adinfo.ra1.xlmc.sec.miui.com | |
0.0.0.0 ad.mi.com | |
0.0.0.0 adv.sec.miui.com | |
0.0.0.0 adv.sec.miui.com | |
0.0.0.0 ad.xiaomi.com | |
0.0.0.0 api.account.xiaomi.com | |
0.0.0.0 api.admob.xiaomi.com |
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
absl-py==1.2.0 | |
apache-beam==2.40.0 | |
appdirs==1.4.4 | |
appnope==0.1.3 | |
astroid==2.11.7 | |
asttokens==2.2.1 | |
astunparse==1.6.3 | |
async-timeout==4.0.2 | |
attrs==22.2.0 | |
audioread==3.0.0 |
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
Put these two files in the same place, then name your presentation `main.md` and your speaker notes `speaker-notes.md`. Make sure they have the same number of slides. | |
Requires kitty 0.36+ |