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
#!/usr/bin/python | |
from selenium import webdriver | |
from pyvirtualdisplay import Display | |
import time | |
import timeit | |
def click_link_until_page_changes(browser, link_name, timeout_seconds=300): | |
start_time = timeit.default_timer() | |
current_page_id = browser.find_element_by_tag_name('html').id |
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
#!/bin/bash | |
vagrant global-status | tail -n +3 | cut -d' ' -f1 | sed '/^$/q'|xargs -I %s vagrant destroy %s |
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
auto-reveal-in-sidebar | |
intentions | |
linter-ansible-linting | |
linter-htmlhint | |
monokai | |
php-integrator-annotations | |
php-integrator-call-tips | |
php-integrator-refactoring | |
save-session | |
ansible-snippets |
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
#!/usr/bin/python | |
import boto3 | |
import sys | |
import os | |
from urllib2 import urlopen | |
default_region = 'ap-southeast-2' | |
default_port_array = [ 80, 443 ] | |
default_replace_ingress = 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
set number " enable line numbers | |
set nocompatible " cygwin cursor compatibility | |
set backspace=indent,eol,start " allow backspaces | |
set ignorecase " ignore case-sensitive search | |
set pastetoggle=<leader>p " toggle paste mode | |
" begin vundle code | |
filetype plugin indent off | |
syntax off | |
set rtp+=~/.vim/bundle/Vundle.vim " set the runtime path for vundle |
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
#!/usr/bin/python | |
DOCUMENTATION = ''' | |
--- | |
module: select_list_regex | |
short_description: Selects a subset of a list based on a matching regular expression | |
''' | |
EXAMPLES = ''' | |
- name: Select hosts with the word Admin from a list of all hosts |
NewerOlder