Skip to content

Instantly share code, notes, and snippets.

View GregBorrelly's full-sized avatar
🎯
Focusing

Greg Borelly GregBorrelly

🎯
Focusing
View GitHub Profile
@GregBorrelly
GregBorrelly / Contract Killer 3.md
Created April 2, 2017 00:02 — forked from malarkey/Contract Killer 3.md
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

@GregBorrelly
GregBorrelly / Contract Killer 3.md
Created April 2, 2017 00:02 — forked from malarkey/Contract Killer 3.md
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

* {
padding: 0;
margin: 0;
}
html,
body {
font-family: Helvetica;
background-color: #F4F2E9;
}
@GregBorrelly
GregBorrelly / gist:ec1ab3bd258b6c6a249feb3af46fff63
Created May 26, 2016 15:20 — forked from jasonmc/gist:1160951
Setting colors in matplotlib easily (can do white-on-black)
def set_foregroundcolor(ax, color):
'''For the specified axes, sets the color of the frame, major ticks,
tick labels, axis labels, title and legend
'''
for tl in ax.get_xticklines() + ax.get_yticklines():
tl.set_color(color)
for spine in ax.spines:
ax.spines[spine].set_edgecolor(color)
for tick in ax.xaxis.get_major_ticks():
tick.label1.set_color(color)