Skip to content

Instantly share code, notes, and snippets.

View mousedoc's full-sized avatar
๐ŸŒŠ

mousedoc mousedoc

๐ŸŒŠ
  • Netmarble Monster
  • Seoul, Republic of Korea
View GitHub Profile
@carlopires
carlopires / ISO639_2.py
Created October 4, 2011 16:06 — forked from austing/gist:779243
Python dict with ISO-639-2 language codes
# -o- coding: utf-8 -o-
# ISO639 python dict
# oficial list in http://www.loc.gov/standards/iso639-2/php/code_list.php
ISO639_2 = {
'ab': 'Abkhaz',
'aa': 'Afar',
'af': 'Afrikaans',
'ak': 'Akan',
'sq': 'Albanian',
@adamawolf
adamawolf / Apple_mobile_device_types.txt
Last active August 28, 2025 08:07
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S
@alexpeattie
alexpeattie / disable-autolinking.md
Created February 7, 2013 07:32
Disable Github-flavored Markdown autolinking

http://example.com

http://example.com

@tylerneylon
tylerneylon / learn.lua
Last active July 8, 2025 14:39
Learn Lua quickly with this short yet comprehensive and friendly script. It's written as both an introduction and a quick reference. It's also a valid Lua script so you can verify that the code does what it says, and learn more by modifying and running this script in your Lua interpreter.
-- Two dashes start a one-line comment.
--[[
Adding two ['s and ]'s makes it a
multi-line comment.
--]]
----------------------------------------------------
-- 1. Variables and flow control.
----------------------------------------------------
@ikaruce
ikaruce / Svn2Git.md
Created February 3, 2015 08:06
SVN์—์„œ Git์œผ๋กœ ์ „ํ™˜ํ•˜๊ธฐ(๋ธŒ๋žœ์น˜์™€ ํƒœ๊ทธ ๋ณด์ „ํ•˜๋ฉด์„œ)

SVN์—์„œ Git์œผ๋กœ ์ „ํ™˜ํ•˜๊ธฐ

(์›๋ฌธ http://www.sailmaker.co.uk/blog/2013/05/05/migrating-from-svn-to-git-preserving-branches-and-tags-3/ )

๋ธŒ๋žœ์น˜์™€ ํƒœ๊ทธ ๋ณด์ „ํ•˜๋ฉด์„œ

git svn ์„ ์‚ฌ์šฉํ•ด์„œ SVN์—์„œ ๋ธŒ๋žœ์น˜์™€ ํƒœ๊ทธ๋ฅผ ๋ณด์กดํ•˜๋ฉด์„œ Git์œผ๋กœ ์ „ํ™˜ํ•˜๋Š” ๊ฒƒ์„ ์„ค๋ช…ํ•œ๋‹ค.

๋กœ์ปฌ ์Šคํ…Œ์ด์ง• ๋ฆฌํŒŒ์ง€ํ† ๋ฆฌ๋กœ import

๋กœ์ปฌ ์Šคํ…Œ์ด์ง• ํด๋” ์ƒ์„ฑ
$ mkdir staging
@ihoneymon
ihoneymon / how-to-write-by-markdown.md
Last active August 29, 2025 17:49
๋งˆํฌ๋‹ค์šด(Markdown) ์‚ฌ์šฉ๋ฒ•

[๊ณตํ†ต] ๋งˆํฌ๋‹ค์šด markdown ์ž‘์„ฑ๋ฒ•

์˜์–ด์ง€๋งŒ, ์กฐ๊ธˆ ๋” ์ƒ์„ธํ•˜๊ฒŒ ๋งˆํฌ๋‹ค์šด ์‚ฌ์šฉ๋ฒ•์„ ์•ˆ๋‚ดํ•˜๊ณ  ์žˆ๋Š”
"Markdown Guide (https://www.markdownguide.org/)" ๋ฅผ ๋ณด์‹œ๋Š” ๊ฒƒ์„ ์ถ”์ฒœํ•ฉ๋‹ˆ๋‹ค. ^^

์•„, ๊ทธ๋ฆฌ๊ณ  ๋งˆํฌ๋‹ค์šด๋งŒ์œผ๋กœ ํ‘œํ˜„์ด ๋ถ€์กฑํ•˜๋‹ค๊ณ  ๋А๋ผ์‹ ๋‹ค๋ฉด, HTML ํƒœ๊ทธ๋ฅผ ํ™œ์šฉํ•˜์‹œ๋Š” ๊ฒƒ๋„ ์ข‹์Šต๋‹ˆ๋‹ค.

1. ๋งˆํฌ๋‹ค์šด์— ๊ด€ํ•˜์—ฌ

@keijiro
keijiro / Mobile-Particle-Add.shader
Created April 23, 2015 03:57
Mobile/Particles/Additive shader (Unity built-in shader)
// Simplified Additive Particle shader. Differences from regular Additive Particle one:
// - no Tint color
// - no Smooth particle support
// - no AlphaTest
// - no ColorMask
Shader "Mobile/Particles/Additive" {
Properties {
_MainTex ("Particle Texture", 2D) = "white" {}
}
@grimmdev
grimmdev / Translate.cs
Last active January 31, 2025 18:25
Translate method/api using Unity 3D. Completely Free with no Restrictions, by using Google's Internal API, we cut out the need for any api keys.
// We need this for parsing the JSON, unless you use an alternative.
// You will need SimpleJSON if you don't use alternatives.
// It can be gotten hither. http://wiki.unity3d.com/index.php/SimpleJSON
using SimpleJSON;
using UnityEngine;
using System.Collections;
public class Translate : MonoBehaviour {
// Should we debug?

Aligning images

This is a guide for aligning images.

See the full Advanced Markdown doc for more tips and tricks

left alignment

@johnsoncodehk
johnsoncodehk / Fix55To54.cs
Last active February 24, 2020 06:44
Fix Unity 5.5 Downgrading to 5.4 missing GameObject name, activeSelf.
using UnityEngine;
using UnityEditor;
using System.IO;
using System.Collections.Generic;
public class Fix55To54 {
[System.SerializableAttribute]
public class GameObjectData {
public bool activeSelf;