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/sh | |
# | |
### BEGIN INIT INFO | |
# Provides: greyhole | |
# Required-Start: $network $local_fs $remote_fs mysql samba | |
# Required-Stop: $network $local_fs $remote_fs mysql samba | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: start Greyhole daemon | |
### END INIT INFO |
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
<html> | |
<head> | |
<link rel="stylesheet" type="text/css" href="third_party/jquery/ui-lightness/jquery-ui-1.8.13.custom.css" /> | |
<link rel="stylesheet" type="text/css" href="css/popup.css" /> | |
<script type="text/javascript" src="third_party/jquery/jquery-1.5.1.min.js"></script> | |
<script type="text/javascript" src="third_party/jquery/jquery-ui-1.8.13.custom.min.js"></script> | |
<script type="text/javascript" src="third_party/jquery/jquery.jqote2.min.js"></script> | |
<script type="text/javascript" src="third_party/fancy-settings/lib/store.js"></script> | |
<script type="text/javascript" src="scripts/pages/common.js"></script> |
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
$(document).ready(function(){ | |
// Fading | |
$('.boxgrid').hover(function(){ | |
$(".cover", this).fadeOut(); | |
}, function() { | |
$(".cover", this).fadeIn(); | |
}); | |
}); |
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 | |
/* | |
This will allow you to check your contacts list to find if anyone had his account hacked by Lulzsec. | |
Instructions: | |
1. Download google.csv from google.com/contacts | |
Alternatively, export your address book in text format, and name the exported file google.csv | |
2. Download this file: http://pub.pommepause.com/LulzSec%20Latest%20Release.txt |
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
echo 'echo $1 | awk -F"/" "{print \$3}" ; plutil -convert xml1 -o - "$1/Versions/Current/Resources/Info.plist" | grep -A 1 CFBundleShortVersionString | tail -1 | awk -F">" "{print \$2}" | awk -F"<" "{print \$1}"' > /tmp/go.sh | |
find /Applications -name Growl.framework -exec sh /tmp/go.sh "{}" \; |
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
#!/usr/bin/php | |
<?php | |
/* | |
Copyright 2009-2011 Guillaume Boudreau, Andrew Hopkinson | |
This file is part of Greyhole. | |
Greyhole is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or |
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
#!/usr/bin/php | |
<?php | |
echo json_format(file_get_contents('php://stdin')) . "\n"; | |
// Pretty print some JSON | |
function json_format($json) | |
{ | |
$tab = " "; | |
$new_json = ""; | |
$indent_level = 0; | |
$in_string = false; |
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
#!/usr/bin/php | |
<?php | |
if ($argv[1] == '-s') { | |
$argv[1] = $argv[2]; | |
$argv[2] = @$argv[3]; | |
} | |
if (empty($argv[2])) { | |
$argv[2] = basename($argv[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 | |
file_put_contents('file1', | |
"this is file 1\r | |
include = file2 | |
include = file3 # comment"); | |
file_put_contents('file2', "this is file 2"); | |
file_put_contents('file3', |
OlderNewer