List of cookies names for various social networking websites
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
| https://konvajs.org/ |
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
| const rp = require('request-promise-native') | |
| const cheerio = require('cheerio') | |
| let resP = rp('https://www.keepinspiring.me/famous-quotes/') | |
| resP.then(res => { | |
| let $ = cheerio.load(res) | |
| let quotes = $('div.author-quotes').get() | |
| let toPrint = [] | |
| for (quote of quotes) { |
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
| // $ knex init | |
| const nodeEnv = process.env.NODE_ENV || 'development' | |
| const knexfileConfig = require('./knexfile')[nodeEnv] | |
| const es = require('event-stream') | |
| var knex = require('knex')(knexfileConfig); | |
| // non stream usage | |
| knex.raw('select * from genres') |
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
| const net = require('net'); | |
| let server = net.createServer(); | |
| let clientId = 1; | |
| let sockets = {}; | |
| server.on("connection", (cs) => { | |
| // console.log(Object.keys(cs)); | |
| console.log("INFO: Client conected!"); | |
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
| todo in nodejs.js | |
| #### to run | |
| node client.js | |
| > only implemented help, add and ls commands |
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
| nodejs tg |
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
| // atom - works! | |
| sudo docker run -p 9090:9090 -h ds-atom-01 \ | |
| -v /home/user/Boomi:/home/boomi/host_dir \ | |
| -e URL=https://platform.boomi.com \ | |
| -e BOOMI_USERNAME=<> \ | |
| -e BOOMI_PASSWORD=<> \ | |
| -e BOOMI_ATOMNAME=ds-atom-01 \ | |
| -e BOOMI_CONTAINERNAME=ds-atom-01 \ | |
| -e BOOMI_ACCOUNTID=<> \ |
