This file contains 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
from selenium import webdriver | |
from selenium.webdriver.firefox.options import Options | |
from time import sleep | |
#Browser settings | |
options = Options() | |
options.headless = False | |
browser = webdriver.Firefox(options=options) | |
browser.get('https://portal.cvms.vic.gov.au/') |
This file contains 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
//uuid/index.js | |
export { default as v1 } from './v1.js'; | |
export { default as v3 } from './v3.js'; | |
export { default as v4 } from './v4.js'; | |
export { default as v5 } from './v5.js'; | |
export { default as NIL } from './nil.js'; | |
export { default as version } from './version.js'; | |
export { default as validate } from './validate.js'; | |
export { default as stringify } from './stringify.js'; | |
export { default as parse } from './parse.js'; |
This file contains 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 | |
'use strict' | |
const sip = require('./util').getUrl; | |
console.log(sip()) |
This file contains 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 sip = require('./util.js').getUrl; | |
module.exports = { | |
sip | |
} |
This file contains 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 siteList = require('./site-list.js').siteList; | |
module.exports.getUrl = | |
() => siteList[ Math.floor(Math.random() * siteList.length ) ] | |
This file contains 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.siteList = [ | |
"https://longdogechallenge.com/", | |
"http://heeeeeeeey.com/", | |
"http://corndog.io/", | |
"https://puginarug.com", | |
"https://alwaysjudgeabookbyitscover.com", | |
"https://cant-not-tweet-this.com/", | |
"http://eelslap.com/", | |
"http://www.staggeringbeauty.com/", | |
"http://burymewithmymoney.com/", |
This file contains 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 yumcha = require('yumcha') | |
let url = yumcha.sip() | |
console.log(url) | |
// https://trypap.com/ | |
This file contains 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
{ | |
"name": "yumcha", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"keywords": [], | |
"author": "", |