Skip to content

Instantly share code, notes, and snippets.

View alec1o's full-sized avatar
🐋
I may be slow to respond.

Alecio Furanze (Ale) alec1o

🐋
I may be slow to respond.
View GitHub Profile
@alec1o
alec1o / json.md
Created December 11, 2024 13:09 — forked from robertcoltheart/json.md
Json parser in < 100 lines
public class JsonParser
{
    public object Parse(string value)
    {
        return value.Trim() switch
        {
            {Length: 0} => null,
            var json when json[0] == '{' && json[^1] == '}' => JsonObject(json),
            var json when json[0] == '[' && json[^1] == ']' => JsonArray(json),
@alec1o
alec1o / .gitignore
Last active April 7, 2024 08:00
Unity Engine .gitignore file
# BEGIN! ######################################################
# Updates from: https://gist.github.com/alec1o/95c0d758ff448baaee26e9e72adaaef2
# build folders
/[Oo]utput/
/[Oo]ut/
/.[Oo]ut/
/[Dd]ist/
/.[Dd]ist/
---
space: [ㅤ]
names:
- name: ˡᵒᵛᵉ Aℓҽ
- name: ˡᵒᵛᵉ Sҽιɳ
- name: ˡᵒᵛᵉ Dιvα
- name: ˡᵒᵛᵉ Hαɾɖ
guild:
tag: ˡᵒᵛᵉㅤ
name: ℓσvҽ
@alec1o
alec1o / anime.json
Last active April 5, 2022 04:56
anime api response: mongo database
{
"name": "",
"original_name": "",
"description": "",
"categorie": [],
"tag": [],
"season": []
}
@webbertakken
webbertakken / .gitattributes
Last active April 21, 2026 08:41
.gitattributes for Unity projects
#
# Git attributes for Unity projects
#
# Compiled by the GameCI community under the MIT license - https://game.ci
#
# Latest version at https://gist.github.com/webbertakken/ff250a0d5e59a8aae961c2e509c07fbc
#
# Ensure that text files that any contributor introduces to the repository have their line endings normalized
* text=auto
NetLimiter 3
Registration name: Peter Raheli
Registration code: C99A2-QSSUD-2CSBG-TSRPN-A2BEB
NetLimiter 4
Registration Name: Vladimir Putin #2
Registration Code: XLEVD-PNASB-6A3BD-Z72GJ-SPAH7
https://www.netlimiter.com/download
# Netlimiter Full Netlimiter Activated Netlimiter cracked Netlimiter Full Version Netlimiter Serial Netlimiter keygen Netlimiter crack Netlimiter 4 serial Netlimiter 4 Crack Netlimiter 4 register Netlimiter 4 patch Netlimiter full Full version Netlimiter 4 Activated Netlimiter 4 Cracked Netlimiter Pro
@anubhavshrimal
anubhavshrimal / CountryCodes.json
Last active April 29, 2026 07:21 — forked from Goles/CountryCodes.json
Country and Dial or Phone codes in JSON format
[
{
"name": "Afghanistan",
"dial_code": "+93",
"code": "AF"
},
{
"name": "Aland Islands",
"dial_code": "+358",
"code": "AX"
@pickletoni
pickletoni / countryPhoneCodes.json
Last active April 2, 2026 13:33 — forked from AdonaiAraya/countryPhoneCodes.json
JSON array of 248 countries with phone codes and ISO country code
[{"country":"Afghanistan","code":"93","iso":"AF"},
{"country":"Albania","code":"355","iso":"AL"},
{"country":"Algeria","code":"213","iso":"DZ"},
{"country":"American Samoa","code":"1-684","iso":"AS"},
{"country":"Andorra","code":"376","iso":"AD"},
{"country":"Angola","code":"244","iso":"AO"},
{"country":"Anguilla","code":"1-264","iso":"AI"},
{"country":"Antarctica","code":"672","iso":"AQ"},
{"country":"Antigua and Barbuda","code":"1-268","iso":"AG"},
{"country":"Argentina","code":"54","iso":"AR"},
@nemotoo
nemotoo / .gitattributes
Last active April 4, 2026 13:03
.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
@emoacht
emoacht / UnityWebRequestUsage.cs
Created December 31, 2015 22:57
Sample usage of UnityWebRequest
using System.Collections;
using UnityEngine;
using UnityEngine.Experimental.Networking;
public class UnityWebRequestUsage : MonoBehaviour
{
void Start()
{
StartCoroutine(GetText());
}