Problem 1: Nothing but the Truth [Elementary]
trueProblem 2: Simple Math [Elementary]
4| Angular CLI version | Angular version | Node.js version | TypeScript version | RxJS version | |
|---|---|---|---|---|---|
| 1.0.0-beta.17 (package name: angular-cli) | ~2.0.2 | ^6.9.5 | ~2.0.10 | ^5.0.3 | |
| 1.0.0-beta.20-1 (package name: angular-cli) | ~2.1.2 | ^6.9.5 | ~2.0.10 | ^5.0.3 | |
| 1.0.0-beta.22-1 (package name: angular-cli) | ~2.2.4 | ^6.9.5 | ~2.0.10 | ^5.0.3 | |
| 1.0.0-beta.30 | ~2.3.1 | ^6.9.5 | ~2.0.10 | ^5.0.3 | |
| 1.0.0-rc.4 | ~2.4.10 | ^6.9.5 | ~2.0.10 | ^5.0.3 | |
| ~1.0.6 | >= 4.0.3 <= 4.1.3 | ^6.9.5 | ~2.2.2 | ^5.0.3 | |
| ~1.1.3 | >= 4.0.3 <= 4.1.3 | ^6.9.5 | ~2.3.4 | ^5.0.3 | |
| ~1.2.7 | >= 4.0.3 <= 4.1.3 | ^6.9.5 | ~2.3.4 | ^5.0.3 | |
| ~1.3.2 | >= 4.2.6 <= 4.4.7 | ^6.9.5 | ~2.4.2 | ^5.0.3 | 
| # --------------------------------------------------------------------------- | |
| # | |
| # Description: This file holds all my BASH configurations and aliases | |
| # | |
| # Sections: | |
| # 1. Environment Configuration | |
| # 2. Make Terminal Better (remapping defaults and adding functionality) | |
| # 3. File and Folder Management | |
| # 4. Searching | |
| # 5. Process Management | 
| /** | |
| * ``` | |
| * Does JDK8's Optional class satisfy the Monad laws? | |
| * ================================================= | |
| * 1. Left identity: true | |
| * 2. Right identity: true | |
| * 3. Associativity: true | |
| * | |
| * Yes, it does. | |
| * ``` | 
| public void authenticate() { | |
| this.authenticateButton.click(); | |
| new WebDriverWait(driver, 30).until(authenticated()); | |
| } | |
| private Predicate<WebDriver> authenticated() { | |
| return new Predicate<WebDriver>() { | |
| @Override public boolean apply(WebDriver driver) { | |
| return isAuthenticated(); | |
| } | 
| import org.testng.annotations.* | |
| import org.testng.TestNG | |
| import org.testng.TestListenerAdapter | |
| @Grab(group='org.testng', module='testng', version='5.7', classifier='jdk15') | |
| class HogeTest { | |
| @Test | |
| void add() { | |
| assert 1 + 1 == 2 | |
| } | 
| package com.yahoo.media.mediaqa.selenium2test; | |
| import org.openqa.selenium.WebDriver; | |
| import org.openqa.selenium.remote.DesiredCapabilities; | |
| import org.openqa.selenium.remote.RemoteWebDriver; | |
| import org.openqa.selenium.android.AndroidDriver; | |
| import org.openqa.selenium.firefox.*; | |
| import org.openqa.selenium.firefox.internal.ProfilesIni; | 
| import java.io.File; | |
| import java.io.IOException; | |
| import java.net.URL; | |
| import org.apache.commons.io.FileUtils; | |
| import org.junit.Assert; | |
| import org.junit.Test; | |
| import org.openqa.selenium.OutputType; | |
| import org.openqa.selenium.Platform; | |
| import org.openqa.selenium.TakesScreenshot; | 
| create user usr_name identified by [pass***word] profile usr_profile default tablespace usr_ts temporary tablespace temp quota unlimited on usr_ts account unlock | |
| grant create session to usr_name | |
| grant create table to usr_name | |
| grant create view to usr_name | |
| grant create sequence to usr_name | |
| grant create procedure to usr_name | |
| grant create database link to usr_name | 
| #!/bin/sh | |
| # Load JBoss AS init.d configuration. | |
| if [ -z "$JBOSS_CONF" ]; then | |
| JBOSS_CONF="/etc/jboss-as/server-jboss7.conf" | |
| fi | |
| # source the JBoss config file | |
| [ -r "$JBOSS_CONF" ] && . "${JBOSS_CONF}" |