최신 Node.js 설치 및 사용
$
로 시작하는 줄은, 한줄 한줄 복사해서 터미널에서 실행해주셔야합니다.- 터미널을 재시작 하여야 할 수도 있습니다.
- 재시작 후, 현재 작업하는 폴더로 다시 이동해주셔야합니다.
#!/usr/bin/env bash | |
{ set +x; } 2>/dev/null | |
IFS=$'\n' | |
set "$@" $(find ~ -name ".*" ! -name ".CFUserTextEncoding" ! -type l -mindepth 1 -maxdepth 1) # dotfiles | |
set "$@" $(find ~ -name "Google *" -mindepth 1 -maxdepth 1) # Google Drive | |
set "$@" ~/git # store on github/etc :) | |
set "$@" ~/node_modules | |
set "$@" ~/Applications # install apps with brew cask |
{"lastUpload":"2017-08-10T11:51:57.295Z","extensionVersion":"v2.8.2"} |
$
로 시작하는 줄은, 한줄 한줄 복사해서 터미널에서 실행해주셔야합니다.#!/bin/bash | |
import -window $(xwininfo | grep -Po 'Window id: .*? ' | grep -Po '0x.* ') screenshot.jpg |
#!/bin/bash | |
machine=$(python -c "import uuid;print(uuid.uuid4())") | |
# NEEDED: AmazonEC2FullAccess, AmazonEC2SpotFleetRole | |
AWS_ACCESS_KEY_ID=$(aws configure get aws_access_key_id) | |
AWS_DEFAULT_REGION=$(aws configure get region) | |
AWS_SECRET_ACCESS_KEY=$(aws configure get aws_secret_access_key) | |
VPC=$(aws ec2 describe-vpcs | jq -r '.Vpcs[0].VpcId') |
call plug#begin('~/.vim/plugged') | |
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } | |
let g:loaded_netrw = 1 | |
let g:loaded_netrwPlugin = 1 | |
let g:NERDTreeChDirMode = 2 | |
let g:NERDTreeMinimalUI = 1 | |
let g:NERDTreeShowHidden = 1 | |
let g:NERDTreeIgnore=['\.git$', '.DS_Store'] | |
Plug 'Xuyuanp/nerdtree-git-plugin' |
global | |
maxconn 2000 | |
stats socket /tmp/haproxy.socket level admin | |
uid 80 | |
gid 80 | |
nbproc 1 | |
chroot /tmp/haproxy_chroot | |
daemon | |
tune.ssl.default-dh-param 2048 | |
# Modern browser compatibility only as mentioned here: |
// clang -cc1 -analyzer-checker-help | |
// OVERVIEW: Clang Static Analyzer Checkers List | |
// USAGE: -analyzer-checker <CHECKER or PACKAGE,...> | |
// | |
// CHECKERS: | |
// alpha.core.BoolAssignment Warn about assigning non-{0,1} values to Boolean variables | |
// alpha.core.CallAndMessageUnInitRefArg | |
// Check for logical errors for function calls and Objective-C message expressions (e.g., uninitialized arguments, null function pointers, and pointer to undefined variables) | |
// alpha.core.CastSize Check when casting a malloc'ed type T, whether the size is a multiple of the size of T | |
// alpha.core.CastToStruct Check for cast from non-struct pointer to struct pointer |
이 글을 작성하는 시점(2017-01-11)에서 분산 텐서플로우의 관련 자료 부족으로 확실히 분산 학습이 되는지 확인이 되지 않았습니다. 안타깝지만 본 내용은 참고만 하시기 바랍니다.
원문 [https://www.tensorflow.org/how_tos/distributed/] (https://www.tensorflow.org/how_tos/distributed/)
pip install -r requirements.txt
Run the backend server