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
func testExample() { | |
let app = XCUIApplication() | |
// Tap on the button on the screen | |
app.buttons.elementBoundByIndex(0).tap() | |
// Find the alert | |
let alert = app.alerts.elementBoundByIndex(0) | |
// Find the textfield |
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
<?php | |
// Variables: | |
$cadenaDeTexto = "Hola Mundo!"; | |
$numero = 4; | |
$arregloDeTexto = ["uno", "dos", "tres", "catorce"]; | |
define("CONSTANTE", "VALOR QUE NUNCA CAMBIA"); | |
$nombre = null; | |
$algunaCondicion = true; |
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
// (var|let) nombre:[tipo] = valor | |
// Variable: su valor cambiará dentro del programa | |
var cadenaDeTexto = "Hola Mundo!" | |
// Constante: su valor no cambiará | |
let numero = 4 | |
// Arreglo de Strings | |
let arregloDeTexto = ["uno", "dos", "tres", "catorce"] |
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
exports.config = { | |
directConnect: true, | |
chromeDriver: '/usr/bin/chromedriver', | |
specs: ['protractor-test.js'] | |
}; |
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
/** | |
* Generates our CSS files using libsass. | |
* Wrapper for the `sass` task, make sure you have installed all the dependencies of the repo. | |
* | |
* Example: $: grunt libsass | |
* $: grunt libsass:dev | |
* | |
* @param env | |
*/ | |
grunt.registerTask('libsass', 'Builds our CSS', function(env) { |
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
class Persona { var nombre:String? } | |
let alejo = Persona() | |
alejo.nombre = "Alejo" | |
if let nombre = alejo.nombre { | |
println(nombre) | |
} |
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
var hero = [String](count: 7, repeatedValue: "Na") | |
hero.append("Batman") |
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
wordpress: | |
image: wordpress | |
links: | |
- db:mysql | |
ports: | |
- 8080:80 | |
volumes: | |
- .:/var/www/html | |
db: | |
image: mariadb |
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
24 Mar 23:59:31 - [nodemon] restarting due to changes... | |
24 Mar 23:59:31 - [nodemon] starting `node bin/www` | |
Balanced to boot2docker:4000 | |
Balanced to localhost:4400 | |
Balanced to localhost:4400 | |
Balanced to localhost:4400 | |
Balanced to boot2docker:4000 |