Skip to content

Instantly share code, notes, and snippets.

View nozzlegear's full-sized avatar
🌸
There is no theory, only the knowing.

Joshua Harms nozzlegear

🌸
There is no theory, only the knowing.
View GitHub Profile
# setting a new alias
git config --global --add alias.lol "log --graph --decorate --pretty=oneline --abbrev-commit --all"
# using the new alias
git lol
@nozzlegear
nozzlegear / createswap.sh
Created December 19, 2016 16:00 — forked from rickyhewitt/createswap.sh
Quick and easy script to setup swap
#!/bin/sh
# createswap.sh
# creates swap file.
# Optionally specify size (e.g. 1024M)
#
# <ricky@rickyhewitt.me>
if [ $1 ]; then
SWAP_SIZE=$1
else
@nozzlegear
nozzlegear / Contract Killer 3.md
Last active February 16, 2017 22:42 — 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

using System;
using System.Linq;
using DDay.iCal;
using Newtonsoft.Json;
public class YourClass
{
public string YourMethod()
{
//Download the .ics file using DDay.iCal package from nuget (install-package dday.ical)