Fish is a smart and user-friendly command line (like bash or zsh). This is how you can instal Fish on MacOS and make your default shell.
Note that you need the https://brew.sh/ package manager installed on your machine.
brew install fish
Fish is a smart and user-friendly command line (like bash or zsh). This is how you can instal Fish on MacOS and make your default shell.
Note that you need the https://brew.sh/ package manager installed on your machine.
brew install fish
var noteValues = { | |
'C0': 16.35, | |
'C#0': 17.32, | |
'Db0': 17.32, | |
'D0': 18.35, | |
'D#0': 19.45, | |
'Eb0': 19.45, | |
'E0': 20.60, | |
'F0': 21.83, | |
'F#0': 23.12, |
// connect() is a function that injects Redux-related props into your component. | |
// You can inject data and callbacks that change that data by dispatching actions. | |
function connect(mapStateToProps, mapDispatchToProps) { | |
// It lets us inject component as the last step so people can use it as a decorator. | |
// Generally you don't need to worry about it. | |
return function (WrappedComponent) { | |
// It returns a component | |
return class extends React.Component { | |
render() { | |
return ( |
๊ธ์ด์ด: ๊น์ ์ฃผ([email protected])
์ต๊ทผ ๋ฅ๋ฌ๋ ๊ด๋ จ ํจํค์ง๋ค์ ๋๋ถ๋ถ CPU์ GPU๋ฅผ ํจ๊ป ์ง์ํ๊ณ ์์ต๋๋ค. GPU๋ฅผ ์ฌ์ฉํ๋ฉด ๋ณด๋ค ๋น ๋ฅด๊ฒ ํ์ต ๊ฒฐ๊ณผ๋ฅผ ๋ผ ์ ์์ง๋ง, GPU๋ฅผ ํ์ฉํ๊ธฐ ์ํด์๋ NVIDIA๊ณ์ด์ ๊ทธ๋ํฝ ์นด๋, ๋๋ผ์ด๋ฒ S/W ๊ทธ๋ฆฌ๊ณ CUDA์ ์ค์น๋ฅผ ํ์๋ก ํฉ๋๋ค.
์ด ๊ธ์์๋ AWS์ GPU ์ธ์คํด์ค์ ๋์ปค๋ฅผ ํ์ฉํด ๋ฅ๋ฌ๋ ํจํค์ง(Caffe)๋ฅผ ํธ๋ฆฌํ๊ฒ ์ฌ์ฉํ๋ ๋ฐฉ๋ฒ์ ์๊ฐํฉ๋๋ค.
๊ธ์ด์ด: ๊น์ ์ฃผ([email protected])
์ด ๋ฌธ์๋ ํ ์ํ๋ก์ฐ ๊ณต์ ํ์ด์ง ๋ด์ฉ์ ๋ฐํ์ผ๋ก ๋ง๋ค์ด์ก์ต๋๋ค.
ํ ์ํ๋ก์ฐ(TensorFlow)๋ ๊ธฐ๊ณ ํ์ต๊ณผ ๋ฅ๋ฌ๋์ ์ํด ๊ตฌ๊ธ์์ ๋ง๋ ์คํ์์ค ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ๋๋ค. ๋ฐ์ดํฐ ํ๋ก์ฐ ๊ทธ๋ํ(Data Flow Graph) ๋ฐฉ์์ ์ฌ์ฉํ์์ต๋๋ค.
์๋ ํ์ธ์. ์ฌ์์ฌ์ ๋ถ์ ๋ง๋ฃจ์ผ๋ง@h13i32maru์ ๋๋ค. ์ต๊ทผ์ Web ํ๋ก ํธ์๋์ ๋ณํ๋ ๋งค์ฐ ๊ฒฉ๋ ฌํด์, ์กฐ๊ธ ๋์ ๋ ์ฌ์ด์ ์ ์ ์๋ก์ด ๊ฒ์ด ๋์ค๊ณ ์๋๋ผ๊ตฌ์. ๊ทธ๋ฐ ๊ฒฉ๋ ฌํ ๋ณํ์ค ํ๋๊ฐ ES6์ด๋ผ๋ ์ฐจ์ธ๋ JavaScript์ ์ฌ์์ ๋๋ค. ์ด ES6๋ ํ์ฌ ์ฌ์ ์ค์ผ๋ก ์งํ์์ ์์๋ Draft Rev31์ด ๊ณต๊ฐ๋์ด์์ต๋๋ค.
JavaScript๋ ECMAScript(ECMA262)๋ผ๋ ์ฌ์์ ๊ธฐ๋ฐ์ผ๋ก ๊ตฌํ๋์ด์์ต๋๋ค. ํ์ฌ ๋ชจ๋ํ Web ๋ธ๋ผ์ฐ์ ๋ ECMAScript 5.1th Edition์ ๊ธฐ๋ฐ์ผ๋ก ํ JavaScript์คํ ์์ง์ ํ์ฌํ๊ณ ์์ต๋๋ค. ๊ทธ๋ฆฌ๊ณ ๋ค์ ๋ฒ์ ์ธ ECMAScript 6th Edition์ด ํ์ฌ ์ฌ์ ์ค์ผ๋ก, ์ฝ์นญ์ผ๋ก ES6์ด๋ผ๋ ๋ช ์นญ์ด ์ฌ์ฉ๋๊ณ ์์ต๋๋ค.
/* Create the sweetAlert Service singleton */ | |
function sweetAlertService() { | |
this.success = function(title, message) { | |
swal(title, message,'success'); | |
}; | |
this.error = function(title, message) { | |
swal(title, message,'error'); | |
}; |
height: 650 | |
license: mit |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
/* | |
* MCrypt API available online: | |
* http://linux.die.net/man/3/mcrypt | |
*/ | |
#include <mcrypt.h> |
#Gist๋ฅผ ์ด์ฉํ ์ฝ๋์กฐ๊ฐ๊ด๋ฆฌ ์ด๋ฒ ๊ธ์์๋ Code Snippet์ด๋ผ ๋ถ๋ฆฌ๋ ์ฝ๋์กฐ๊ฐ์ ํจ๊ณผ์ ์ผ๋ก ์ด๋ป๊ฒ ๊ด๋ฆฌํ ์ ์์๊น์ ๋ํ ํ๋์ ๋ฐฉ๋ฒ์ ๋ ผํ๊ณ ์ ํ๋ค. ๊ฐ๋ฐ์ ์งํํ๋ค๋ณด๋ฉด ๋ฌด์ํ ๋ง์ ์ฝ๋๋ฅผ ์์ฑํ๊ฒ ๋๋ค. ๋๋๋ก ์์ฑํ ์ฝ๋ ์ค์ ์ผ๋ถ๋ฅผ ๋์ค์๋ ํ์ฉํด๋ณด๊ธฐ ์ํด ์ฝ๋๋ฅผ ๋ถ๋ฅํ๋ค. ๋์ฒด๋ก ์ด๋ฐ ๊ฒฝ์ฐ ์์ ๋ง์ ๋ฉ๋ชจ์ฅ์ ํ์ฉํ๊ฑฐ๋, ์์ฃผ ์ฌ์ฉํ๋ ์๋ํฐ๋ฅผ ํ์ฉํด์ ์ด๋ฅผ ๊ด๋ฆฌํ๋ ๊ฒฝํฅ์ด ์๋ค. ํ์ง๋ง ์ด๋ฐ ๋ฐฉ๋ฒ์ ์ฝ๋๊ฐ ๋ง์์ง์๋ก ๊ฒ์ํ๊ธฐ๊ฐ ์ฝ์ง ์๊ณ , ๊ฐ๋ฐ์ธ์ด์ ๋ฐ๋ผ ํจ์จ์ ์ผ๋ก ์ฝ๋๋ฅผ ๊ด๋ฆฌํ๊ธฐ๋ ์ด๋ ต๋ค. ๋ํ ๊ฐ๋ฐํ๋ IDEํ๊ฒฝ์์๋ ์์ฝ๊ฒ ์ฌ์ฉํ ์ ์์ผ๋ฉฐ, ์ฌ๋ฌด์ค/์ง ๋ฑ, ์ฌ๋ฌ ์ฅ์์์ ๋์ผํ๊ฒ ์ฌ์ฉํ๋ ๊ฒ๋ ๋ถ๊ฐ๋ฅํ๋ค. (๋ฌผ๋ก Dropbox)์ ๊ฐ์ ํด๋ผ์ฐ๋ ์๋น์ค๋ฅผ ํ์ฉํ๋ฉด ์ด๋์ ๋ ๋ค์ํ ํ๊ฒฝ์์ ํ์ฉ๊ฐ๋ฅํ์ง๋ง ์ด ๋ฐฉ๋ฒ์ ํ์ฌ์ ๊ฐ์ด ๋ณด์ ์์ ์ด์ ๋ก ์๋น์ค๊ฐ ๋งํ ์๋ ๊ณณ์์๋ ์ ๋๋ก ์ ์ฉ์ด ๋ถ๊ฐ๋ฅํ ๋ฌธ์ ๊ฐ ๋ฐ์ํ๋ค.
๋ง์ ์น์ฌ์ดํธ ์กฐ์ฌ๋ฅผ ํตํด ๋ค์ํ Snippet๊ด๋ฆฌ ์๋น์ค๋ฅผ ์ฐพ์๋ดค์ง๋ง, ๊ทธ ์ค์์ ๊ฐ๋ฐ์ ๊ฐ์ฅ ์ ์ฉํ ๋ฐฉ์์ GitHub์์ ์ ๊ณตํ๋ Gist๋ผ๋ ์๋น์ค๋ฅผ ์ด์ฉํ๋ ๊ฒ์ด์๋ค. ๋ฐ๋ผ์ ๋ณธ ์ธ์ ์์๋ Gist๋ฅผ ์ด์ฉํ Snippet๊ด๋ฆฌ ๋ฐฉ์์ ์์๋ณด๊ณ ์ ํ๋ค. ๋ํ ์ต๊ทผ ๊ฐ๊ด๋ฐ๊ณ ์๋ Sublime Text์์ Gistํ๋ฌ๊ทธ์ธ์ ํ์ฉํ์ฌ ์ด๋ป๊ฒ ํจ์จ์ ์ผ๋ก ๊ฐ๋ฐEditor์ ํจ๊ป ์ฌ์ฉํ ์ ์๋์ง๋ ์์๋ณด๊ณ ์ ํ๋ค.
#Gistํ๊ฒฝ ์ ํ
Gist ์ฌ์ฉ์ ์ํด์๋ GitHub ํ์๊ฐ์ ์ ํ๋ค. Github๋ ๋งค์ฐ ์ ๋ช ํ๊ณ ๋๋ฆฌ ํผ์ ธ์๋ ์๋น์ค์ด๋ฏ๋ก ์๋น์ค๊ฐ ์ค๋จ๋ ๊ฑฑ์ ์ ํ์ง ์๊ณ ์ฌ์ฉํ ์ ์๋ค. ์ธ๊ตญ์ฌ์ดํธ์ด๋๋งํผ ํ์์ ๋ณด๋ ๊ณผ๋ํ๊ฒ ์๊ตฌํ์ง ์๋๋ค.