Skip to content

Instantly share code, notes, and snippets.

View nickmartini's full-sized avatar

Nick Martini nickmartini

View GitHub Profile
@nickmartini
nickmartini / gist:1945111
Created February 29, 2012 22:45
adsfasdfasdfasdfsdfasdfasdfasdfasdf
nick@ganymede:rdfs $ cwm schema.ttl --sparql=query.ttl
#Processed by Id: cwm.py,v 1.197 2007/12/13 15:38:39 syosi Exp
# using base file:///Users/nick/Projects/rdfs/schema.ttl
Traceback (most recent call last):
File "/usr/local/bin/cwm", line 750, in <module>
doCommand()
File "/usr/local/bin/cwm", line 564, in doCommand
referer="", contentType="x-application/sparql")
File "/Library/Python/2.7/site-packages/swap/llyn.py", line 1609, in load
referer=referer, why=why)
@nickmartini
nickmartini / gist:1708320
Created January 31, 2012 02:27
brew install mysql (5.5.19)
==> Downloading http://downloads.mysql.com/archives/mysql-5.5/mysql-5.5.19.tar.gz
File already downloaded in /Users/nick/Library/Caches/Homebrew
/usr/bin/tar xf /Users/nick/Library/Caches/Homebrew/mysql-5.5.19.tar.gz
==> Patching
/usr/bin/patch -f -p1 -i 001-homebrew.diff
patching file scripts/mysqld_safe.sh
patching file scripts/mysql_config.sh
==> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/mysql/5.5.19 -DMYSQL_DATADIR=/usr/local/var/mysql -DINSTALL_MANDIR=/usr/local/Cellar/mysql/5.5.19/share/man -DINSTALL_DOCDIR=/usr/local/Cellar/mysql/5.5.19/share/doc/mysql -DINSTALL_INFODIR=/usr/local/Cellar/mysql/5.5.19/share/info -DINSTALL_MYSQLSHAREDIR=share/mysql -DWITH_SSL=yes -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DSYSCONFDIR=/usr/local/etc -DWITH_UNIT_TESTS=OFF -DWITH_READLINE=yes
cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/mysql/5.5.19 -DMYSQL_DATADIR=/usr/local/var/mysql -DINSTALL_MANDIR=/usr/local/Cellar/mysql/5.5.19/share/man -DINSTALL_DOCDIR=/usr/local/Cellar/mysql/5.5.19/share/
[18:27:25] ( gabriel) http://i.imgur.com/BVYr6.jpg
[18:27:26] ( Elotente) created link #12810 --
[18:27:27] ( charlie) I'm opening all of them
[18:27:40] ( gabriel) http://i.imgur.com/xSAWW.jpg
[18:27:41] ( Elotente) created link #12811 --
[18:27:42] ( moela) god i am not up for this shit tonight
[18:27:55] ( nick) WHY IS THIS A THING
[18:28:10] ( alex) because steve jobs died
[18:28:11] ( Elotente) they lived fast and died young those guys
[18:28:20] ( nick) thanks for livin fast and dying young steve jobs
/// <summary>
/// HAHAHAHAHA WE NEEDED AN UPDATE PANEL BECUASE PEOPLE SORT SO OFTEN NOW JAVASCRIPT IS BROKEN
/// </summary>
/// <remarks>
/// - shit like this makes me hate my job.
/// - i think this is completely logical and an elegant way to check all
/// - it isn't, it's retarded to have to do a fucking postback to check a box when it can be done on the client side for free
/// </remarks>
<html>
<head>
<title>Winking Lizard World Tour - Beer Selection</title>
<style type="text/css">
a:link {
text-decoration: none;
color:#000000;
@nickmartini
nickmartini / lizard html
Created February 13, 2011 04:44
the horror
<html><head><title>Winking Lizard World Tour - Member History</title>
<style type="text/css">
a:link {text-decoration: none; color: #990000;}
a:visited {text-decoration: none; color: #990000;}
a:hover {text-decoration: underline; color: #990000;}
a:active {text-decoration: none; color: #990000;}
</style>
<script type="text/javascript" src="sm-iepng.js" defer="defer" charset="ISO-8859-1"></script>
</head><body style="font-family: Ariel,Sans-Serif; font-size: 100%;">
@nickmartini
nickmartini / gist:744167
Created December 16, 2010 22:56
FEAR A NIGGA YO
#Showtooltip Fear
/focus [target=focus, noexists][target=focus, dead] mouseover
/cast [target=focus] Fear
/clearfocus [modifier:ctrl]
/stopmacro
@nickmartini
nickmartini / gist:704617
Created November 18, 2010 04:12
i cyber sex B^]
[23:09:15] (@nick[]) B^]: i want you to take off your clothes
[23:09:16] (@B^]) now that just reeks of bullshit
[23:09:39] (@nick[]) B^]: i am a lovely flower, i want you to lick my thighs
[23:09:40] (@B^]) i can confirm that my thighs are very warm
[23:10:15] (@nick[]) B^]: i want you inside of me
[23:10:16] (@B^]) you'll be 70 inside a fortnight
[23:10:48] (@nick[]) B^]: i am juicy wet for you
[23:10:49] (@B^]) a whole bunch of people got migrated to the new billing system
[23:10:56] (@nick[]) aaaaand boner lost
nick@ganymede:dongs $ rails generate
/usr/local/Cellar/gems/1.9/gems/sqlite3-ruby-1.3.1/lib/sqlite3/sqlite3_native.bundle: [BUG] Segmentation fault
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
Abort trap
nick@ganymede:dongs $ which ruby
/usr/local/bin/ruby
nick@ganymede:dongs $ which rails
ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIB7EORyA2RqLQMaACA/kNPJ8qubuqWBzYmqAuaW2mRe4roUCcbuNkhWCbSPBcKkEnoy0DHpj+owDKD2PFG/F5E8UDthY/zR69FUnkJEWrxduPyfNWtJN5FaHU+Aaot6siJ64lyCiINDS5lJ1V+xDq+Gh+6Kx0nbI7OW6YHO8eHO3Q== nick@callisto