Cerebro Search - OS X Spotlight ๊ฒ€์ƒ‰

๋ฐ˜์‘ํ˜•

๊ฐ„๋‹จํ•œ ํ”„๋กœ๊ทธ๋žจ์„ ํ•˜๋‚˜ ์†Œ๊ฐœํ•ด๋ณด๊ณ ์ž ํ•ฉ๋‹ˆ๋‹ค. 


OS X์˜ UI/UX๋ฅผ ๋„ˆ๋ฌด ์ข‹์•„ํ•˜๋Š” ๋‚˜๋จธ์ง€ ์ฐจ๋งˆ Macbook ๊ตฌ์ž…ํ•˜๋Š” ๊ฒƒ์€ ๋ชปํ•˜๊ณ , Ubuntu Linux์— Mac OS X ๋ƒ„์ƒˆ๋ฅผ ํ’๊ธฐ์›Œ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์ง€๋งŒ, ์‚ฌ์‹ค ์ €๋Š” OS X ๋ณด๋‹ค๋Š” Linux๋ฅผ ๋” ์ข‹์•„ํ•˜๋Š” ๊ฐœ๋ฐœ์ž์ž…๋‹ˆ๋‹ค.



Spotlight Search

OS X์—๋Š” Spotlight ๊ฒ€์ƒ‰์ด ์žˆ์Šต๋‹ˆ๋‹ค. Spotlight ๊ฒ€์ƒ‰์€ ๊ฒ€์ƒ‰ ์œ„์ ฏ๋ฐ”์™€ ๋น„์Šทํ•œ ๊ฒƒ์„ ๋„์›Œ ๋งˆ์น˜ Windows์˜ ์‹คํ–‰ ์ฐฝ์—์„œ ๋ชจ๋“  ์ปค๋งจ๋“œ๋ฅผ ๋™์ž‘์‹œํ‚ค๊ณ , ๊ฒŒ๋‹ค๊ฐ€ ์›น์ด๋ž‘ ์—ฐ๋™ํ•ด ์›ํ•˜๋Š” ๊ฒ€์ƒ‰์„ ๋„์›Œ์ฃผ๊ธฐ๋„ ํ•˜๋Š” OS X ์˜ ์œ ์šฉํ•œ ์œ ํ‹ธ๋ฆฌํ‹ฐ ๋„๊ตฌ ์ค‘ ํ•˜๋‚˜์ž…๋‹ˆ๋‹ค.


์ด๋Ÿฐ ๋น„์Šทํ•œ ๊ธฐ๋Šฅ์˜ ํ”„๋กœ๊ทธ๋žจ์—๋Š” Linux์—์„œ Albert์ด๋ผ๊ณ  ํ•˜๋Š” ํ”„๋กœ๊ทธ๋žจ์ด ์กด์žฌํ•ฉ๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ Albert์€ ์ผ๋ฐ˜ ์‘์šฉ ํ”„๋กœ๊ทธ๋žจ์ž„์—๋„ ๋ถˆ๊ตฌํ•˜๊ณ , ์žฆ์€ ๋ ‰๊ณผ ๋ฒ„๊ทธ๋กœ ์ธํ•ด ์ž˜ ์‚ฌ์šฉํ•˜์ง€ ์•Š๊ฒŒ ๋˜์—ˆ์ฃ . ๊ทธ๋Ÿฌ๋˜ ์ค‘ ๊ทธ์™€ ๋น„์Šทํ•œ ์ข‹์€ ํ”„๋กœ๊ทธ๋žจ์„ ๋ฐœ๊ฒฌํ–ˆ์Šต๋‹ˆ๋‹ค.


Cerebro Search


Cerebero Search ํ”„๋กœ๊ทธ๋žจ์€ Linux, Windows, ์‹ฌ์ง€์–ด OS X ์—์„œ๋„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” Node.js ๊ธฐ๋ฐ˜์˜ ์›น ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์ž…๋‹ˆ๋‹ค.


๊ตฌ๊ธ€ ๋ฒˆ์—ญ์ด๋‚˜ Stackoverflow ๋“ฑ์˜ 3rd party ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์ง€์›ํ•˜๊ณ  ์žˆ๊ณ , React.js๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์–ด ๋”์šฑ Flexibleํ•œ ๊ฒฐ๊ณผ๋ฅผ ๋ณด์‹ค ์ˆ˜ ์žˆ์–ด ๊ฝค ์œ ์šฉํ•œ ํ”„๋กœ๊ทธ๋žจ์ž…๋‹ˆ๋‹ค.

