-
varλfunction-scopedμ΄κ³ ,let,constλblock-scopedμ λλ€. -
function-scopedμblock-scopedκ° λ¬΄μ¨λ§μ΄λ?
This file contains hidden or 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
| var path = require('path') | |
| module.exports = { | |
| entry: { | |
| app: './src/main.js' | |
| }, | |
| output: { | |
| path: path.resolve(__dirname, '../dist/static'), | |
| publicPath: '/static/', | |
| filename: '[name].js' |
This file contains hidden or 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
| /* | |
| λκ° νΌμ¦κ°μ RxSwift μ§λ¬Έμ λλ€. | |
| μλ²μ 3 νμ΄μ§μ λΆλμ νκΊΌλ²μ μμ²νλ €λλ°, | |
| μμ²μ λμμ 보λ΄κ³ μλ΅μ μμλλ‘ μ²λ¦¬νκ³ μΆμ΅λλ€. | |
| ν μ€νΈ μλ리μ€: | |
| κ° μμ²(Observable)λ€μ subscribe λ λ requestκ° μμ | |
| κ° μμ²μ requestμλ 2, 4, 2μ΄μ© κ±Έλ¦°λ€κ³ κ°μ | |
| -> 2μ΄ ν 첫 νμ΄μ§κ° λ¨κ³ | |
| -> μΆκ°λ‘ 2μ΄ ν λλ¨Έμ§κ° μ λΆ λ¨λ | |
| μν©μ μνκ³ μμ΅λλ€. |
This file contains hidden or 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
| #!/usr/bin/env node | |
| // Channel ID is on the the browser URL.: https://mycompany.slack.com/messages/MYCHANNELID/ | |
| // Pass it as a parameter: node ./delete-slack-messages.js CHANNEL_ID | |
| // CONFIGURATION ####################################################################################################### | |
| const token = 'SLACK TOKEN'; | |
| // Legacy tokens are no more supported. | |
| // Please create an app or use an existing Slack App |
This file contains hidden or 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
| exports.parameterPermitter = function ({ params = [] }) { | |
| if (!Array.isArray(params)) throw new Error(`Request Parameter ${params} is invalid parameters array`) | |
| return function (req, res, next) { | |
| res.locals.permitted = {} | |
| params.forEach((param) => { | |
| if (!req.body.hasOwnProperty(param)) throw new Error(`${param} is required`) | |
| res.locals.permitted[param] = req.body[param] | |
| }) |
This file contains hidden or 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
| /** | |
| * κ°μΌλ©΄ 0, λ€λ₯΄λ©΄ 1 | |
| * @param (μ«μ) left | |
| * @param (μ«μ) right | |
| */ | |
| function scoreNumbers(left, right) { | |
| return left == right ? 0 : 1 | |
| } |
- Vetur: https://marketplace.visualstudio.com/items?itemName=octref.vetur
- vscode-icons: https://marketplace.visualstudio.com/items?itemName=robertohuertasm.vscode-icons
- Vue i18n: https://marketplace.visualstudio.com/items?itemName=think2011.vue-i18n
- YAML: https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml
- Vue Peek: https://marketplace.visualstudio.com/items?itemName=dariofuzinato.vue-peek
- TODO Highlight: https://marketplace.visualstudio.com/items?itemName=wayou.vscode-todo-highlight
- scss-lint: https://marketplace.visualstudio.com/items?itemName=adamwalzer.scss-lint
- REST Client: https://marketplace.visualstudio.com/items?itemName=humao.rest-client
- Quokka.js: https://marketplace.visualstudio.com/items?itemName=WallabyJs.quokka-vscode
- Prettier - Code formatter: https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode
OlderNewer