Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

YeJun Su goofansu

🏠
Working from home
Block or report user

Report or block goofansu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@goofansu
goofansu / .dockerignore
Created Aug 19, 2019
Build docker image for Elixir release
View .dockerignore
**/node_modules
priv/static
@goofansu
goofansu / install.sh
Last active Aug 19, 2019
Install Elixir compile environment on Ubuntu
View install.sh
#!/bin/bash
# erlang & elixir
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
sudo apt update sudo apt install -y erlang elixir
# nodejs
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt install -y nodejs
@goofansu
goofansu / post.jsx
Created Jul 2, 2019
Add disqus-react component in blog post
View post.jsx
const post = props.data.markdownRemark
const postTitle = post.frontmatter.title
const disqusShortname = props.data.site.siteMetadata.social.disqusShortname
const disqusConfig = {
url: props.location.href,
identifier: postTitle,
title: postTitle,
}
View keybase.md

Keybase proof

I hereby claim:

  • I am goofansu on github.
  • I am goofansu (https://keybase.io/goofansu) on keybase.
  • I have a public key ASBU12U7vWM6YMWGJqxMrCWrtGFGeYQqNftGl15Qig2TtAo

To claim this, I am signing this object:

You can’t perform that action at this time.