Skip to content

Instantly share code, notes, and snippets.

Avatar
😍
Happy Today!

Minho Ryang minhoryang

😍
Happy Today!
View GitHub Profile
@minhoryang
minhoryang / carthage-xcodebuild.2KQtID.log
Created Sep 25, 2015
carthage-xcodebuild.2KQtID.log
View carthage-xcodebuild.2KQtID.log
Build settings from command line:
ONLY_ACTIVE_ARCH = NO
=== BUILD TARGET Alamofire OSX OF PROJECT Alamofire WITH CONFIGURATION Release ===
Check dependencies
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
cd /Volumes/Unsigned/playground-for-ios/Carthage/Checkouts/Alamofire
/Users/minhoryang/Applications/downloaded/Xcode6.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -target x86_64-apple-macosx10.9 -incremental -module-name Alamofire -O -sdk /Users/minhoryang/Applications/downloaded/Xcode6.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -g -module-cache-path /Users/minhoryang/Library/Developer/Xcode/DerivedData/ModuleCache -Xfrontend -serialize-debugging-options -application-extension -I /Users/minhoryang/Library/Developer/Xcode/DerivedData/Alamofire-fnnhggqnpwvdzieobxgagmlgwsjt/Build/Products/Release -F /Users/minhoryang/Library/Developer/Xcode/DerivedData/Alamofire-fnnhggqnpwvdzieobxgagmlgwsjt/Build/Product
View miloshadzic-minhoryang.zsh-theme
# Yay! High voltage and arrows!
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$reset_color%}%{$fg[green]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}⚡%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN=""
PROMPT='%{$fg[cyan]%}%4~%{$reset_color%} %{$fg[red]%}|%{$reset_color%}$(git_prompt_info) %{$fg[cyan]%}⇒%{$reset_color%} '
View App.java
package minhoryang.github.io.jline2_test;
import java.io.IOException;
import jline.TerminalFactory;
import jline.console.ConsoleReader;
/**
* Hello world!
* XXX: starts with Eclipse Default Maven Template.
@minhoryang
minhoryang / solve_it.sh
Created Oct 16, 2015
[Solve It] libffi-3.0.13.tar.gz missing when compiling openwrt
View solve_it.sh
pushd dl
wget http://pkgs.fedoraproject.org/repo/pkgs/libffi/libffi-3.0.13.tar.gz/45f3b6dbc9ee7c7dfbbbc5feba571529/libffi-3.0.13.tar.gz
popd
make #again
# reported https://dev.openwrt.org/ticket/19824
@minhoryang
minhoryang / open-vm-tools--openwrt--build.sh
Last active May 14, 2016
Open-VM-Tools over OpenWRT diffconfig
View open-vm-tools--openwrt--build.sh
export PATH="/home/minhoryang/openwrt/staging_dir/host/bin:$PATH"
export PATH="/home/minhoryang/openwrt/staging_dir/toolchain-x86_64_gcc-4.8-linaro_musl-1.1.11/bin:$PATH"
export PATH="/home/minhoryang/openwrt/staging_dir/target-x86_64_musl-1.1.11/bin:$PATH"
STAGING_PREFIX=/home/minhoryang/openwrt/staging_dir/ \
CFLAGS="-I/home/minhoryang/openwrt/toolchain/musl/include -I/home/minhoryang/openwrt/staging_dir/target-x86_64_musl-1.1.11/usr/include" \
LDFLAGS="-L/home/minhoryang/openwrt/staging_dir/toolchain-x86_64_gcc-4.8-linaro_musl-1.1.11/lib -L/home/minhoryang/openwrt/staging_dir/target-x86_64_musl-1.1.11/lib" \
./configure \
--host=x86_64-openwrt-linux \
--disable-deploypkg \
@minhoryang
minhoryang / import.sh
Last active Oct 24, 2015
나무위키 이미지 이동 업로드 프로젝트
View import.sh
tar xvjf namuwiki150928.tar.bz2
cat namuwiki150928.sql | mysql -h localhost
@minhoryang
minhoryang / install_git_cspro.sh
Last active Jun 24, 2017
RELEASE Tiny Lecture: INSTALL GIT BINARY WITHOUT ROOT/SUDOER @ UBUNTU
View install_git_cspro.sh
mkdir /tmp/git
pushd /tmp/git
# 1. download git
apt-get source git
pushd git-*
# 2. build and install git
./configure --prefix=$HOME/.local/`uname -m`/ # want to install git for my home directory.
make
@minhoryang
minhoryang / getAppleBluetoothBatteryStatus.sh
Created Dec 3, 2015
Get the battery status of Apple Bluetooth Devices
View getAppleBluetoothBatteryStatus.sh
# for Release Friends
ioreg -c BNBMouseDevice | grep BatteryPercent
ioreg -c BNBTrackpadDevice | grep BatteryPercent
ioreg -c AppleBluetoothHIDKeyboard | grep BatteryPercent
@minhoryang
minhoryang / xcode_ramdisk.sh
Created Dec 9, 2015 — forked from derjohng/xcode_ramdisk.sh
Create a RAM disk for using with XCode, with Umount disks method
View xcode_ramdisk.sh
#!/bin/sh
# Create a RAM disk with same perms as mountpoint
# Script based on http://itux.idev.pro/2012/04/iservice-speed-up-your-xcode-%D0%BD%D0%B5%D0%BA%D0%BE%D1%82%D0%BE%D1%80%D1%8B%D0%B5-%D1%81%D0%BF%D0%BE%D1%81%D0%BE%D0%B1%D1%8B/ with some additions
# Usage: sudo ./xcode_ramdisk.sh start
USERNAME=$(logname)
TMP_DIR="/private/tmp"
RUN_DIR="/var/run"
@minhoryang
minhoryang / apply_turnoff.sh
Last active Mar 30, 2017
OS X El Capitan 10.11.2 & OS X Server 5.0.15 - Turn Off Unused Services
View apply_turnoff.sh
sudo -v
for service in `cat turnoff.txt`; do sudo serverctl disable service=$service; done
You can’t perform that action at this time.