Skip to content

Instantly share code, notes, and snippets.

View serithemage's full-sized avatar
🏠
Working from home

Jung Do Hyun serithemage

🏠
Working from home
View GitHub Profile
cd ~/
sudo yum install ruby -y
sudo amazon-linux-extras install epel -y > /dev/null 2>&1
sudo yum install figlet -y
echo "ruby version"
ruby --version
if [ -f ~/master.zip ]
then
echo "lolcat master.zip already download"
@serithemage
serithemage / 2017_csat_mathematics_type_ga.ipynb
Created April 6, 2019 01:52
2017_CSAT_Mathematics_Type_GA.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@serithemage
serithemage / setup-for-d2l.ipynb
Last active November 18, 2019 01:52
Setup for D2L.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@serithemage
serithemage / apache-mxnet-gluon-on-colab.ipynb
Created September 29, 2019 00:05
Apache MXNet/gluon on Colab.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@serithemage
serithemage / konlpy+mecab_install_to_amazon_linux2.sh
Last active November 5, 2019 22:15
konlpy와 mecab을 amazon linux2에 인스톨하는 스크립트입니다
#!/bin/bash
sudo amazon-linux-extras install epel
sudo yum install -y https://packages.groonga.org/centos/groonga-release-latest.noarch.rpm
sudo yum install -y -enablerepo=epel groonga
sudo yum install -y gcc-c++ java-1.8.0-openjdk-devel python-devel python3-devel fontconfig fontconfig-devel libstdc++
sudo yum install mecab mecab-devel mecab-ipadic git make curl xz patch
sudo pip3 install konlpy
@serithemage
serithemage / mxnet_on_colab.ipynb
Last active September 11, 2018 04:16
mxnet_on_colab.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@serithemage
serithemage / autostop_instances.py
Last active December 29, 2017 06:27
An AWS Lambda function that stops all instances that are not protect tagged
import boto3
import logging
# setup simple logging for INFO
logger = logging.getLogger()
logger.setLevel(logging.INFO)
client = boto3.client('ec2')
runningInstanceFilter = [