This file contains 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
# 아래의 링크를 참조하여 간단히 작성한다. | |
# https://subicura.com/2017/02/25/container-orchestration-with-docker-swarm.html |
This file contains 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
# 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 -> |
This file contains 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
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 |
This file contains 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
<div id="root" /> |
This file contains 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 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 |
This file contains 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
{ | |
"config": { | |
"chainId": 33, | |
"homesteadBlock": 0, | |
"eip155Block": 0, | |
"eip158Block": 0 | |
}, | |
"nonce": "0x0000000000000033", | |
"timestamp": "0x0", | |
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", |
This file contains 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
wget https://gist.githubusercontent.com/code-machina/2ccfe2843bb8777394f7adf6bb8707d8/raw/1bd98178b34f02aa1d00b9e0c5a0821c3ac60ff6/genesis.json |
This file contains 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
<!-- nuxt-link 를 사용하여 Navigate 와 Link 를 다룰 수 있음 | |
to attribute : navigate 경로를 지정--> | |
<template> | |
<section class="container"> | |
<nuxt-link to="/users">Users</nuxt-link> | |
</section> | |
</template> | |
<script> | |
import Logo from '~/components/Logo.vue' |
This file contains 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
using System; | |
namespace DotNetDesignPatternDemos.SOLID.InterfaceSegregationPrinciple | |
{ | |
public class Document | |
{ | |
} | |
public interface IMachine | |
{ |
This file contains 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
# ethereum 마이닝이 진행 중인지 확인한다. | |
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0", "method":"eth_mining","params":[], "id":10}' ${RPC_HOST}:8545 | |
# output: {"jsonrpc":"2.0","id":10,"result":true} |
OlderNewer