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
| # For all files in urls.txt, check if the url loads correctly, and print it and the error message if # not | |
| cat urls.txt | ruby -nle 'require "open-uri"; begin; open($_) {} rescue print $_ + " : " + $!; end' |
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
| ggrep -lIUr "^M" --exclude='.svn' |
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
| perl -nle 'print if !-e $_' |
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
| cat access.log | perl -lane 'print $F[9] . " " . $F[7]' | grep 404 | sort | uniq -c | sort -b -g |
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
| url\(['"]?[^)]*['"]?\) |
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
| User-agent: * | |
| Disallow: /redirect/* | |
| Sitemap: http://www.teennowmagazine.co.uk/sitemaps/index.xml |
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
| # Extract SSL certificate and output information | |
| openssl s_client -connect secure.yui.ipcdigital.co.uk:443 > logfile | |
| # Type QUIT then enter | |
| # Edit logfile and remove all except lines between BEGIN certificate and end certificate | |
| openssl x509 -inform PEM -in logfile -text -out certdata | |
| cat certdata |
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
| echo '%7B%22F' |
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
| # install git | |
| sudo apt-get install g++ curl libssl-dev apache2-utils | |
| sudo apt-get install git-core | |
| sudo apt-get install nodejs | |
| # install the Node package manager for later use | |
| curl http://npmjs.org/install.sh | sudo sh | |
| sudo npm install express | |
| # clone the statsd project | |
| git clone https://github.com/etsy/statsd.git | |
| # download everything for graphite |
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
| <!DOCTYPE html> | |
| <html xmlns:pas="http://phpinfo.tmower.connect-dev-web-01.bfb1.sites.ipcdigital.co.uk/pluckTest.html" xml:lang="en" lang="en"> | |
| <head> | |
| <title>Client Flow Example</title> | |
| <script type="text/javascript" src="http://goodtoknow.pluck.ipcdigital.co.uk/ver1.0/Content/ua/scripts/pluckApps.js"></script> | |
| <script> | |
| window.fbAsyncInit = function() { | |
| FB.init({ |
OlderNewer