Skip to content

Instantly share code, notes, and snippets.

View lotosotol's full-sized avatar
🏠
Working from home

lotos lotosotol

🏠
Working from home
View GitHub Profile
@lotosotol
lotosotol / Add_Existing_Project_To_Git.md
Created January 23, 2019 04:08 — forked from alexpchin/Add_Existing_Project_To_Git.md
Add Existing Project To Git Repo

#Adding an existing project to GitHub using the command line

Simple steps to add existing project to Github.

1. Create a new repository on GitHub.

In Terminal, change the current working directory to your local project.

##2. Initialize the local directory as a Git repository.

git init
@lotosotol
lotosotol / .gitignore
Last active December 4, 2018 20:57 — forked from gergelyke/.gitignore
.gitignore file example (template)
# Logs
logs
*.log
npm-debug.log*
# Runtime data
pids
*.pid
*.seed
@lotosotol
lotosotol / Lecture61_Code
Last active August 29, 2015 14:22
Lecture61
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.htmlunit.HtmlUnitDriver;
public class html_unit_test {
public static void main(String[] args) throws InterruptedException {
WebDriver driver = new HtmlUnitDriver(); // this is used for UNIT TESTS !!!!!!!
driver.navigate().to("https://accounts.google.com/");
@lotosotol
lotosotol / Lecture68_Code
Last active August 29, 2015 14:22
Selenium.Lecture_68
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.firefox.FirefoxProfile;
import org.openqa.selenium.firefox.internal.ProfilesIni;
public class javaScriptExecutor {
public static void main(String[] args) throws InterruptedException {
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Lecture 79 - Test</title>
</head>
<body>
<p>Input your numbers below:<br /><br />
&nbsp;