π
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
| import requests | |
| import re | |
| from bs4 import BeautifulSoup | |
| from pymongo import MongoClient | |
| def getNumbers(value): | |
| result = re.sub('\s+', '', value) | |
| result = result.replace('kg', "").replace(',', "").replace('μ', "") | |
| return result |
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
| class Program | |
| { | |
| enum Day { Sun, Mon, Tue, Wed, Thu, Fri, Sat }; | |
| static void Main() | |
| { | |
| //μ μνμΌλ‘ νλ³ν | |
| int x = (int)Day.Sun; | |
| int y = (int)Day.Fri; | |
| Console.WriteLine("Sun = {0}", x); |
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
| function Node(data, left, right) { | |
| this.data = data; | |
| this.left = left; | |
| this.right = right; | |
| this.show = show; | |
| } | |
| function show() { | |
| return this.data; | |
| } |
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
| function Node(data, left, right) { | |
| this.data = data; | |
| this.left = left; | |
| this.right = right; | |
| this.show = show; | |
| } | |
| function show() { | |
| return this.data; | |
| } |
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
| //Queueμ μμ±μ μ μ | |
| function Queue(){ | |
| this.dataStore = []; | |
| this.enqueue = enqueue; | |
| this.dequeue = dequeue; | |
| this.front = front; | |
| this.back = back; | |
| this.toString = toString; | |
| this.empty = empty; | |
| } |
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
| //Stack ν΄λμ€ | |
| //Stack μμ±μ μ μ | |
| function Stack() { | |
| //μ€νμ μμκ° μ μ₯λλ λ°°μ΄ | |
| this.dataStore = []; | |
| //μ€νμ μμΉ | |
| this.top = -1; |
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
| //Stack ν΄λμ€ | |
| //Stack μμ±μ μ μ | |
| function Stack() { | |
| //μ€νμ μμκ° μ μ₯λλ λ°°μ΄ | |
| this.dataStore = []; | |
| //μ€νμ μμΉ | |
| this.top = -1; |
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
| The Shawshank Redemption | |
| The Godfather | |
| The Godfather:Part II | |
| Pulp Ficiton | |
| The Good, the Bad and the Ugly | |
| 12 Angry Men | |
| Schindler's List | |
| The Dark Knight | |
| The Lord of the Rings:The Return of the king | |
| Fight Club |
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
| /* | |
| μ΄ μμ€μ½λλ node.js λ°νμ νκ²½μ λ§κ² μμ±λμμ΅λλ€. | |
| node.js λ°νμνκ²½μμ μ€νμμΌμ£ΌμΈμ | |
| Data structure : List | |
| */ | |
| //node.jsμμ νμΌμ μ½κΈ°μν λͺ¨λ μ°Έμ‘° | |
| fs = require('fs'); |
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
| sudo apt-get install python-pip python-dev |