I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
var rand = function() { | |
return Math.random().toString(36).substr(2); // remove `0.` | |
}; | |
var token = function() { | |
return rand() + rand(); // to make it longer | |
}; | |
token(); // "bnh5yzdirjinqaorq0ox1tf383nb3xr" |
Android Bluetooth๋ฅผ ๊ฐ๋ฐํ๊ธฐ์ ์ Bluetooth ํต์ ์๋ํ ์ฝ๊ฐ์ ์ดํด๊ฐ ํ์ํฉ๋๋ค.
Bluetooth Process๋ฅผ ๊ฐ๋จํ ์ค๋ช
ํ์๋ฉด ์ฃผ๋ณ์ ์ฐ๊ฒฐํ๋ ค๋ ๋๋ฐ์ด์ค๋ฅผ ์ฐพ๊ณ
์ฐพ์ ๊ธฐ๊ธฐ์ค ์ฐ๊ฒฐํ ๊ธฐ๊ธฐ์ ์ธ์ฆ์ ๋ฐ์ ํ ๊ทธ๋ฆฌ๊ณ ๋์ ํต์ ์ ํฉ๋๋ค.
์ด ๋ด์ฉ์ ํฌ๊ฒ Discovery,Pairing,Connection,Streaming 4๊ฐ์ง STEP์ผ๋ก ๋๋์ ์์ต๋๋ค.
์ฃผ๋ณ ๋๋ฐ์ด์ค ๊ฒ์ ํฉ๋๋ค
- Discovery๋ ์ฃผ๋ณ์ ๋ธ๋ฃจํฌ์ค์ ์ฐ๊ฒฐ ๊ฐ๋ฅํ ๋๋ฐ์ด์ค๋ฅผ ๊ฒ์ํ๋๊ฒ ์ ๋๋ค.
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com
, example2.com
, and example1.com/images
on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
[alias] | |
recent = "!git for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)' | head -n 10" | |
co = checkout | |
cob = checkout -b | |
coo = !git fetch && git checkout | |
br = branch | |
brd = branch -d | |
brD = branch -D | |
merged = branch --merged | |
st = status |
location ~* ^/s3/(.*) { | |
set $bucket '<REPLACE WITH YOUR S3 BUCKET NAME>'; | |
set $aws_access '<REPLACE WITH YOUR AWS ACCESS KEY>'; | |
set $aws_secret '<REPLACE WITH YOUR AWS SECRET KEY>'; | |
set $url_full "$1"; | |
set_by_lua $now "return ngx.cookie_time(ngx.time())"; | |
set $string_to_sign "$request_method\n\n\n\nx-amz-date:${now}\n/$bucket/$url_full"; | |
set_hmac_sha1 $aws_signature $aws_secret $string_to_sign; | |
set_encode_base64 $aws_signature $aws_signature; |
// UDP Sample Client | |
// UDP ๆฅ็ถๅ | |
var host = "localhost"; | |
var c_port = 41234; | |
var dgram = require("dgram"); | |
var client = dgram.createSocket("udp4"); | |
// ใตใผใใซ้ไฟกใใใกใใปใผใธ | |
// var message = new Buffer("hello"); |
While this gist has been shared and followed for years, I regret not giving more background. It was originally a gist for the engineering org I was in, not a "general suggestion" for any React app.
Typically I avoid folders altogether. Heck, I even avoid new files. If I can build an app with one 2000 line file I will. New files and folders are a pain.
์๋ ํ์ธ์. ์ฌ์์ฌ์ ๋ถ์ ๋ง๋ฃจ์ผ๋ง@h13i32maru์ ๋๋ค. ์ต๊ทผ์ Web ํ๋ก ํธ์๋์ ๋ณํ๋ ๋งค์ฐ ๊ฒฉ๋ ฌํด์, ์กฐ๊ธ ๋์ ๋ ์ฌ์ด์ ์ ์ ์๋ก์ด ๊ฒ์ด ๋์ค๊ณ ์๋๋ผ๊ตฌ์. ๊ทธ๋ฐ ๊ฒฉ๋ ฌํ ๋ณํ์ค ํ๋๊ฐ ES6์ด๋ผ๋ ์ฐจ์ธ๋ JavaScript์ ์ฌ์์ ๋๋ค. ์ด ES6๋ ํ์ฌ ์ฌ์ ์ค์ผ๋ก ์งํ์์ ์์๋ Draft Rev31์ด ๊ณต๊ฐ๋์ด์์ต๋๋ค.
JavaScript๋ ECMAScript(ECMA262)๋ผ๋ ์ฌ์์ ๊ธฐ๋ฐ์ผ๋ก ๊ตฌํ๋์ด์์ต๋๋ค. ํ์ฌ ๋ชจ๋ํ Web ๋ธ๋ผ์ฐ์ ๋ ECMAScript 5.1th Edition์ ๊ธฐ๋ฐ์ผ๋ก ํ JavaScript์คํ ์์ง์ ํ์ฌํ๊ณ ์์ต๋๋ค. ๊ทธ๋ฆฌ๊ณ ๋ค์ ๋ฒ์ ์ธ ECMAScript 6th Edition์ด ํ์ฌ ์ฌ์ ์ค์ผ๋ก, ์ฝ์นญ์ผ๋ก ES6์ด๋ผ๋ ๋ช ์นญ์ด ์ฌ์ฉ๋๊ณ ์์ต๋๋ค.