Skip to content

Instantly share code, notes, and snippets.

View Tset-Noitamotua's full-sized avatar
🤖
Working from home

Tset Noitamotua Tset-Noitamotua

🤖
Working from home
  • Secret Agency
  • Germany
View GitHub Profile
@Tset-Noitamotua
Tset-Noitamotua / jybottest.bat
Created November 16, 2015 09:36 — forked from imikemo/jybottest.bat
Batch file for running Sikuli test cases using jybot
@echo off
set sikuli_jar=C:\Program Files\Sikuli X\sikuli-script.jar
set CLASSPATH=%sikuli_jar%
set JYTHONPATH=%sikuli_jar%/Lib
jybot --pythonpath=calc.sikuli ^
--outputdir=results ^
--loglevel=TRACE ^
@Tset-Noitamotua
Tset-Noitamotua / get_sel_vers.py
Created November 16, 2015 10:38 — forked from bmannix/get_sel_vers.py
get Selenium version used by Selenium2Library and log it
from robot.libraries.BuiltIn import BuiltIn
from robot.api import logger
def log_s2l_version():
"""
Gets the Selenium version used by Selenium2Library
"""
seleniumlib = BuiltIn().get_library_instance('Selenium2Library')
browser = seleniumlib._current_browser()
sel_version = locals()['webdriver'].__version__

Setup modern.ie vagrant boxes

Since modern.ie released vagrant boxes, it' no longer necessary to manually import the ova file to virtualbox, as mentioned here.

However, the guys at modern.ie didn't configured the box to work with WinRM. This how-to addresses that, presenting steps to proper repackage these boxes, adding WinRM support. Additionally configures chocolatey package manager and puppet provisioner.

Pre-requisites

Windows Users

Windows Bit-version Assumption

  • Execution is on a 64-bit version of Windows. To maintain continuity, we will be keeping almost everything "bit-aligned" so that executables and libraries will all be 64-bit.
  • The one possible exception to this is for Internet Explorer's Selenium Driver. See why that is below.

Configure Environment

  1. Download the appropriate browser drivers:
@Tset-Noitamotua
Tset-Noitamotua / deploy-static-site-heroku.md
Created April 27, 2017 06:15 — forked from wh1tney/deploy-static-site-heroku.md
How to deploy a static website to Heroku

Gist

This is a quick tutorial explaining how to get a static website hosted on Heroku.

Why do this?

Heroku hosts apps on the internet, not static websites. To get it to run your static portfolio, personal blog, etc., you need to trick Heroku into thinking your website is a PHP app. This 6-step tutorial will teach you how.

Basic Assumptions