(์‹ฌ์ง€์–ด kill ํ”Œ๋Ÿฌ๊ทธ์ธ๋„ ์กด์žฌํ•˜๋Š”๋ฐ, ๋ง๊ทธ๋Œ€๋กœ ํ”„๋กœ์„ธ์Šค๋ฅผ ๊ฐ•์ œ ์ข…๋ฃŒ ์‹œํ‚ฌ ์ˆ˜๋„  ์žˆ์Šต๋‹ˆ๋‹ค ใ„ฑ-;;)




Node ์„ค์น˜

์ €๋Š” Linux์— ์ด ํ”„๋กœ๊ทธ๋žจ์„ ์„ค์น˜ํ•ด๋ดค์Šต๋‹ˆ๋‹ค๋งŒ Windows์—์„œ๋„ ์ง€์›ํ•˜๊ณ  ์žˆ์–ด, ์•„๋งˆ Windows์—์„œ๋„ ์„ค์น˜ํ•  ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค. Cerebro Search๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” ๋นŒ๋“œ๋ฅผ ์œ„ํ•ด ๋จผ์ € Node์™€ npm์ด ์„ค์น˜๋˜์–ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.


๊ทธ๋Ÿฐ๋ฐ, ์šฐ๋ถ„ํˆฌ์—์„œ ์ œ๊ณตํ•˜๋Š” ๊ธฐ๋ณธ ๋ ˆํฌ์ง€ํ„ฐ๋ฆฌ์—์„œ nodejs๋ฅผ ์„ค์น˜ํ•˜๋ คํ•˜๋‹ˆ node ๋ฒ„์ „์ด Cerebro Search์™€ ํ˜ธํ™˜๋˜์ง€ ์•Š๋Š” 4.2.0 ๋ฒ„์ „์ด ์„ค์น˜๋˜๊ณ  ์žˆ์Œ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Cerebro Search๋Š” node 6.2 ๋ฒ„์ „์„ ๊ถŒ์žฅํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋ž˜์„œ ์™ธ๋ถ€ ๋ ˆํฌ์ง€ํ„ฐ๋ฆฌ๋ฅผ ์ถ”๊ฐ€ํ•˜์—ฌ node 6.2 ๋ฒ„์ „์„ ์„ค์น˜ํ•˜๋„๋ก ํ•ฉ๋‹ˆ๋‹ค.


$ sudo vim /etc/apt/source.list.d/node-6.x.list

ํŒŒ์ผ ํ•œ ๊ฐœ๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. ์ƒ์„ฑ ํ›„, vim ์œผ๋กœ ๋ถˆ๋Ÿฌ์˜จ ํ›„, ์•„๋ž˜์˜ ๋‚ด์šฉ์„ ์ถ”๊ฐ€ํ•ด์ค๋‹ˆ๋‹ค.


deb https://deb.nodesource.com/node_6.x [์ž์‹ ์ด ํ˜„์žฌ ์“ฐ๊ณ  ์žˆ๋Š” ์šฐ๋ถ„ํˆฌ ๋ฒ„์ „์˜ ์ฝ”๋“œ๋„ค์ž„] main
deb-src https://deb.nodesource.com/node_6.x [์ž์‹ ์ด ํ˜„์žฌ ์“ฐ๊ณ  ์žˆ๋Š” ์šฐ๋ถ„ํˆฌ ๋ฒ„์ „์˜ ์ฝ”๋“œ๋„ค์ž„] main

์œ„์˜ ๋‚ด์šฉ์„ ์ถ”๊ฐ€ํ•ด์ค๋‹ˆ๋‹ค. ํ˜„์žฌ ์ž์‹ ์ด ์“ฐ๊ณ  ์žˆ๋Š” ์šฐ๋ถ„ํˆฌ ๋ฒ„์ „์˜ ์ด๋ฆ„์„ ๋ชจ๋ฅผ ๊ฒฝ์šฐ, ์•„๋ž˜์˜ ๋ช…๋ น์–ด๋ฅผ ์‚ฌ์šฉํ•ด ๋ด…๋‹ˆ๋‹ค.


$ lsb_release -c 

