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 | |
seq 2 32 | xargs printf %02d\\n | while read line | |
do | |
echo ug$line | |
ssh -n ug$line "ps aux | grep gem5.opt | grep -v grep" | |
done |
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
#!/usr/bin/env python | |
# -*- coding: UTF-8 -*- | |
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: | |
# work with python 2.7 | |
import subprocess | |
import select | |
import Queue | |
Task_Queue = Queue.Queue() |
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
curl -x 127.0.0.1:5203 http://hot.vrs.sohu.com/ipad1406916_4619571893905_4617237.m3u8 | |
#EXTM3U | |
#EXT-X-TARGETDURATION:30 | |
#EXT-X-VERSION:3 | |
#EXTINF:7.759, | |
http://220.181.61.229/ipad?file=/60/81/YrQ60nrYyBtPFrCCSAcyj6.mp4&start=0&end=7.679&ch=tv&cateCode=101104;101106;101121&uid=null&plat=null&pt=-1&pg=null&vid=1406916&eye=0&sig=UL6geJYn4etegwZ1NduiB-6QfUuGpfNm | |
#EXTINF:25.161, | |
http://220.181.61.229/ipad?file=/60/81/YrQ60nrYyBtPFrCCSAcyj6.mp4&start=7.679&end=32.84&ch=tv&cateCode=101104;101106;101121&uid=null&plat=null&pt=-1&pg=null&vid=1406916&eye=0&sig=UL6geJYn4etegwZ1NduiB-6QfUuGpfNm | |
#EXTINF:26.159, | |
http://220.181.61.229/ipad?file=/60/81/YrQ60nrYyBtPFrCCSAcyj6.mp4&start=32.84&end=58.999&ch=tv&cateCode=101104;101106;101121&uid=null&plat=null&pt=-1&pg=null&vid=1406916&eye=0&sig=UL6geJYn4etegwZ1NduiB-6QfUuGpfNm |
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
#!/usr/bin/env python | |
# -*- coding: UTF-8 -*- | |
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: | |
# work with python 2.7 | |
# Author: Landon@CosHiM <[email protected]> | |
# Version: 0.1 Beta | |
import urllib2 | |
import re | |
import sys |
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
#!/usr/bin/env python | |
# -*- coding: UTF-8 -*- | |
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: | |
# work with python 2.7 | |
import curses | |
import time | |
import sys | |
color = 2 | |
space = '\x1b[48;5;%dm \x1b[0m' % color |
NewerOlder