Skip to content

Instantly share code, notes, and snippets.

View code-machina's full-sized avatar
😌
Humble

GB Kim code-machina

😌
Humble
View GitHub Profile
@code-machina
code-machina / ubuntu-geth-install.sh
Last active December 9, 2018 05:37
Install Geth in Ubuntu 16.04
# Install golang
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt-get update
sudo apt-get install golang-go
# check golang version
go version
# Install Ethereum
@code-machina
code-machina / index.html
Created November 28, 2018 22:45
React Tutorial
<div id="root" />
@code-machina
code-machina / tor_sock_curl.sh
Created November 27, 2018 04:46
Http Request Using Tor socket
for ((c=1; c<=200; c++)) do
HTTP_URL
curl -s --socks5-hostname 127.0.0.1:9050 '$HTTP_URL' -o /dev/null -w "\nStatus: %{http_code}\n" &
# curl --socks5-hostname 127.0.0.1:9050 'https://api.ipify.org?format=json'&
# echo "\n" >> test.out
done
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@code-machina
code-machina / handson-docker-swarm.sh
Created November 22, 2018 06:54
Hands-on : Docker swarm
# 아래의 링크를 참조하여 간단히 작성한다.
# https://subicura.com/2017/02/25/container-orchestration-with-docker-swarm.html