Skip to content

Instantly share code, notes, and snippets.

@yukku
yukku / install.sh
Last active March 16, 2021 14:33
macOS setup
# install brew ###############################################################################################
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# install essential ##########################################################################################
brew install yank flow pyenv neovim watchman postgresql python node terminal-notifier tree hh nmap peco fzf
# Shell formatter
brew install shfmt
@yukku
yukku / CMakeLists.txt
Last active April 22, 2018 23:14
Cinder CMakeLists.txt
cmake_minimum_required( VERSION 2.8 FATAL_ERROR )
set( CMAKE_VERBOSE_MAKEFILE ON )
project( cinder-boilerplate )
get_filename_component( CINDER_PATH "/Users/yukik/Projects/lib-source/Cinder" ABSOLUTE )
get_filename_component( APP_PATH "/Users/yukik/Projects/cinder-boilerplate" ABSOLUTE )
include( "${CINDER_PATH}/proj/cmake/modules/cinderMakeApp.cmake" )
set -x PYTHONPATH $HOME/Projects/lib-source/caffe/python $PYTHONPATH
@yukku
yukku / sublime-project
Last active April 11, 2018 21:49
sublime-project config
{
"build_systems":
[
{
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"name": "face-interpolate run app",
"selector": "source.python",
"shell_cmd": "\"sh\" \"$folder/main.sh\""
},
{
@yukku
yukku / Makefile.config
Created April 7, 2018 16:19
caffe-1.0 Makefile.config example
## Refer to http://caffe.berkeleyvision.org/installation.html
# Contributions simplifying and improving our build system are welcome!
# cuDNN acceleration switch (uncomment to build with cuDNN).
# USE_CUDNN := 1
# CPU-only switch (uncomment to build without GPU support).
CPU_ONLY := 1
# uncomment to disable IO dependencies and corresponding data layers
@yukku
yukku / build-caffe.md
Created April 7, 2018 15:26 — forked from kylemcdonald/build-caffe.md
How to build Caffe for OS X.

Theory of Building Caffe on OS X

Introduction

Our goal is to run python -c "import caffe" without crashing. For anyone who doesn't spend most of their time with build systems, getting to this point can be extremely difficult on OS X. Instead of providing a list of steps to follow, I'll try to explain why each step happens.

This page has OS X specific install instructions.

I assume:

ffmpeg -i $1 -movflags faststart -c copy -bsf:a aac_adtstoasc $2