Skip to content

Instantly share code, notes, and snippets.

View SpacemanPete's full-sized avatar

Piotr Butkiewicz SpacemanPete

View GitHub Profile
@SpacemanPete
SpacemanPete / Contract Killer 3.md
Created April 12, 2017 21:45 — 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

@SpacemanPete
SpacemanPete / urlobject.js
Last active November 13, 2015 21:28 — forked from aymanfarhat/urlobject.js
I changed the **decodeURI** method for decoding the search parameters to **decodeURIComponent** to match the encoding iplementation I'm using on a project, **decodeURI** alone didn't handle commas. Also added regex to replace the '+' encoded by Jquery's $.param() search encoding method. Surprising they don't have an easy $.deparam() method to ac…
// **********************************************************************************
//
// Javascript utility to parse page URL into Javascript Object for easy manipulation
//
// Written by: aymanfarhat
//
// Source: https://gist.github.com/aymanfarhat/5608517
//
// Dependencies:
// none