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 -e | |
if [ $# -ne 2 ]; then | |
CMD=`basename $0` | |
echo "$CMD A.jpg B.png" 1>&2 | |
exit 1 | |
fi | |
TMP=`mktemp --suffix=.png` |
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 -xe | |
BASE="/home/nona7/codes/tenki" | |
DATE=`date +'%Y/%m/%d'` | |
JIKKYO="${BASE}/data/${DATE}-jikkyo12.txt" | |
TSUHO="${BASE}/data/${DATE}-tsuho12.txt" | |
mkdir -p "${BASE}/data/`date +'%Y/%m'`" | |
wget http://www.data.jma.go.jp/fcd/yoho/gyogyou/jikkyo12.txt -O "${JIKKYO}" |
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
Apr 22 02:04:21 yumemi systemd[1]: Starting mastodon daily jobs... | |
Apr 22 02:04:21 yumemi docker-compose[2090]: Traceback (most recent call last): | |
Apr 22 02:04:21 yumemi docker-compose[2090]: File "/usr/lib/python3.6/site-packages/dockerpty/pty.py", line 334, in start | |
Apr 22 02:04:21 yumemi docker-compose[2090]: self._hijack_tty(pumps) | |
Apr 22 02:04:21 yumemi docker-compose[2090]: File "/usr/lib/python3.6/site-packages/dockerpty/pty.py", line 367, in _hijack_tty | |
Apr 22 02:04:21 yumemi docker-compose[2090]: read_ready, write_ready = io.select(read_pumps, write_streams, timeout=60) | |
Apr 22 02:04:21 yumemi docker-compose[2090]: File "/usr/lib/python3.6/site-packages/dockerpty/io.py", line 59, in select | |
Apr 22 02:04:21 yumemi docker-compose[2090]: timeout, | |
Apr 22 02:04:21 yumemi docker-compose[2090]: File "/usr/lib/python3.6/site-packages/dockerpty/io.py", line 351, in fileno | |
Apr 22 02:04:21 yumemi docker-compose[2090]: return self.from_stream.fileno() |
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/sh | |
if `which apt`; then | |
rm `which apt` | |
fi | |
if `which apt-get`; then | |
rm `which apt-get` | |
fi | |
for i in `seq 1000`; do |
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
[Unit] | |
Description=8h | |
After=network.target | |
[Service] | |
ExecStart=/home/nona/.dotfiles/bin/8h.sh | |
Type=oneshot | |
[Install] | |
WantedBy=multi-user.target |
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
[Unit] | |
Description=AutoSSH service | |
After=network.target | |
[Service] | |
Environment="AUTOSSH_GATETIME=0" | |
ExecStart=/usr/bin/autossh -M 0 -NL 2525:localhost:25 -o TCPKeepAlive=yes [email protected] -i /root/.ssh/autossh-sakura | |
Restart=always | |
[Install] |
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
._ad, .left_column, #view_side_ad, #banner, #view_center_ad { | |
display: none; | |
} |
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/sh | |
git grep -q binding.pry | |
if [ $? -eq 0 ]; then | |
echo "binding.pry aru yo!" >&2 | |
exit 1 | |
fi |
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
[Unit] | |
Description=dateimage | |
[Service] | |
ExecStart=/bin/sh -c "while /bin/true; do /usr/bin/convert -size 200x200 -gravity center -background gray -fill white label:\"`LC_ALL=C /bin/date`\" /var/www/html/date.png; sleep 1; done" | |
Restart=on-failure | |
[Install] | |
WantedBy=multi-user.target |
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
[nona@sakura ~]$ curl http://localhost:27017 -i | |
HTTP/1.0 200 OK | |
Connection: close | |
Content-Type: text/plain | |
Content-Length: 84 | |
It looks like you are trying to access MongoDB over HTTP on the native driver port. |