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
import time | |
from selenium import webdriver | |
# Register Chrome web driver | |
driver = webdriver.Chrome() # Optional argument | |
driver.get('http://clinic-manager.herokuapp.com/'); | |
time.sleep(3) # Let the user actually see something! | |
#Login with selenium | |
email = driver.find_element_by_name('email') |
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
import javax.imageio.ImageIO; | |
import javax.swing.*; | |
import java.awt.*; | |
import java.awt.image.BufferedImage; | |
import java.io.File; | |
import java.io.IOException; | |
/** | |
* Created by eduardo on 02/07/17. |
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 | |
sudo add-apt-repository ppa:openjdk-r/ppa -y | |
sudo apt-get update | |
sudo apt-get install openjdk-7-jdk -y | |
sudo update-alternatives --config java | |
#wget http://www-us.apache.org/dist/hadoop/common/hadoop-2.8.0/hadoop-2.8.0.tar.gz | |
#cd $HOME | |
mkdir $HOME/hadoop | |
tar xfz hadoop-2.8.0.tar.gz |