Skip to content

Instantly share code, notes, and snippets.

View Ebazhanov's full-sized avatar
👋

Evgenii Bazhanov Ebazhanov

👋
View GitHub Profile
@Ebazhanov
Ebazhanov / Go simple webserver
Created April 21, 2020 22:08 — forked from monkrus/Go simple webserver
Write web server in 5 lines of code
package main
import (
"log"
"net/http"
)
func main() {
//root path handles EVERY request received
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
//
// **** Kitchen Sink Tests ****
//
// This app was developed to demonstrate
// how to write tests in Cypress utilizing
// all of the available commands
//
// Feel free to modify this spec in your
// own application as a jumping off point
@Ebazhanov
Ebazhanov / Selenide cheat sheet
Last active February 2, 2019 18:02 — forked from makolesnik/Selenide cheat sheet
Selenide cheat sheet to create concise UI tests in Java. What is Selenide? Selenide is a wrapper for Selenium WebDriver. http://selenide.org/
=Navigating=
baseUrl = "http://site.com";
open("/login");
open("http://google.com");
switchTo().frame($("#myFrame").toWebElement());
=WebDriver=
getWebDriver().findElement(By.id("username")); // import static com.codeborne.selenide.WebDriverRunner.getWebDriver;
@Ebazhanov
Ebazhanov / java_homebrew.sh
Created October 21, 2017 13:08 — forked from kloudsamurai/java_homebrew.sh
Install Java via Homebrew (brew) on Mac OSX with unlimited strength JCE
brew update
brew cask install java
brew cask install jce-unlimited-strength-policy
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`