This file contains hidden or 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"?> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> | |
<xs:element name="CVehicleModelInfoVarGlobal"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="Sirens"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="Item" maxOccurs="unbounded"> | |
<xs:complexType> |
This file contains hidden or 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
ALTIMETER SETTINGS | |
.acvg Cincinnati/Northern Kentucky altimeter is $altim(KCVG) | |
.aind Indianapolis altimeter is $altim(KIND) | |
.asdf Louisville altimeter is $altim(KSDF) | |
.acmh Port Columbus altimeter is $altim(KCMH) | |
.aevv Evansville altimeter is $altim(KEVV) | |
.acrw Charleston altimeter is $altim(KCRW) | |
.aday Dayton-Cox altimeter is $altim(KDAY) | |
.aluk Lunken altimeter is $altim(KLUK) | |
.aosu Ohio-State altimeter is $altim(KOSU) |
This file contains hidden or 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 random | |
# simple guessing game | |
# We get the user input, if it's less than the right number, output. if it's greater than, same. | |
# If the number is matched. YOU WIN. | |
# You only have 10 tries. | |
# right number will be between 0 and 100 | |
class GuessingGame: | |
def __init__(self): |
This file contains hidden or 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
# Place all the behaviors and hooks related to the matching controller here. | |
# All this logic will automatically be available in application.js. | |
# You can use CoffeeScript in this file: http://coffeescript.org/ | |
$(document).ready -> | |
$('#btn-submit-bundle').click (e) -> | |
e.preventDefault() | |
vals = [] | |
$("select[name^='component_bundle'].select2-package").toArray().forEach((e) -> vals.append(e.value)) | |
if vals.length < 1 |
This file contains hidden or 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
Waiting xvfb... | |
20:25:26.952 INFO - Selenium build info: version: '3.4.0', revision: 'unknown' | |
20:25:26.953 INFO - Launching a Selenium Grid node | |
11/05/2017 20:25:27 passing arg to libvncserver: -rfbport | |
11/05/2017 20:25:27 passing arg to libvncserver: 5900 | |
11/05/2017 20:25:27 -usepw: found /root/.vnc/passwd | |
11/05/2017 20:25:27 x11vnc version: 0.9.13 lastmod: 2011-08-10 pid: 100 | |
11/05/2017 20:25:27 Using X display :99.0 | |
11/05/2017 20:25:27 rootwin: 0x25c reswin: 0x200001 dpy: 0x1f519b0 | |
11/05/2017 20:25:27 |
This file contains hidden or 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
java -jar selenium-server-standalone-3.0.1.jar -role hub |
This file contains hidden or 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
--- | |
hub: | |
image: selenium/hub | |
ports: | |
- 4444:4444 | |
chrome: | |
image: selenium/node-chrome | |
links: | |
- hub | |
firefox: |
This file contains hidden or 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
dj@Daniels-MBP:~/downloads|⇒ java -jar selenium-server-standalone-3.0.0.jar -role node -remoteHost http://127.0.0.1:4444 | |
Exception in thread "main" com.beust.jcommander.ParameterException: Unknown option: -remoteHost | |
at com.beust.jcommander.JCommander.parseValues(JCommander.java:742) | |
at com.beust.jcommander.JCommander.parse(JCommander.java:282) | |
at com.beust.jcommander.JCommander.parse(JCommander.java:265) | |
at com.beust.jcommander.JCommander.<init>(JCommander.java:210) | |
at org.openqa.grid.selenium.GridLauncherV3$3.setConfiguration(GridLauncherV3.java:257) | |
at org.openqa.grid.selenium.GridLauncherV3.buildLauncher(GridLauncherV3.java:147) | |
at org.openqa.grid.selenium.GridLauncherV3.main(GridLauncherV3.java:73) |
This file contains hidden or 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/sh -e | |
# ======================== | |
# Start a Jekyll Server | |
# ======================== | |
# | |
# Usage: /etc/init.d/jekyll-site {start|stop|force-reload|restart|status} | |
# | |
### BEGIN INIT INFO | |
# Provides: jekyll-site |
This file contains hidden or 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/env python | |
""" | |
Very simple HTTP server in python. | |
Usage:: | |
./dummy-web-server.py [<port>] | |
Send a GET request:: | |
curl http://localhost |
NewerOlder