Skip to content

Instantly share code, notes, and snippets.

@yjpark
yjpark / keybase.md
Last active September 14, 2019 16:39

Keybase proof

I hereby claim:

  • I am yjpark on github.
  • I am yjpark (https://keybase.io/yjpark) on keybase.
  • I have a public key ASDnSlLMVcumMBJGv9gS5XiTdbJm2xWqu_Ib3pL73foHVwo

To claim this, I am signing this object:

/*
* Copyright (C) 2017 Alberts Muktupāvels
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@yjpark
yjpark / create_labels.sh
Created May 13, 2016 05:34 — forked from omegahm/create_labels.sh
Create Gtihub labels from Bash
#!/usr/bin/env bash
# Colours picked from https://robinpowered.com/blog/best-practice-system-for-organizing-and-tagging-github-issues/
###
# Label definitions
###
declare -A LABELS
# Platform
@yjpark
yjpark / gypify.py
Last active August 29, 2015 14:21 — forked from sixman9/gypify.py
#!/usr/bin/python
#gypify.py for GYP (http://code.google.com/p/gyp)
#Found @ http://code.google.com/p/gyp/issues/detail?id=82 (Oct 1, 2009)
#Download original @ http://gyp.googlecode.com/issues/attachment?aid=1601673567448205219&name=gypify.py&token=qm9EhXN3mZxrS1pniUgsh5nG6Bs%3A1328804204976
#Attached is a script that converts a set of existing Chromium-dependent
#.sln and .vcproj files to .gyp. It currently supports executable, shared
#library, static library and build event projects. The output .gyp file is
#created by:
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
@yjpark
yjpark / cvimrc
Last active August 29, 2015 14:12
" https://gist.github.com/yjpark/27301af644bec5c4a9d4
" settings
let barposition = "top"
set cncpcompletion
let hintcharacters = "aoeuidhtnspyfgcrlqjkxbmwvz,"
" mappings
map ; :
@yjpark
yjpark / IwGamePlatformDisplayMarm.cpp
Created October 5, 2014 00:56
Hacky fix on android device might have wrong orientation (IwGame 0.40, Marmalade 6)
//
//
// IwGame - Cross Platform Multi-purpose Game Engine using the Marmalade SDK
//
// Developed by Matthew Hopwood of Pocketeers Limited - www.pocketeers.co.uk
//
// For updates, tutorials and more details check out my blog at www.drmop.com
//
// This code is provided free of charge and without any warranty whatsoever. The only restriction to its usage is that this header must remain intact and visible in all IwGame engine Displays.
// If you use this engine in your product then please ensure that you credit IwGame's usage appropriately. Please see http://www.drmop.com/index.php/iwgame-engine/ for licensing details and support