Skip to content

Instantly share code, notes, and snippets.

View yeonghoey's full-sized avatar
💭
enojoy🍺

Yeongho Kim yeonghoey

💭
enojoy🍺
View GitHub Profile
@yeonghoey
yeonghoey / GridAndSnapWindow.cs
Last active May 6, 2022 12:12
GridAndSnapWindow.cs
using System;
using System.Reflection;
using UnityEngine;
using UnityEditor;
public class GridAndSnapWindow : EditorWindow
{
private static readonly float[] valuePresets = new float[] { 1f, .5f, .25f, .1f, .05f, .01f };
private PropertyInfo propInfoGridSize;
@yeonghoey
yeonghoey / photo_names.py
Created November 21, 2016 22:40
Normalize dropbox photo names
import os
import re
# '20161121_001122.jpg' -> '2016-11-21 00.11.22.jpg'
TARGET = '%s/Dropbox/Camera Uploads' % os.path.expanduser('~')
PATTERN = re.compile(r'^(?P<year>\d\d\d\d)'
r'(?P<month>\d\d)'
r'(?P<day>\d\d)_'
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\seoul256]
"Colour0"="208,208,208"
"Colour1"="228,228,228"
"Colour2"="58,58,58"
"Colour3"="58,58,58"
"Colour4"="58,58,58"
"Colour5"="208,208,208"
"Colour6"="78,78,78"