Skip to content

Instantly share code, notes, and snippets.

Always learning

Santiago Suarez Ordoñez santiycr

Always learning
Block or report user

Report or block santiycr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
# Restart SauceConnect via Rolling Restart
# The port it uses for listening for Selenium Relay
# is chosen automatically an ranges between 4441 and 4449
# Tunnel identifiers are optional, but removing them
# from this example would include some tweaking
View gist:c392ac093d5f96a01065
chef@chef:~/log$ java -jar selenium-server-6ee07f049e22ff1a2fdacf799c3275f4f07cb802.jar
16:27:05.422 INFO - Launching a standalone server
16:27:05.456 INFO - Java: Sun Microsystems Inc. 20.45-b01
16:27:05.456 INFO - OS: Linux 3.13.0-32-generic i386
16:27:05.465 INFO - v2.45.0, with Core v2.45.0. Built from revision 6ee07f0
16:27:05.514 INFO - Unable to register driver with className due to ClassNotFoundException
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/gargoylesoftware/htmlunit/WebWindowListener : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(
at java.lang.ClassLoader.defineClass(
View change_hosts.bat
@echo off
echo > %temp%\temphosts.txt
type C:\WINDOWS\system32\drivers\etc\hosts >> %temp%\temphosts.txt
copy /Y %temp%\temphosts.txt C:\WINDOWS\system32\drivers\etc\hosts
View -

Keybase proof

I hereby claim:

  • I am santiycr on github.
  • I am santiycr ( on keybase.
  • I have a public key whose fingerprint is 902B EF30 362B 1BA8 9358 6759 12B7 2475 D9FB 8C9C

To claim this, I am signing this object:

if [ -z "${SAUCE_USERNAME}" ] || [ -z "${SAUCE_ACCESS_KEY}" ]; then
echo "This script can't run without your Sauce credentials"
echo "Please set SAUCE_USERNAME and SAUCE_ACCESS_KEY env variables"
echo "export SAUCE_USERNAME=ur-username"
echo "export SAUCE_ACCESS_KEY=ur-access-key"
exit 1
SAUCE_TMP_DIR="$(mktemp -d -t sc.XXXX)"
View -
sso ~/vim-croket ❯❯❯ make lexer [16:24:36]
ghc --make lexer.hs
[1 of 1] Compiling Main ( lexer.hs, lexer.o )
Couldn't match expected type `[[a0]]'
with actual type `[[Char]] -> [[[Char]]]'
In the return type of a call of `map'
Probable cause: `map' is applied to too few arguments
In the second argument of `($)', namely
import pygame, sys
from pygame.locals import *
FPS = 30
fpsClock = pygame.time.Clock()
DISPLAYSURF = pygame.display.set_mode((400, 300), 0, 32)
from selenium import selenium
import unittest
import json
import os
config = {"username": os.environ['SAUCE_USER'],
"access-key": os.environ['SAUCE_KEY'],
"browser": "iexplore",
"name": "Testing sauce advisor",
View a.rb
sso SauceLabs/wd git:master ❯❯❯ npm view wd time ✔ [18:42:56]
{ '0.0.1': '2011-04-27T19:53:09.428Z',
'0.0.2': '2011-04-27T22:06:28.668Z',
'0.0.3': '2011-04-28T02:03:48.154Z',
'0.0.4': '2011-05-03T21:16:06.298Z',
'0.0.5': '2011-05-06T21:43:14.643Z',
'0.0.6': '2011-05-06T23:37:05.272Z',
'0.0.7': '2011-08-15T20:53:44.740Z',
'0.0.8': '2011-10-11T23:04:53.844Z',
You can’t perform that action at this time.