-
Open a browser
# start an instance of firefox with selenium-webdriver driver = Selenium::WebDriver.for :firefox # :chrome -> chrome # :ie -> iexplore
- Go to a specified URL
import os, sys | |
a = 23 | |
b = 23 | |
lista = [23,32,43,54,63,72,84,93,102] | |
print(sys.version) |
#!/bin/bash | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Author: J. Le Coupanec | |
# Date: 2014/11/04 |
#include <ESP8266WiFi.h> | |
#include <WiFiUdp.h> | |
void setup() { | |
int cnt = 0; | |
WiFi.mode(WIFI_STA); | |
Serial.begin(9600); | |
pinMode(0, INPUT_PULLUP); | |
Serial.println("2 sec before clear SmartConfig"); | |
delay(2000); |
var mqtt = require('mqtt') | |
//var Gpio = require('onoff').Gpio; //include onoff to interact with the GPIO | |
var LEDA = new Gpio(3, 'out'); //use GPIO pin 4, and specify that it is output | |
var LEDB = new Gpio(4, 'out'); //use GPIO pin 4, and specify that it is output | |
const say = require('say') | |
function esperando() { | |
// stuff you want to happen right away | |
console.log('Prendiendo foco y esperando 2 segundos'); | |
} |