Skip to content

Instantly share code, notes, and snippets.

View zer0her0's full-sized avatar

Andrew M zer0her0

View GitHub Profile
@zer0her0
zer0her0 / genudine amerish embed
Created August 10, 2015 21:59
iframe embed of Amerish on Genudine
<iframe id='genudine-amerish-iframe' src='http://ps2maps.com/genudine/amerish/embed' style='border:none; overflow:hidden; min-width:100%; height:auto;'></iframe>
@zer0her0
zer0her0 / genudine indar embed
Created August 10, 2015 21:58
iframe embed of Indar on Genudine
<iframe id='genudine-indar-iframe' src='http://ps2maps.com/genudine/indar/embed' style='border:none; overflow:hidden; min-width:100%; height:auto;'></iframe>
@zer0her0
zer0her0 / EDHDB-MySQL-Clipboard
Last active August 29, 2015 14:23
EDHDB-MySQL-Clipboard
SELECT * FROM edhdb.listing_records WHERE cmdty_id = 1;
SELECT * FROM edhdb.listing_records WHERE cmdty_id = 42;
SELECT * FROM edhdb.station JOIN edhdb.listing_records USING (sta_id);
SELECT * FROM edhdb.station JOIN edhdb.listing_records USING (sta_id) WHERE cmdty_id = 42;
SELECT DISTINCT sta_id FROM edhdb.station JOIN edhdb.listing_records USING (sta_id) WHERE cmdty_id = 42;
@zer0her0
zer0her0 / gist:b24cb26964c8e37fd231
Created April 3, 2015 16:16
Steve Jobs Consumer vs Enterprise.
What I love about the consumer market, which I always hate about the enterprise market, is that we come up with a product, we try to tell everybody about it, and every person votes from themselves, they go “Yes” or “No”. And if enough of them say yes, we get to come to work tomorrow. That’s how it works, it’s really simple.
The enterprise market, it’s not so simple, the people that use the products don’t decide for themselves and the people that make the decisions sometimes are confused. [Laughter] So we love trying to make the best products in the world for people and having them tell us by how they vote with their wallets whether we’re on track or note.
@zer0her0
zer0her0 / ED-SQL-Clipboard
Last active August 29, 2015 14:16
ED SQLite clipboard - discontinued use.
SELECT * FROM `all_data` WHERE commodity='Explosives'
$ sqlite3 /Users/ameier/Desktop/Elite/data/edtddb.sqlite
sqlite> .databases
sqlite> .mode csv
sqlite> .output test.txt
sqlite> select * from current_data;
SELECT DISTINCT system FROM current_data;
SELECT DISTINCT station FROM current_data;
@zer0her0
zer0her0 / automatic-Mondarian.pde
Created August 20, 2014 19:45
Automatic Mondarian
/*
int N = 2; //Number of recursive steps
// Draw a Mondarian-inspired image using recursion
void piet(int x0, int y0, int x1, int y1, int N) {
if (N == 0) {
// Base case -- draw a colorful rectangle with a thick black border
int sw = 3; //this is the stroke width for the rectangle's border
color c[] = { #ff0000, #00ff00, #0000ff, #ffff00, #ffffff}; //Mondarian color palatte
fill(c[int(random(c.length))]);
@zer0her0
zer0her0 / keybase.md
Created August 15, 2014 15:42
keybase.md

Keybase proof

I hereby claim:

  • I am zer0her0 on github.
  • I am zer0her0 (https://keybase.io/zer0her0) on keybase.
  • I have a public key whose fingerprint is 2421 4A95 89D8 33F3 1F0A 1D5C 1746 9D26 230E 503C

To claim this, I am signing this object:

@zer0her0
zer0her0 / IS.md
Created May 19, 2014 18:36
Implementations Specialist

How to apply

If you're interested, shoot us an email at resumes@github.com.

About the Job

GitHub is an amazing product that can revolutionize the way that organizations work, and we want to make sure that companies that are purchasing GitHub have a great experience from the beginning. Part of the complexity of bringing GitHub into an organization is integrating it with current workflows, project development methodologies, 3rd party applications, and existing infrastructure.

We're looking for someone to help our customers maximize the happiness of their developers from the start by guiding them through integrating GitHub with those areas and advocating our philosophy for software development.

@zer0her0
zer0her0 / error-dialogbox
Created May 7, 2014 15:33
uncaughtException
ReferenceError: AutoUpdater is not defined
at EventEmitter.autoUpdater.quitAndInstall (/Applications/Atom.app/Contents/Resources/atom/browser/api/lib/auto-updater.js:32:35)
at AutoUpdateManager.module.exports.AutoUpdateManager.install (/Applications/Atom.app/Contents/Resources/app/src/browser/auto-update-manager.js:109:26)
at AtomApplication.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/browser/atom-application.js:252:39)
at AtomApplication.EventEmitter.emit (events.js:98:17)
at AtomApplication.module.exports.AtomApplication.sendCommand (/Applications/Atom.app/Contents/Resources/app/src/browser/atom-application.js:390:22)
at item.click (/Applications/Atom.app/Contents/Resources/app/src/browser/application-menu.js:185:45)
at MenuItem.click (/Applications/Atom.app/Contents/Resources/atom/browser/api/lib/menu-item.js:38:18)
at delegate.executeCommand (/Applications/Atom.app/Contents/Resources/atom/browser/api/lib/menu.js:78:31)
win1469:Downloads ameier$ unzip -l Archive.zip
Archive: Archive.zip
Length Date Time Name
-------- ---- ---- ----
616905 04-23-14 11:19 its-happening.gif
0 05-05-14 15:25 __MACOSX/
176 04-23-14 11:19 __MACOSX/._its-happening.gif
1200252 04-28-14 14:05 ResEditReference.pdf
176 04-28-14 14:05 __MACOSX/._ResEditReference.pdf
260488 04-24-14 13:31 warhol_amiga_report_v10.pdf