์œ„ ๋ช…๋ น์–ด๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด CodeName: xxxx ๊ฐ€ ๋‚˜์˜ค๋Š”๋ฐ, xxxx ๋ถ€๋ถ„์„ ์ž…๋ ฅํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.


$ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -

๋ ˆํฌ์ง€ํ„ฐ๋ฆฌ ์ถ”๊ฐ€ ํ›„, vim์„ ๋‚˜์˜จ ๋‹ค์Œ, ์œ„ ๋ช…๋ น์–ด๋ฅผ ์ด์šฉํ•ด ๊ณต๊ฐœํ‚ค๋„ ๊ฐ™์ด ์ถ”๊ฐ€ํ•ด์ค๋‹ˆ๋‹ค.


$ sudo apt update

ํŒจํ‚ค์ง€ ๋ชฉ๋ก์„ ์ตœ์‹ ํ™”ํ•ฉ๋‹ˆ๋‹ค.


$ sudo apt install nodejs npm

๋ชจ๋‘ ์ •์ƒ์ ์œผ๋กœ ๋๋‚ฌ์œผ๋ฉด nodejs๋ฅผ ์„ค์น˜ํ•ด์ค๋‹ˆ๋‹ค. ๊ทธ๋Ÿผ ์ƒˆ๋กœ์šด ๋ ˆํฌ์ง€ํ„ฐ๋ฆฌ์—์„œ 6.x ๋ฒ„์ „์˜ node๋ฅผ ์„ค์น˜ํ•  ๊ฒƒ์ž…๋‹ˆ๋‹ค.


Download Cerebro App


์œ„ ๋ฒ„ํŠผ์„ ์ด์šฉํ•ด, Linux์šฉ Cerebro App์„ ๋‹ค์šด๋กœ๋“œ ๋ฐ›์œผ์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค.


๊ฐ์ข… ์„ค์ •๊ณผ ํ”Œ๋Ÿฌ๊ทธ์ธ

Cerebro App์˜ ์„ค์ •์€ ์ƒ๋‹จ์˜ Status Bar์˜ ์•„์ด์ฝ˜์—์„œ ๋งˆ์šฐ์Šค ํด๋ฆญ์œผ๋กœ๋„ ๊ฐ€๋Šฅํ•˜์ง€๋งŒ, Cerebro Search์— Settings๋งŒ ์ž…๋ ฅํ•˜๋ฉด ๋ฐ”๋กœ Cerebro Settings ๋ฉ”๋‰ด๊ฐ€ ๋‚˜์˜ค๊ธฐ ๋•Œ๋ฌธ์— ํ‚ค๋ณด๋“œ๋กœ ํŽธํ•œ ์„ค์ •์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.


์„ค์ •์€ ์ƒ๊ฐ๋ณด๋‹ค ๋งŽ์ง€ ์•Š์Šต๋‹ˆ๋‹ค. UI ์„ค์ •์œผ๋กœ ์–ด๋‘์šด ์ƒ‰๊ณผ ๋ฐ์€ ์ƒ‰์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๊ณ , ๊ธฐ๋ณธ์€ Control + Space์ง€๋งŒ, ์ œ๊ฐ€ ์“ฐ๋Š” IDE ํˆด์˜ ๋‹จ์ถ•ํ‚ค์™€ ๊ฒน์ณ์„œ, ์ €๋Š” Control + r ์„ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.


ํ”Œ๋Ÿฌ๊ทธ์ธ์˜ ์„ค์น˜ ๋˜ํ•œ, plugins ๋งŒ ์ž…๋ ฅํ•ด์ฃผ๋ฉด, ์ž๋™์œผ๋กœ ํ”Œ๋Ÿฌ๊ทธ์ธ ๋ชฉ๋ก์„ ๋ณด์—ฌ์ฃผ๊ณ , ์›ํ•˜๋Š” ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์„ ํƒํ•ด Install ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด, ์ƒ๊ฐ๋ณด๋‹ค ๋นจ๋ฆฌ ์„ค์น˜๊ฐ€ ๋˜๋ฉด์„œ ๋ฐ”๋กœ ์‚ฌ์šฉํ•˜์‹ค ์ˆ˜๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค.


์ œ๊ฐ€ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋Š” ํ”Œ๋Ÿฌ๊ทธ์ธ์€ hash, timezones, stackoverflow, kill, linux-system ์ •๋„์ž…๋‹ˆ๋‹ค.

๋ฐ˜์‘ํ˜•
TAGS.

Tistory Comments