{CURRENT_PLAYING_ARTISTS} - {CURRENT_PLAYING_NAME}
Albums: {CURRENT_PLAYING_ALBUM}
Last updated at {CURRENT_PLAYING_LAST_UPDATED}
| import axios from 'axios'; | |
| import cheerio from 'cheerio'; | |
| import fs from 'fs'; | |
| /** | |
| * npm μ package(=λΌμ΄λΈλ¬λ¦¬) λ§€λμ , κ·Έλμ Node Package Manage μ€μ¬μ npm | |
| * npm μμ λΌμ΄λΈλ¬λ¦¬λ₯Ό μ€μΉνλ €λ©΄, "npm install λΌμ΄λΈλ¬λ¦¬λͺ " μ μ λ ₯νλ©΄ λλ€. | |
| */ | |
| const getMovies = async (movieNumber) => { | |
| const response = await axios.get(`https://movie.naver.com/movie/bi/mi/basic.nhn?code=${movieNumber}`); |
| import axios from 'axios'; | |
| async function generateNoRecursion(len: number, chars: string[]) { | |
| let i; | |
| const indices = []; | |
| for (i = 0; i < len; ++i) | |
| indices.push(0); | |
| while (indices[0] < chars.length) { | |
| let str = ""; |
| on: | |
| push: | |
| branches: | |
| - master | |
| name: Deploy master branch | |
| jobs: | |
| deploy: | |
| name: deploy | |
| runs-on: ubuntu-latest | |
| { | |
| // Use IntelliSense to learn about possible attributes. | |
| // Hover to view descriptions of existing attributes. | |
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Nest debug by [email protected]", | |
| "type": "node", | |
| "request": "launch", |
| JavaScript 43 mins βββββββββββββββββββββ 77.6% | |
| JSON 12 mins βββββββββββββββββββββ 22.2% | |
| TypeScript 0 secs βββββββββββββββββββββ 0.2% | |
| Other 0 secs βββββββββββββββββββββ 0.1% |
| { | |
| "compilerOptions": { | |
| "module": "commonjs", | |
| "moduleResolution": "node", | |
| "typeRoots": ["./node_modules/@types", "./src/@types"], | |
| "baseUrl": "./", | |
| "declaration": true, | |
| "removeComments": true, | |
| "emitDecoratorMetadata": true, | |
| "experimentalDecorators": true, |
| // const webpack = require('webpack'); | |
| const path = require('path'); | |
| const nodeExternals = require('webpack-node-externals'); | |
| const slsw = require('serverless-webpack'); | |
| const isLocal = slsw.lib.webpack.isLocal; | |
| module.exports = { | |
| mode: isLocal ? 'development' : 'production', | |
| // entry: slsw.lib.entries, | |
| entry: './src/main.ts', |
| /* | |
| μ§λ°©μ μλ 3 μ΄μ 100,000 μ΄νμΈ μμ°μμ λλ€. | |
| κ° μ§λ°©μμ μμ²νλ μμ°μ 1 μ΄μ 100,000 μ΄νμΈ μμ°μμ λλ€. | |
| μ΄ μμ°μ μ§λ°©μ μ μ΄μ 1,000,000,000 μ΄νμΈ μμ°μμ λλ€. | |
| */ | |
| function solution(budgets, M) { | |
| var answer = 0, | |
| mid = 0, | |
| minimum = 0, | |
| maximum = 100000, |
| import {from} from 'rxjs/internal/observable/from'; | |
| import {distinctUntilChanged} from 'rxjs/operators'; | |
| const source = [ | |
| {x: 1, y: 1}, | |
| {x: 1, y: 2}, | |
| {x: 3, y: 5}, | |
| {x: 6, y: 9}, | |
| {x: 2, y: 1}, | |
| {x: 3, y: 5}, |