Skip to content

Instantly share code, notes, and snippets.

@parlarjb
parlarjb / gist:972588
Created May 14, 2011 20:18
Building PyPy revision 2650f0a670c0
[translation:info] Compiling c source...
[platform:execute] make in /var/folders/7+/7+jU+2VeFbq7ekX49vUWQk+++TQ/-Tmp-/usession-default-2/testing_1
[platform:Error] nonfuncnodes_1.c:36271: warning: initialization from incompatible pointer type
[platform:Error] nonfuncnodes_1.c:36445: warning: initialization from incompatible pointer type
[platform:Error] nonfuncnodes_1.c:36463: warning: initialization from incompatible pointer type
[platform:Error] nonfuncnodes_1.c:36487: warning: initialization from incompatible pointer type
[platform:Error] nonfuncnodes_1.c:36565: warning: initialization from incompatible pointer type
[platform:Error] nonfuncnodes_1.c:36661: warning: initialization from incompatible pointer type
[platform:Error] nonfuncnodes_1.c:36667: warning: initialization from incompatible pointer type
[platform:Error] nonfuncnodes_1.c:36781: warning: initialization from incompatible pointer type
@parlarjb
parlarjb / gist:1006739
Created June 3, 2011 17:30
Output of env
[~]$ . ~/Dropbox/virtualenvs/test-ve/bin/activate
(test-ve)[~]$ env
TERM_PROGRAM=Apple_Terminal
PIP_REQUIRE_VIRTUALENV=true
TERM=xterm-color
SHELL=/bin/bash
TMPDIR=/var/folders/Fa/FacyiprjEi0p5Y5+BOWNok+++TM/-Tmp-/
Apple_PubSub_Socket_Render=/tmp/launch-614YNz/Render
TERM_PROGRAM_VERSION=273.1
OLDPWD=/Users/parlarjb/Dropbox/virtualenvs/test-ve/bin
(test-ve)[~]$ ls -lR /Users/parlarjb/Dropbox/virtualenvs/test-ve
total 16
drwxr-xr-x 39 parlarjb staff 1326 3 Jun 13:21 Lib
drwxr-xr-x 11 parlarjb staff 374 3 Jun 13:26 bin
drwxr-xr-x 3 parlarjb staff 102 25 May 16:23 cachedir
lrwxr-xr-x 1 parlarjb staff 38 3 Jun 13:19 jython.jar -> /Users/parlarjb/jython2.5.2/jython.jar
-rw-r--r-- 1 parlarjb staff 3193 2 Mar 23:11 registry
/Users/parlarjb/Dropbox/virtualenvs/test-ve/Lib:
total 1256
@parlarjb
parlarjb / gist:1155792
Created August 19, 2011 01:34
PyPy builder error
[translation:ERROR] Error:
[translation:ERROR] Traceback (most recent call last):
[translation:ERROR] File "translate.py", line 308, in main
[translation:ERROR] drv.proceed(goals)
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/translator/driver.py", line 810, in proceed
[translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip())
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/translator/tool/taskengine.py", line 116, in _execute
[translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds)
[translation:ERROR] File "/home/oracle/parlarjb/pypy-pypy-release-1.6/pypy/translator/driver.py", line 286, in _do
[translation:ERROR] res = func()
@parlarjb
parlarjb / Statusbare.py
Last active December 28, 2015 09:38 — forked from drdrang/Cleanbar.py
#!/usr/bin/python
from __future__ import division
import Image
import sys, os
import base64, zlib
import photos, console
class Img(object):
def __init__(self, mode, size, data):
### Keybase proof
I hereby claim:
* I am parlarjb on github.
* I am parlar (https://keybase.io/parlar) on keybase.
* I have a public key whose fingerprint is F367 757E 8FF5 ED85 DA7E 6C57 8D4A D399 5C37 9F93
To claim this, I am signing this object:
@parlarjb
parlarjb / writeup.md
Last active August 29, 2015 14:05 — forked from klamping/writeup.md

Easy UI Regression Testing with Wraith and TravisCI

Introduction

In the past four years, I've learned the hard way about how painful it can be to try and update a codebase used by a large number of applications. Changes that seem innocent can break a specific use case that wasn't anticipated. Do enough manual regression testing and you will catch the bugs, but it's' costly and time consuming process. When things are costly and time consuming, they usually stop being done.

This is why I focus a lot of my efforts towards build process automation. Computers are fantastic about doing boring, repetitive work and never complaining. If you can get them to do the boring chores for you, you spend more time doing the fun, challenging work.

UI Regression testing is one of those spots where I'm looking for automation scripts to take over. Not only because playing "spot the difference" between your builds is boring, but also because [we're horrible at it](http://en.wikipedia.org/wiki/Chan

At mycloud.rackspace.com, each file inside of a Container has an actions widget. One of the items in the widget is "Edit Headers".
![](https://dl.dropboxusercontent.com/u/2384988/Screen%20Shot%202014-08-29%20at%202.58.28%20PM.png)
The available headers are:
![](https://dl.dropboxusercontent.com/u/2384988/Screen%20Shot%202014-08-29%20at%203.00.05%20PM.png)
Containers themselves also have an actions widget, but that widget does *not* include "Edit Headers".
@parlarjb
parlarjb / gist:7b5688ad4b9bd0b3adc8
Last active August 29, 2015 14:06
Our git flow process