The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Original post
# setting a new alias | |
git config --global --add alias.lol "log --graph --decorate --pretty=oneline --abbrev-commit --all" | |
# using the new alias | |
git lol |
#!/bin/sh | |
# createswap.sh | |
# creates swap file. | |
# Optionally specify size (e.g. 1024M) | |
# | |
# <[email protected]> | |
if [ $1 ]; then | |
SWAP_SIZE=$1 | |
else |
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) |