Skip to content

Instantly share code, notes, and snippets.

Avatar

Neil Edwards neiled

View GitHub Profile
@neiled
neiled / hamlhtml5boilerplate.html.haml
Created Nov 25, 2010
My haml version of the html 5 boiler plate code
View hamlhtml5boilerplate.html.haml
!!! 5
/[if lt IE 7] <html lang="en" class="no-js ie6">
/[if IE 7 ] <html lang="en" class="no-js ie7">
/[if IE 8 ] <html lang="en" class="no-js ie8">
/[if IE 9 ] <html lang="en" class="no-js ie9">
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
%head
%meta{:charset => "utf-8"}/
/
Always force latest IE rendering engine (even in intranet) &amp; Chrome Frame
View keybase.md

Keybase proof

I hereby claim:

  • I am neiled on github.
  • I am neiled (https://keybase.io/neiled) on keybase.
  • I have a public key whose fingerprint is 76DC EFCC 14D6 B698 EE5E FCAF E84A F9DA 17E2 9D5D

To claim this, I am signing this object:

View heightmap.txt
renderer.AddGradientPoint (-1.0000, utils::Color ( 0, 0, 128, 255)); // deeps
renderer.AddGradientPoint (-0.2500, utils::Color ( 0, 0, 255, 255)); // shallow
renderer.AddGradientPoint ( 0.0000, utils::Color ( 0, 128, 255, 255)); // shore
renderer.AddGradientPoint ( 0.0625, utils::Color (240, 240, 64, 255)); // sand
renderer.AddGradientPoint ( 0.1250, utils::Color ( 32, 160, 0, 255)); // grass
renderer.AddGradientPoint ( 0.3750, utils::Color (224, 224, 0, 255)); // dirt
renderer.AddGradientPoint ( 0.7500, utils::Color (128, 128, 128, 255)); // rock
renderer.AddGradientPoint ( 1.0000, utils::Color (255, 255, 255, 255)); // snow
View admin_dashboard.md

=What to have on an admin dashboard=

==Users== List all of the users in the system Ability to:

  • Group/filter by company
  • Reset a user's password
  • See their billing status (Last billed time, amount, status)
  • Refund them money
  • Invite a new user to a company
View cube.txt
Done
1 Albino Troll
1 Birds of Paradise
1 Blastoderm
1 Call of the Herd
1 Constant Mists
1 Crop Rotation
1 Elvish Scrapper
1 Eternal Witness
1 Fyndhorn Elves
View pr.md

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = git@github.com:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

@neiled
neiled / elite_core_competency.txt
Created Feb 11, 2013
Elite Core Competency Plan
View elite_core_competency.txt
Engineering x 1 : 1
Science x 1 : 1
Gunnery x 1 : 1
Electronics x 1 : 1
Navigation x 1 : 1
Spaceship Command x 1 : 1
Mechanics x 1 : 1
Energy Systems Operation x 1 : 1
Signature Analysis x 1 : 1
Targeting x 1 : 1
@neiled
neiled / gist:4709798
Last active Dec 12, 2015
cartographer
View gist:4709798
Spaceship Commandx1: 1
Electronicsx1: 1
Engineeringx1: 1
Sciencex1: 1
Mechanicsx1: 1
Surveyx1: 1
Spaceship Commandx1: 2
Electronicsx1: 2
Engineeringx1: 2
Sciencex1: 2
@neiled
neiled / gist:4709176
Created Feb 4, 2013
gallante prospector queue
View gist:4709176
Spaceship Command: 1
Mechanics: 1
Engineering: 1
Science: 1
Electronics: 1
Navigation: 1
Mining: 1
Drones: 1
Industry: 1
Gallente Frigate: 1
View eve_certificates.xml
<?xml version='1.0' encoding='UTF-8'?>
<eveapi version="2">
<currentTime>2013-02-03 20:22:20</currentTime>
<result>
<rowset name="categories" key="categoryID" columns="categoryID,categoryName">
<row categoryID="3" categoryName="Core">
<rowset name="classes" key="classID" columns="classID,className">
<row classID="2" className="Core Fitting">
<rowset name="certificates" key="certificateID" columns="certificateID,grade,corporationID,description">
<row certificateID="5" grade="1" corporationID="1000125" description="This certificate represents a basic level of competence in fitting ships. It certifies that the holder is able to use baseline modules which improve power and CPU capabilities such as Co-Processors, Power Diagnostic Systems and Reactor Control Units. This is the first step towards broadening your fitting options.">