This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
directory=_site | |
branch=gh-pages | |
build_command() { | |
jekyll build | |
} | |
echo -e "\033[0;32mDeleting old content...\033[0m" | |
rm -rf $directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.github.sangsoonam; | |
import android.content.Context; | |
import android.graphics.Bitmap; | |
import android.renderscript.Allocation; | |
import android.renderscript.Element; | |
import android.renderscript.RenderScript; | |
import android.renderscript.ScriptIntrinsicBlur; | |
import com.squareup.picasso.Transformation; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install the plugins and build the static site | |
gitbook install && gitbook build | |
# checkout to the gh-pages branch | |
git checkout gh-pages | |
# pull the latest updates | |
git pull origin gh-pages --rebase | |
# copy the static site files into the current directory. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.google.common.base.Defaults; | |
import com.google.common.primitives.Primitives; | |
import java.lang.reflect.Array; | |
import java.lang.reflect.InvocationHandler; | |
import java.lang.reflect.Method; | |
import java.lang.reflect.Proxy; | |
public final class Dummy { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on run {input, parameters} | |
tell application "System Events" | |
keystroke "c" using {command down} -- Copy | |
end tell | |
tell application "Wunderlist" | |
activate | |
tell application "System Events" | |
tell process "Wunderlist" | |
keystroke "n" using {command down} -- Add New Item |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package android.support.v7.widget; | |
import android.content.Context; | |
import android.util.AttributeSet; | |
import android.view.View; | |
/** | |
* Bug fixed version of GridLayoutManager | |
* Created by SangsooNam on 20/09/15. | |
* <p/> |