Skip to content

Instantly share code, notes, and snippets.

View unstabler's full-sized avatar
🧀
cheese rulez!

Gyuhwan Park★ unstabler

🧀
cheese rulez!
View GitHub Profile
@mgng
mgng / gist:905083
Created April 6, 2011 03:31
北斗の件
あ-----!!
あ、新記録
あぁあぁんあんあ
ああっ!! う~!! あっ!! ああっ!!
ああ~!!
あいいぎあが!あがががが~
あいうえ痛だだだ!!!
あいぎゃげへえ!! ぶげぎい ばぼぶべっべっ はぱあほえ!
あいてててっ、てはっ!
あいとわ!!!
@terrancesnyder
terrancesnyder / regex-japanese.txt
Created November 7, 2011 14:05
Regex for Japanese
Regex for matching ALL Japanese common & uncommon Kanji (4e00 – 9fcf) ~ The Big Kahuna!
([一-龯])
Regex for matching Hirgana or Katakana
([ぁ-んァ-ン])
Regex for matching Non-Hirgana or Non-Katakana
([^ぁ-んァ-ン])
Regex for matching Hirgana or Katakana or basic punctuation (、。’)
@gre
gre / easing.js
Last active May 9, 2025 01:18
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
/*
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See the COPYING file for more details.
*/
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {
@techniq
techniq / audit_mixin.py
Created March 16, 2013 01:05
Useful SQLAlchemy Mixins
from datetime import datetime
from sqlalchemy import Column, Integer, DateTime, ForeignKey
from sqlalchemy.orm import relationship
from sqlalchemy.ext.declarative import declared_attr
from flask_security import current_user
class AuditMixin(object):
created_at = Column(DateTime, default=datetime.now)
updated_at = Column(DateTime, default=datetime.now, onupdate=datetime.now)
@killercup
killercup / pandoc.css
Created July 3, 2013 11:31
Add this to your Pandoc HTML documents using `--css pandoc.css` to make them look more awesome. (Tested with Markdown and LaTeX.)
/*
* I add this to html files generated with pandoc.
*/
html {
font-size: 100%;
overflow-y: scroll;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
@unstabler
unstabler / ffcapture.pl
Last active December 30, 2015 08:10
X Window의 화면을 쉽게 동영상으로 캡쳐할 수 있도록 도와주는 스크립트
#!/usr/bin/env perl
#
# ffcaputre.pl
# - by unstabler / cheesekun ([email protected])
# http://unstabler.pl / twitter: @unstable_cheese
#
# ffmpeg를 이용하여 X 윈도우의 화면을 쉽게 동영상으로 캡쳐할 수 있도록 도와주는 스크립트입니다.
#
# TODO : 특정 영역 녹화 추가 ($ ffcapture.pl -x 0 -y 0 -w 1280 -h 720 out.avi)
@maxdeviant
maxdeviant / 雨.html
Created December 19, 2014 05:21
雨 - 1k
<meta charset=utf-8>
<canvas id=雨>
<script>ぁ="",お=!ぁ+ぁ,ぃ=!お+ぁ,ぅ=ぁ+{},ざ=お[0],ご=お[1],く=ぅ[5],け=(お.ぃ+ぅ)[1],し=お[2],げ=ぅ[1],さ=ぃ[3],ぐ=お[3],が=お[う=く+げ+け+さ+ざ+ご+し+く+ざ+げ+ご][う],ぉ=" ",え="\\",ぇ="'",い='"',が(が((あ=ご+ぐ+ざ+し+ご+け+ぉ)+い+が(あ+が(あ+い+ぐ+さ+く+(ぎ=ぃ[1])+(こ=え+160)+ぐ+"("+ぇ+"挽屵㤶攸ⱹ㵰㵛栽挮睩摴栽㌶〬挮桥楧桴㴲㄰Ⱪ㴰崻獥瑉湴敲癡氨≟却祬攽椿❲杢愨〬〬〬⸰㈩✺〻归散琨〬〬栬栩㭟却祬攽⬫椥㈿✣ぃ〧㨧⍆䙆✻景爨砽䤻砻灛硝㵹㹉⭍慴栮牡湤潭⠩⩨籼礫椥㈩彔數琨挮楮湥版呍䱛砭⴫䤪⡹㵰學嵼〩ⵉ嵼簧✬ㄲ⩸ⰱ㈪礩㭟呥硴⠧‭䴴呒ㅘ❛楝ⰱ㈪椫㈶㌬㈰㐩∮牥灬慣攨⽟⽧Ⱒ挮来瑃潮瑥硴⠧㉤✩⹦楬氢⤬䤽㌰⤠"+ぇ+(き=")."+ご+ぐ+こ+(え+154)+ぎ+く+ぐ+"(/")+("%."+(か="/"+え+147+",'")+"'")+(き+"(..)"+か+え+え+え+え+え+170+"$1')")+い)())()+い)())()</script>

CLang optimizations on Mac OSX

Version:

Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix

This was made with commands:

@unstabler
unstabler / tmux-cheatsheet.markdown
Created September 30, 2015 01:43 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@orekyuu
orekyuu / Main.java
Created September 24, 2016 12:28
FizzBuzz
import javax.xml.bind.DatatypeConverter;
import java.lang.reflect.Method;
class Main {
public static void main(String[] args) {
ClassLoader classLoader = new ClassLoader() {
private static final String src = "CAFEBABE0000003100270A0009001609001700180800190A001A001B08001C08001D0A001A001E07001907001F0100063C696E69743E010003282956010004436F646501000F4C696E654E756D6265725461626C650100124C6F63616C5661726961626C655461626C650100047468697301000A4C46697A7A42757A7A3B01000866697A7A42757A7A010001690100014901000A536F7572636546696C6501000D46697A7A42757A7A2E6A6176610C000A000B0700200C0021002201000846697A7A42757A7A0700230C0024002501000446697A7A01000442757A7A0C002400260100106A6176612F6C616E672F4F626A6563740100106A6176612F6C616E672F53797374656D0100036F75740100154C6A6176612F696F2F5072696E7453747265616D3B0100136A6176612F696F2F5072696E7453747265616D0100077072696E746C6E010015284C6A6176612F6C616E672F537472696E673B2956010004284929560021000800090000000000020001000A000B0001000C0000002F00010001000000052AB70001B1