-
Open a browser
# start an instance of firefox with selenium-webdriver $browser_type = 'firefox' $host = 'http://localhost:4444/wd/hub'
$capabilities = array(\WebDriverCapabilityType::BROWSER_NAME => $browser_type);
| <?php | |
| namespace AppBundle\Entity; | |
| /** | |
| * @package AppBundle\Entity | |
| * @ORM\Entity() | |
| * @ORM\Table() | |
| * @ORM\Cache(usage="NONSTRICT_READ_WRITE") | |
| */ |
| /* | |
| TITLE: CODE GRABBER FOR HT6P20B ENCODER | |
| CREATED BY: AFONSO CELSO TURCATO | |
| DATE: 14/JAN/2014 | |
| E-MAIL: acturcato (at) gmail.com | |
| LICENSE: GPL | |
| REV.: 00 | |
| DESCRIÇÃO: | |
| http://acturcato.wordpress.com/2014/01/14/clonagem-de-controle-remoto-rf-learning-code-ht6p20b-com-arduino/ |
| <# | |
| PowerShell, SqlBulkCopy and RunSpaces Speed Test | |
| -- To be used for speed testing purposes with million.csv -- | |
| -- Will drop and recreate specified database if it exists -- | |
| This script will | |
| - Automatically download the million row dataset if it doesn't exist | |
| - Drop the specified database if it exists |
| // Place your settings in the file "User/Preferences.sublime-settings", which | |
| // overrides the settings in here. | |
| // | |
| // Settings may also be placed in file type specific options files, for | |
| // example, in Packages/Python/Python.sublime-settings for python files. | |
| { | |
| // Sets the colors used within the text area | |
| "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
| // Note that the font_face and font_size are overridden in the platform |
| #!/bin/bash | |
| ### BEGIN INIT INFO | |
| # Provides: save-running-virtualboxes | |
| # Required-Start: | |
| # Required-Stop: $network | |
| # Default-Start: | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Stops all running virtualboxes | |
| # Description: Stops all running virtualboxes of all users | |
| ### END INIT INFO |
| <?php | |
| require_once 'vendor/autoload.php'; | |
| use Symfony\Component\DomCrawler\Crawler; | |
| $html = '<!DOCTYPE html> | |
| <html> | |
| <body> | |
| <table border="0" cellpadding="0" cellspacing="1"> | |
| <tr> |
| #!/usr/bin/env python | |
| import argparse | |
| import re | |
| import os | |
| import subprocess | |
| try: | |
| import json | |
| except ImportError: | |
| import simplejson as json |