Skip to content

Instantly share code, notes, and snippets.


Vince Yuan vinceyuan

View GitHub Profile
vinceyuan / RSTimingFunction.h
Created Jan 15, 2017 — forked from raphaelschaad/RSTimingFunction.h
All the cool animation curves from `CAMediaTimingFunction` but not limited to use with CoreAnimation. See what you can do with cubic Bezier curves here: To get started just "Download Gist", throw the .h and .m files into your Xcode project and you're good to go!
View RSTimingFunction.h
// RSTimingFunction.h
// Created by Raphael Schaad on 2013-09-28.
// This is free and unencumbered software released into the public domain.
#import <Foundation/Foundation.h>
vinceyuan / .vimrc
Created May 30, 2016
My vim configuration
View .vimrc
execute pathogen#infect()
syntax on
filetype plugin indent on
set number
set rnu
set tabstop=4 shiftwidth=4 smarttab
colorscheme molokai
set cursorline " Highlight current cursor line
set autoread " Auto reload when file changed by other programs
vinceyuan / redis-server-per-project
Last active Jan 30, 2020
Init script to start/stop redis-server for CentOS or amazon ec2 linux ami. You can run multiple redis-server on one server with this script. Just copy and replace 'per-project' with your project name in this file for each project.
View redis-server-per-project
# From -
# redis - this script starts and stops the redis-server daemon
# Originally from -
# Modified by Vince Yuan
# chkconfig: - 85 15
# description: Redis is a persistent key-value database
# processname: redis-server