Skip to content

Instantly share code, notes, and snippets.

View greymouser's full-sized avatar

Armando Di Cianno greymouser

  • Williamstown, MA
View GitHub Profile
@greymouser
greymouser / XMPPFramework.podspec.json
Last active August 29, 2015 14:24
XMPPFramework podspec -- 3.6.4 version; changed tag to branch master
{
"name": "XMPPFramework",
"version": "3.6.4",
"platforms": {
"ios": "5.0",
"osx": "10.7"
},
"license": {
"type": "BSD",
"file": "copying.txt"
@greymouser
greymouser / wxWidgets-3.0.2_macosx10.10_build.patch
Created May 27, 2015 04:08
wxWidgets-3.0.2_macosx10.10_build.patch
diff -urN wxWidgets-3.0.2/docs/changes.txt wxWidgets-3.0.2.patch/docs/changes.txt
--- wxWidgets-3.0.2/docs/changes.txt 2014-10-06 17:33:44.000000000 -0400
+++ wxWidgets-3.0.2.patch/docs/changes.txt 2015-05-27 00:05:17.000000000 -0400
@@ -573,6 +573,13 @@
was added.
+3.0.2: patched for OSX 10.10 build
+----------------------------
+
@greymouser
greymouser / gist:7199876
Last active December 26, 2015 19:09
mongodb 2.4.7 brew fail install
lankhmar:~ greymouser$ brew doctor
Warning: /Library/Frameworks/Mono.framework detected
This can be picked up by CMake's build system and likely cause the build to
fail. You may need to move this file out of the way to compile CMake.
lankhmar:~ greymouser$ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/mxcl/homebrew.git
HEAD: a59e2adfdb81da6a57f5f4c4b1a4a9b9863087da
HOMEBREW_PREFIX: /usr/local
@greymouser
greymouser / gist:7119091
Created October 23, 2013 13:47
Starchy, Cheesy Rolls (pan de cassava/yuca)
Starchy, Cheesy Rolls (pan de cassava/yuca) - 12 to 16 rolls
===
* 2 cups (+bit extra) of tapioca / cassava / yuca starch/flour (potato starch works, too)
* 8 tbsp unsalted butter, cut into a few slices or cubes, not cold/hard - prefer Kerrygold
* 2 eggs
* 4 oz goat cheese
* 6 oz parmesan (grated)
* 3/4 tsp baking soda
* 1/4-1/2 tsp salt (to taste)
@greymouser
greymouser / SDL_Test-bad.go
Created November 22, 2010 15:01
SDL_Test.go bad
package testC
// #include <SDL/SDL.h>
import "C"
const (
WIDTH = 640
HEIGHT = 480
BPP = 4
DEPTH = 32
@greymouser
greymouser / SDL_Test.c
Created November 22, 2010 14:58
SDL_Test.c
/* Found at http://friedspace.com/SDLTest.c */
#include <stdio.h>
#include <SDL.h>
#define WIDTH 640
#define HEIGHT 480
#define BPP 4
#define DEPTH 32
set cmd to "/usr/local/bin/sshfs my.fake.com: /Users/foofum/Volumes/myremotehome"
try
do shell script cmd
on error
display alert "The mount did not work. Try the command from Terminal.app manually, and check your results.
'" & cmd & "'" buttons {":'( - Tears"}
end try
@greymouser
greymouser / blog-ssh-2-2
Created November 18, 2010 22:07
blog-ssh-2-2
VOLNAME=myremotehome
SRVNAME=my.fake.com
mkdir -p $HOME/Volumes/$VOLNAME
sshfs $SRVNAME: $HOME/Volumes/$VOLNAME -oauto_cache,reconnect,volname=$VOLNAME
# Did it work?
ls $HOME/Volumes/$VOLNAME
/sbin/umount $HOME/Volumes/$VOLNAME # or drag to eject button from desktop
@greymouser
greymouser / blog-ssh-2-1
Created November 18, 2010 22:04
blog-ssh-2-1
MYDIR="$HOME/Projects/macfuse/repos"
mkdir -p $MYDIR
cd $MYDIR
svn co http://macfuse.googlecode.com/svn/trunk/filesystems/sshfs/binary sshfs-binaries
cd sshfs-binaries
sudo cp sshfs-static-leopard /usr/local/bin/sshfs
@greymouser
greymouser / blog-ssh-1-8
Created November 17, 2010 16:50
blog-ssh-1-8
$ ssh my.fake.com "uname -a"
Linux my 2.6.32-24-server #42-Ubuntu SMP Fri Aug 20 15:38:55 UTC 2010 x86_64 GNU/Linux