Skip to content

Instantly share code, notes, and snippets.

View naxIO's full-sized avatar
🎯
Focusing

Chris naxIO

🎯
Focusing
  • Home
  • 02:49 (UTC +02:00)
View GitHub Profile
@naxIO
naxIO / selenium-webdriver-cheatsheet.md
Created July 12, 2019 16:05 — forked from shoesCodeFor/selenium-webdriver-cheatsheet.md
Ruby Selenium Webdriver CheatSheet

API workthough

  1. Open a browser

    # start an instance of firefox with selenium-webdriver
    driver = Selenium::WebDriver.for :firefox
    # :chrome -> chrome
    # :ie     -> iexplore
    
@naxIO
naxIO / wp.sh
Created February 9, 2017 13:45 — forked from bgallagh3r/wp.sh
Wordpress: Bash Install Script -- Downloads latest WP version, updates wp-config with user supplied DB name, username and password, creates and CHMOD's uploads dir, copies all the files into the root dir you run the script from, then deletes itself!
#!/bin/bash -e
clear
echo "============================================"
echo "WordPress Install Script"
echo "============================================"
echo "Database Name: "
read -e dbname
echo "Database User: "
read -e dbuser
echo "Database Password: "