Skip to content

Instantly share code, notes, and snippets.

@nemotoo
nemotoo / .gitattributes
Last active May 18, 2024 08:08
.gitattributes for Unity3D with git-lfs
## Unity ##
*.cs diff=csharp text
*.cginc text
*.shader text
*.mat merge=unityyamlmerge eol=lf
*.anim merge=unityyamlmerge eol=lf
*.unity merge=unityyamlmerge eol=lf
*.prefab merge=unityyamlmerge eol=lf
@jarek-przygodzki
jarek-przygodzki / aria2-add.csx
Created July 4, 2014 16:19
aria2 add download using JSON-RPC
/*
* scriptcs -install Newtonsoft.Json
* scriptcs -install CommandLineParser
*/
using System.Net;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;