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
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s |
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
sudo apt-get update | |
sudo apt-get install munin-plugins-extra | |
cd /etc/munin/plugins | |
sudo ln -snf /usr/share/munin/plugins/memcached_ memcached_bytes | |
sudo ln -snf /usr/share/munin/plugins/memcached_ memcached_counters | |
sudo ln -snf /usr/share/munin/plugins/memcached_ memcached_rates | |
sudo aptitude install libcache-memcached-perl | |
sudo /etc/init.d/munin-node restart | |
sudo tail -f /var/log/munin/munin-node.log |
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
Setup apache status | |
- sudo a2enmod status | |
- sudo nano /etc/apache2/conf.d/extendedstatus | |
- - Paste in 'ExtendedStatus On' | |
- sudo nano /etc/apache2/sites-available/xxx.com | |
Paste in... | |
<VirtualHost *:80> | |
ServerName status.ws1.xxx.com | |
ServerAlias status.ws1.xxx.com |
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
(Assuming you are using bash) | |
nano ~/.bashrc | |
Add this line to the bottom of your file... | |
gmp() { git checkout $2 && git pull origin $2 && git merge $1 && git push origin $2 && git checkout $1; } | |
Usage: |
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
<div class="clearfix" style="width:468px;"><form method="get" action="/"><input type="text" placeholder="Search" name="s" style="float:left;width:300px;"/><input type="submit" value="Go" style="float:left;" class="submit"/></form></div> |
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
The Incident | |
Fruit Ninja | |
Angry Birds | |
Flight Control ** | |
Plants Vs Zombies *** | |
Bejewelled 2 ** | |
Chu Chu Rocket *** | |
geoDefense *** | |
Beneath a Steel Sky ** | |
Monkey Island:SE *** |
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
Intranet | |
Activity Diagram | |
ODBC | |
Martin/Odell | |
Natural | |
Sequence Diagrams | |
MS Internet Information Server 6.0 | |
ASP.net | |
Linux |
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
Get short link | |
<a href="javascript:void(function(){var p=$('body').attr('class').match(/postid\-(\d+)/);if(p!=undefined)alert('The shortlink of this post is\n\nhttp://www.dezeen.com/?p='+p.pop());else alert('Post ID not found');})()">Get short URL</a> | |
Get post id | |
<a href="javascript:void(function(){var p=$('body').attr('class').match(/postid\-(\d+)/);if(p!=undefined)alert('The id of this post is '+p.pop());else alert('Post ID not found');})()">Get post id</a> |
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
//You can grab these using the getUploaded API call | |
//https://developer.vimeo.com/apis/advanced/methods/vimeo.videos.getUploaded/playground | |
var vimeo_ids = [ 123, 456, 789 ]; | |
var casper = require('casper').create(); | |
casper.start('https://vimeo.com/log_in'); | |
casper.then(function() { | |
casper.test.info('Load form'); |
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
location = /xmlrpc.php { | |
deny all; | |
#Switch off logging | |
access_log off; | |
error_log off; | |
} |
OlderNewer