Skip to content

Instantly share code, notes, and snippets.

View 9bow's full-sized avatar
🤔
doing fewer things better

Junghwan Park 9bow

🤔
doing fewer things better
View GitHub Profile
@9bow
9bow / gh-pages.sh
Created August 14, 2018 06:38 — forked from skratchdot/gh-pages.sh
Initialize gh-pages branch
# create gh-pages branch
git checkout --orphan gh-pages
git rm -rf .
touch README.md
git add README.md
git commit -m 'initial gh-pages commit'
git push origin gh-pages
# add gh-pages as submodule
git checkout master
@9bow
9bow / get-letsencrypt-wildcard-cert.sh
Created May 8, 2018 02:16 — forked from ziozzang/get-letsencrypt-wildcard-cert.sh
This docs show how to issuing wildcard cert(by Let's Encrypt) with docker and DNS challenge. no need to install any software.
EMAIL="foo@barcom"
DOMAINS="example.com"
###################################################################
# Renewing
docker run \
-it --rm \
-v /opt/letsencrypt/:/etc/letsencrypt/ \
-v /opt/letsencrypt/logs/:/var/log/letsencrypt/ \
@9bow
9bow / PrizeLottery
Last active April 18, 2018 08:36
Google Script for choosing the random name of the survey winner used in meetup.
function onOpen(e) {
// Where the menu button defined
SpreadsheetApp.getUi().createMenu('Vuetiful').addItem('추첨~ 얍!', 'randomPick').addToUi();
}
function randomPick() {
var sss = SpreadsheetApp.getActiveSpreadsheet();
var ss = sss.getSheetByName('Form Responses 1'); // <- Check the sheet name
var range = ss.getRange(1,1,ss.getLastRow(), 3); // <- Check the last parameter: how many cells to fetch (first 3)
var data = range.getValues();

Keybase proof

I hereby claim:

  • I am 9bow on github.
  • I am ninebow (https://keybase.io/ninebow) on keybase.
  • I have a public key ASBSEIQpNWXjlFXcRRkum78cEOAPc8PwOf6pHXSEowt9Xwo

To claim this, I am signing this object: