Skip to content

Instantly share code, notes, and snippets.

View crazyboycjr's full-sized avatar
🎯
Focusing

Jingrong Chen crazyboycjr

🎯
Focusing
  • Duke University
  • Durham, NC
  • 19:13 (UTC -04:00)
View GitHub Profile
@crazyboycjr
crazyboycjr / deck-conf
Last active October 15, 2022 23:06
tinc configuration collection. welcome to peer with me~
Name = deck
Mode = switch
Interface = vpn0
ConnectTo = vps2
ConnectTo = vps1
LocalDiscovery = yes
@crazyboycjr
crazyboycjr / 10-mail.conf
Created April 24, 2017 15:36
postfix & dovecot config
##
## Mailbox locations and namespaces
##
# Location for users' mailboxes. The default is empty, which means that Dovecot
# tries to find the mailboxes automatically. This won't work if the user
# doesn't yet have any mail, so you should explicitly tell Dovecot the full
# location.
#
# If you're using mbox, giving a path to the INBOX file (eg. /var/mail/%u)
@crazyboycjr
crazyboycjr / .sh
Created January 10, 2017 07:57
学校实验室有线命令行联网
# provide by @ihciah
# fill username with any valid studentID
curl 10.108.255.249/cgi-bin/do_login -d 'username=14307130118' -d 'password={TEXT}' -d 'type=1'
#$ ping www.baidu.com
#PING www.a.shifen.com (119.75.217.109) 56(84) bytes of data.
#64 bytes from 119.75.217.109 (119.75.217.109): icmp_seq=1 ttl=50 time=23.5 ms
#... ...
@crazyboycjr
crazyboycjr / auto-connect.service
Last active April 17, 2017 11:34
自动连接寝室电脑并连接ss
[Unit]
Description=Network Auto Connect Tool
DefaultDependencies=no
After=sshd.service NetworkManager.service
[Service]
Type=simple
RestartSec=3
Restart=on-failure
ExecStart=/home/cjr/Developing/autoconnect/auto-connect.sh