Usage: ./sauce COMMAND
Control your sauce tunnel.
The commands you can use are:
help Show this help
restart Kill all java processes belonging to the user and
nohup the sauce tunnel, stdout redirected to
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
| import junit.framework.TestCase; | |
| import org.openqa.selenium.*; | |
| import org.openqa.selenium.remote.*; | |
| import java.net.URL; | |
| import java.util.concurrent.TimeUnit; | |
| public class TestingSe2Sauce extends TestCase { | |
| private WebDriver driver; | |
| public void setUp() throws Exception { |
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
| (setq ssh-config-path "~/.ssh/config") | |
| (defun get-file-as-string (filePath) | |
| "Return FILEPATH's file content." | |
| (with-temp-buffer | |
| (insert-file-contents filePath) | |
| (split-string | |
| (buffer-string) "\n" t))) | |
| (defun get-remote-names () |
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
| ;; Display ido results vertically, rather than horizontally | |
| (setq ido-decorations '("\n-> " "" "\n " "\n ..." | |
| "[" "]" " [No match]" " [Matched]" | |
| " [Not readable]" " [Too big]" " [Confirm]")) | |
| (defun ido-disable-line-trucation () | |
| (set (make-local-variable 'truncate-lines) nil)) | |
| (add-hook 'ido-minibuffer-setup-hook 'ido-disable-line-trucation) |
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
| (require 'dash) | |
| (defun reset-ssh-connections () | |
| (interactive) | |
| (let ((tramp-buffers | |
| (-filter (lambda (item) | |
| (string-match "tramp" (buffer-name item))) | |
| (buffer-list)))) | |
| (while tramp-buffers | |
| (kill-buffer (car tramp-buffers)) |
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
| ;; https://plus.google.com/u/0/105641731374531810537/posts/YDz3n6BWmea | |
| (defun my-stitch-two-files-alongside (left-file right-file) | |
| "Patch two files together side by side" | |
| (interactive "fRequest file: \nfResponse file: ") | |
| (pop-to-buffer (generate-new-buffer "merged-req-rsp-files")) | |
| (let ((left-strings (file-string-list left-file)) | |
| (right-strings (file-string-list right-file))) | |
| (while left-strings | |
| (insert (car left-strings) " -> " (car right-strings)) |
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
| (defvar time-multipliers `(,(* 60 60 1000) ,(* 60 1000) 1000 1) | |
| "Multipliers for going to and from milliseconds and | |
| 00:00:00,000 format") | |
| (defvar subtitle-offset "00:00:04,764" | |
| "Amount in 00:00:00,000 format of offset to shift the values | |
| by ") | |
| (ert-deftest subtitle-shift-tests () | |
| (let ((max-lisp-eval-depth 1500) |
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
| <?xml version="1.0"?> | |
| <root> | |
| <item> | |
| <name>Change right option key to F17</name> | |
| <identifier>private.right_option_to_f17</identifier> | |
| <autogen>__KeyToKey__ KeyCode::RawValue::0x6e, KeyCode::F17</autogen> | |
| </item> | |
| <item> | |
| <name>Shifts to Parentheses</name> | |
| <appendix>Shifts, when pressed alone, type parentheses. When used with other keys they're normal shifts.</appendix> |
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
| cpanm (App::cpanminus) 1.7001 on perl 5.018000 built for x86_64-linux | |
| Work directory is /home/travis/.cpanm/work/1397927768.15814 | |
| You have make /usr/bin/make | |
| You have LWP 6.05 | |
| You have /bin/tar: tar (GNU tar) 1.26 | |
| Copyright (C) 2011 Free Software Foundation, Inc. | |
| License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. | |
| This is free software: you are free to change and redistribute it. | |
| There is NO WARRANTY, to the extent permitted by law. |
OlderNewer