Skip to content

Instantly share code, notes, and snippets.

@gboudreau
gboudreau / greyhole-custom-debug.sh
Last active August 29, 2015 14:02
Greyhole debugging
#!/bin/sh
{
ls -la /mnt/GreyholeHDDs/*/GH/Media/TV\ Shows/Breaking\ Bad/Season\ 01
ls -la /mnt/GreyholeHDDs/1TbSeagate/LZ/Media/TV\ Shows/Breaking\ Bad/Season\ 01
} > /tmp/greyhole_sysinfo_3
echo "Here's the URL you will need to give the to person who's helping you:"
cat /tmp/greyhole_sysinfo_3 | curl -F 'sprunge=<-' http://sprunge.us
echo

Keybase proof

I hereby claim:

  • I am gboudreau on github.
  • I am gboudreau (https://keybase.io/gboudreau) on keybase.
  • I have a public key whose fingerprint is EEEC EA5D AB9D BA25 21C6 5248 4536 901B F6B0 FCFA

To claim this, I am signing this object:

@gboudreau
gboudreau / Sample of Übersicht.txt
Created June 17, 2014 18:41
Sample of Übersicht - Application Not Responding
Sampling process 64900 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling Übersicht (pid 64900) every 1 millisecond
Process: Übersicht [64900]
Path: /Applications/Übersicht.app/Contents/MacOS/Übersicht
Load Address: 0x1075a4000
Identifier: tracesOf.Uebersicht
Version: 0.1 (5)
Code Type: X86-64
Parent Process: launchd [616]
@gboudreau
gboudreau / test-symlink-creation.php
Last active August 29, 2015 14:04
Test PHP symlink() function
@gboudreau
gboudreau / greyhole.initd
Created June 8, 2011 20:34
/etc/init.d/greyhole for Debian 6
#!/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
@gboudreau
gboudreau / popup.html
Created June 13, 2011 13:25
SABconnect++ new popup w graph
<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>
@gboudreau
gboudreau / lulz_contacts_checker.php
Created June 16, 2011 13:45
This will allow you to check your contacts list to find if anyone had his account hacked by Lulzsec.
<?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
@gboudreau
gboudreau / find_deprecated_growl_frameworks.sh
Created October 4, 2011 13:09
Find applications that use an old version of the Growl Framework, and thus won't work with Growl 1.3+
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 "{}" \;
@gboudreau
gboudreau / greyhole
Created November 3, 2011 10:52
Greyhole executable - fixed FATAL on BT display
#!/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