via: http://www.farinspace.com/codeigniter-nginx-rewrite-rules/
curl -I apigee.jdorfmanqa.netdna-cdn.com/remove-slashes/
HTTP/1.1 301 Moved Permanently
Location: http://apigee.jdorfmanqa.netdna-cdn.com/remove-slashes
$ curl -I netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css | |
HTTP/1.1 200 OK | |
Date: Fri, 27 Sep 2013 18:00:54 GMT | |
[clipped] | |
Access-Control-Allow-Origin: * | |
X-Hello-Human: You should work for us! Email: jdorfman+theheader@maxcdn.com or @MaxCDNDeveloper on Twitter | |
X-Cache: HIT | |
Accept-Ranges: bytes |
~/github/bootstrap/bootstrap-cdn$ tree public/ | |
public/ | |
├── bootstrap -> twitter-bootstrap | |
├── bootswatch | |
│ ├── 2.1.0 | |
│ │ ├── amelia | |
│ │ │ ├── bootstrap.min.css | |
│ │ │ └── bootstrap.no-icons.min.css | |
│ │ ├── cerulean | |
│ │ │ ├── bootstrap.min.css |
SELECT * From wp_terms wt | |
INNER JOIN wp_term_taxonomy wtt ON wt.term_id=wtt.term_id WHERE wtt.taxonomy='post_tag' | |
ORDER BY `wtt`.`count` DESC |
{ | |
"code": 200, | |
"data": { | |
"content_length": 97339, | |
"content_type": "text/css; charset=utf-8", | |
"file": "/bootstrap/3.0.0/css/bootstrap.min.css", | |
"headers": "HTTP/1.1 200 OK\r\nDate: Sat, 24 Aug 2013 02:47:17 GMT\r\nServer: Apache\r\nLast-Modified: Wed, 21 Aug 2013 04:00:24 GMT\r\nAccept-Ranges: none\r\nVary: Accept-Encoding,User-Agent\r\nCache-Control: max-age=31536000, public, must-revalidate, proxy-revalidate, public, must-revalidate, proxy-revalidate\r\nExpires: Sun, 24 Aug 2014 02:47:17 GMT\r\nX-Powered-By: NetDNA - The Science of Acceleration\u2122\r\nX-Hello-Human: You must be bored. You should work for us. Email jdorfman+theheader@netdna.com or @NetDNADeveloper on the twitter\r\nPragma: public\r\nContent-Length: 97339\r\nContent-Type: text/css; charset=utf-8\r\n\r\n", | |
"http_code": 200, | |
"md5": "4eadbf7d1721bb2729e398595bc7f0bc", | |
"result": [ |
via: http://www.farinspace.com/codeigniter-nginx-rewrite-rules/
curl -I apigee.jdorfmanqa.netdna-cdn.com/remove-slashes/
HTTP/1.1 301 Moved Permanently
Location: http://apigee.jdorfmanqa.netdna-cdn.com/remove-slashes
# mysqldumpslow -s c -t 30 /data/mysql/logs/mysql.mysql.slow | |
Reading mysql slow query log from /data/mysql/logs/mysql.mysql.slow | |
Count: 962 Time=0.01s (6s) Lock=0.00s (0s) Rows=0.3 (323), redacted user@host info | |
select * from pixelpost_pixelpost where datetime like 'S' order by datetime desc limit N | |
Count: 468 Time=0.00s (0s) Lock=0.00s (0s) Rows=3.0 (1404), redacted user@host info | |
SELECT ROUND(COUNT(*)/N,N) AS rank, tag, COUNT(*) as cnt | |
FROM pixelpost_pixelpost AS p, pixelpost_tags AS t | |
WHERE t.alt_tag LIKE 'S' AND p.id = t.img_id AND p.datetime<='S' | |
GROUP BY tag |
http://blog.jquery.com/ | |
http://blog.jquerymobile.com/ | |
http://blog.jqueryui.com/ | |
http://bugs.jquery.com/ | |
http://bugs.jqueryui.com/ | |
http://forum.jquery.com/ | |
http://jquerymobile.com/ | |
http://meetups.jquery.com/ | |
http://plugins.jquery.com/ | |
http://sizzlejs.com/ |
<!-- Latest compiled and minified CSS --> | |
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc2/css/bootstrap.min.css" rel="stylesheet"> | |
<!-- Latest compiled and minified JavaScript --> | |
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc2/js/bootstrap.min.js"></script> | |
<!-- Latest Glyphicons minified CSS --> | |
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc2/css/bootstrap-glyphicons.css" rel="stylesheet"> |
Edit: ~/.bashrc
or ~/.bash_profile
function ttlchecker () {
echo "Google:"; dig $1 @8.8.8.8 |grep -A1 "ANSWER SECTION" |sed '/;;/d' && dig $1 @8.8.4.4 |grep -A1 "ANSWER SECTION" |sed '/;;/d';
echo "----------------------------"
echo "Level 3 (4.2.2.x):"; dig $1 @4.2.2.1 |grep -A1 "ANSWER SECTION" |sed '/;;/d' && dig $1 @4.2.2.2 |grep -A1 "ANSWER SECTION" |sed '/;;/d';
echo "----------------------------"
echo "OpenDNS:"; dig $1 @208.67.222.222 |grep -A1 "ANSWER SECTION" |sed '/;;/d' && dig $1 @208.67.220.220 |grep -A1 "ANSWER SECTION" |sed '/;;/d';
}