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
require 'rubygems' | |
require 'capybara' | |
require 'capybara/dsl' | |
require 'io/console' | |
require 'csv' | |
Capybara.run_server = false | |
#TODO: download selenium driver and put it PATH https://www.guru99.com/gecko-marionette-driver-selenium.html |
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
<!DOCTYPE html> | |
<!-- initial set was from https://www.w3schools.com/css/tryit.asp?filename=trycss3_flexbox_flex-wrap_nowrap8 --> | |
<html> | |
<head> | |
<style> | |
.flex-container { | |
display: flex; | |
flex-wrap: nowrap; | |
background-color: DodgerBlue; |
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
Start new Shell window | |
$ java bsh.Console # Starts bean console | |
$ java bsh.Interpreter // run as text-only on the command line | |
$ java bsh.Interpreter filename [ args ] // run script file | |
Trial: | |
$ java bsh.Interpreter | |
bsh % int add(int a, int b) { return a+b;} | |
bsh % print(add(1,2)); //3 |
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
public static boolean is_valid_email(String email) { | |
String email_pattern = "[^\\s]+@[^\\s]+.[^\\s]+"; | |
java.util.regex.Pattern r = java.util.regex.Pattern.compile(email_pattern); | |
try { | |
java.util.regex.Matcher m = r.matcher(email); | |
return m.matches(); | |
} catch (java.lang.NullPointerException e) { | |
return false; | |
} | |
} |
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
#!/usr/bin/ruby | |
require 'net/http' | |
require 'net/smtp' | |
require 'uri' | |
require 'yaml' | |
require 'logger' | |
#README | |
#FIELD NEEDS CHANGE - SEARCH AND REPLACE | |
#<email_id> - 2 entries |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="YourProjectName" default="jar" basedir="."> | |
<target name="init"> | |
<property name="version" value="1.0.0" /> | |
<property name="debuglevel" value="source,lines,vars"/> | |
<property name="main-class" value="com.company.project.mainclass"/> | |
<property name="src.dir" value="src"/> | |
<property name="build.dir" value="build"/> | |
<property name="classes.dir" value="${build.dir}/classes"/> | |
<property name="lib.dir" value="lib" /> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="#YourProject#" default="jar" basedir="."> | |
<target name="init"> | |
<property name="main-class" value="#com.your.package.yourmainclass#"/> | |
<property name="src.dir" value="src"/> | |
<property name="build.dir" value="build"/> | |
<property name="classes.dir" value="${build.dir}/classes"/> | |
</target> | |
<target name="clean" depends="init"> |
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
<!doctype html> | |
<html ng-app> | |
<head> | |
<meta name="description" content="AngularShowHide_WithUnderscore" /> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.min.js"></script> | |
<script src="http://underscorejs.org/underscore-min.js"></script> | |
</head> | |
<body> | |
<div ng-controller="Controller"> | |
<form name="form" class="css-form" novalidate> |
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
<!doctype html> | |
<html ng-app> | |
<head> | |
<meta name="description" content="AngularShowHide" /> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.min.js"></script> | |
</head> | |
<body> | |
<div ng-controller="Controller"> | |
<form name="form" class="css-form" novalidate> | |
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
<!doctype html> | |
<html ng-app> | |
<head> | |
<meta name="description" content="AngularShowHide" /> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.min.js"></script> | |
</head> | |
<body> | |
<div ng-controller="Controller"> | |
<form name="form" class="css-form" novalidate> | |
NewerOlder