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
# raspberry | |
Host pi1 | |
User youUser | |
HostName 192.168.0.103 #replace with your raspberri pi's ip | |
PreferredAuthentications publickey | |
IdentityFile ~/.ssh/id_rsa |
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
Feature: Home | |
Como comprador | |
Quiero buscar teléfonos | |
Scenario: Busqueda de xoom | |
Given Estoy en "phones" | |
When Yo busco "xoom" | |
Then Veo "2" resultados |
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
Feature: Home | |
Como comprador | |
Quiero buscar teléfonos | |
Scenario: Titulo en la home | |
Given Estoy en "phones" | |
Then El título es "Google Phone Gallery" |
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
#include <MotorShield.h> | |
const int buttonPin = 2; | |
const int ledPin = 13; | |
MS_DCMotor motor(MOTOR_A); | |
int buttonState = 0; | |
int gruaState = 0; |
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
from time import sleep | |
from braianDriver.robot import Robot | |
robot = Robot() | |
def adelante(cuanto): | |
robot.set_forward() | |
robot.move(speed=Robot.SPEED_MEDIUM) | |
sleep(cuanto) | |
robot.stop() |
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
language: node_js | |
node_js: | |
- 0.9 | |
before_script: | |
- npm install -g grunt-cli |
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
describe('a listener', function(){ | |
describe('without nothing', function(){ | |
it('does nothing', function(){ | |
var userRepo = new UserRepo([]); | |
var listener = new listenerModule.Listener(userRepo); | |
listener.start(); | |
}); | |
}); |
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
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
mochacli: { | |
options: { | |
reporter: 'nyan', | |
bail: true | |
}, |
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
#include <DCMotor.h> | |
DCMotor motor0(M0_EN, M0_D0, M0_D1); | |
DCMotor motor1(M1_EN, M1_D0, M1_D1); | |
void setup() | |
{ | |
} | |
void loop() |
NewerOlder