Skip to content

Instantly share code, notes, and snippets.

View wanyu-lin's full-sized avatar
🎯
The bright side

Wanyu Lin wanyu-lin

🎯
The bright side
View GitHub Profile
@wanyu-lin
wanyu-lin / gist:e5838b3134924b7a41d5e5246cce19b6
Created April 21, 2019 23:43 — forked from richfitz/gist:2324707
Install MinionPro on OSX
#!/bin/sh
## Information
## http://carlo-hamalainen.net/blog/2007/12/11/installing-minion-pro-fonts/
## http://www.ctan.org/tex-archive/fonts/mnsymbol/
## 0: Install
## http://www.lcdf.org/type/
## I used --without-kpathsea to configure (with MacTeX 2011):
##
## ./configure --without-kpathsea
@wanyu-lin
wanyu-lin / spsa.py
Created May 24, 2018 14:55 — forked from yanatan16/spsa.py
Simultaneous Perturbation Stochastic Approximation code in python
'''
Simultaneous Perturbation Stochastic Approximation
Author: Jon Eisen
License: MIT
This code defines runs SPSA using iterators.
A quick intro to iterators:
Iterators are like arrays except that we don't store the whole array, we just
store how to get to the next element. In this way, we can create infinite
iterators. In python, iterators can act very similar to arrays.
@wanyu-lin
wanyu-lin / README.md
Created April 26, 2018 21:16 — forked from hofmannsven/README.md
My simply Git Cheatsheet