$ go get -d -u gobot.io/x/gobot/...
$ cd /tmp
$ wget https://s3.amazonaws.com/gort-io/0.9.0/gort_0.9.0_linux_amd64.tar.gz
$ tar xvfz gort_0.9.0_linux_amd64.tar.gz
#!/bin/sh | |
# | |
# msys2-sshd-setup.sh — configure sshd on MSYS2 and run it as a Windows service | |
# | |
# Please report issues and/or improvements to Sam Hocevar <[email protected]> | |
# | |
# Prerequisites: | |
# — MSYS2 itself: http://sourceforge.net/projects/msys2/ | |
# — admin tools: pacman -S openssh cygrunsrv mingw-w64-i686-editrights | |
# |
# IPv4 | |
curl -# -v -4 http://chpsxoops.dcs.tn.edu.tw/1gb 2>&1 > /dev/null | |
# IPv6 | |
curl -# -v -6 http://chpsxoops.dcs.tn.edu.tw/1gb 2>&1 > /dev/null |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width" /> | |
<title></title> | |
<script src="//code.jquery.com/jquery-latest.min.js"></script> | |
</head> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width" /> | |
<title>PM2.5</title> | |
</head> | |
<body> |
#!/bin/sh | |
chars=$(cat ../10.txt | fold -w1 | sort | uniq) | |
for c in $chars; do | |
convert -background none -fill red -font /opt/local/fonts/lyshie/TW-Kai-98_1.ttf -pointsize 64 label:"$c" "$c.png" | |
done |
div.all_cards { | |
margin: 0px !important; | |
} | |
div.signin_card { | |
margin: 0px !important; | |
padding: 1px !important; | |
} | |
div.signin_card dl:nth-child(1) { |
# Add your Python code here. E.g. | |
from microbit import * | |
uart.init(115200) | |
x = 0 | |
pin0.write_analog(80) | |
sleep(1000) | |
while True: |
$ printf "admin\n" | sshfs [email protected]:/ ~/mnt -o port=2222,password_stdin
$ rsync -avH --progress ~/mnt/storage/extSdCard/DCIM .