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 | |
# Weisi Dai <weisi@cmu.edu> | |
# | |
# Usage: bash dns_ttl.sh 8.8.8.8 | |
# | |
# Dependencies: mtr dig iptables bc | |
DOMAIN=twitter.com | |
DNS=$1 |
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
<?php | |
/* | |
*Creat At 2012/10/25 23:29 | |
*Author: Austin | |
*URL: http://imnerd.org | |
*Mail: i@imnerd.org | |
*Description: Srun Authorize Login & Logout By PHP | |
*/ | |
//网关登陆:http://abc.com/srun.php?do=login |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Srun Login!</title> | |
<script type="text/javascript"> | |
function submit() { | |
document.getElementById('submit').click(); | |
} | |
</script> |