Skip to content

Instantly share code, notes, and snippets.

View yeojoy's full-sized avatar

Yeojong Kim yeojoy

View GitHub Profile
public class CircularProgressDrawable extends Drawable
implements Animatable {
private static final Interpolator ANGLE_INTERPOLATOR = new LinearInterpolator();
private static final Interpolator SWEEP_INTERPOLATOR = new DecelerateInterpolator();
private static final int ANGLE_ANIMATOR_DURATION = 2000;
private static final int SWEEP_ANIMATOR_DURATION = 600;
private static final int MIN_SWEEP_ANGLE = 30;
private final RectF fBounds = new RectF();
@redism
redism / kr_won_to_backquote.sh
Created April 26, 2017 16:20
macOS Sierra에서 원화(₩) 대신 백 쿼트(`) 입력하기
#!/bin/bash
if [ -f ~/Library/KeyBindings/DefaultkeyBinding.dict ]; then
echo "~/Library/KeyBindings/DefaultkeyBinding.dict already exists"
exit -1
fi
mkdir -p ~/Library/KeyBindings
cat << EOF > ~/Library/KeyBindings/DefaultkeyBinding.dict
{
"₩" = ("insertText:", "\`");
[user@host trebuchet]$ ./scripts/run-startup.sh com.kakao.talk .activity.SplashActivity
+ PACKAGE=com.kakao.talk
+ ACTIVITY=.activity.SplashActivity
+ ADB=adb
+ adb root
adbd cannot run as root in production builds
+ adb shell 'am force-stop com.kakao.talk'
+ adb shell 'pm compile -m speed com.kakao.talk'
Success
+ adb shell 'echo 3 > /proc/sys/vm/drop_caches'