Skip to content

Instantly share code, notes, and snippets.


Chris Daley chebizarro

View GitHub Profile
View testexe-0
TAP version 13
# random seed: R02S0006a01b56eb3a32d746d02f164c232d
# Environment
# HOSTNAME : fedora
# TERM : xterm
# LC_ALL : en_US.UTF-8
# USER : developer
# PATH : /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
View testexe-0.log
TAP version 13
# random seed: R02S43ae10f6f9aee7104af34cfed9614014
# Environment
# AM_TAP_AWK : mawk
# G_DEBUG : gc-friendly
# HOSTNAME : fedora
# TERM : xterm
# MAKEFLAGS : w -- TEST_LOGS=testexe-0.log
Gtk.init (ref args)
var app = new Application ()
app.show_all ()
Gtk.main ()
chebizarro / gist:2b9f1487ed402c35cd2c
Last active Mar 4, 2016
jenkins debian glue error
View gist:2b9f1487ed402c35cd2c
gpgv: Signature made Fri Mar 4 09:28:49 2016 UTC using RSA key ID 4BFE7F51
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./valadate_1.0+0~20160304092839.3~1.gbp2ea73e.dsc
dpkg-source: info: extracting valadate in valadate-1.0+0~20160304092839.3~1.gbp2ea73e
dpkg-source: info: unpacking valadate_1.0+0~20160304092839.3~1.gbp2ea73e.tar.xz
I: Building the package
W: no hooks of type A found -- ignoring
I: Running cd tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" dpkg-buildpackage -us -uc -sa -sa -rfakeroot
dpkg-buildpackage: source package valadate
dpkg-buildpackage: source version 1.0+0~20160304092839.3~1.gbp2ea73e
chebizarro / gist:240a79913e373ecfd1d0
Created Mar 3, 2016
Jenkins-debian-glue build error
View gist:240a79913e373ecfd1d0
Started by upstream project "valadate-1.0-binaries" build number 47
originally caused by:
Started by user Chris Daley
[EnvInject] - Loading node environment variables.
Building remotely on docker-slave in workspace /home/build/workspace/valadate-1.0-binaries/architecture/i386
[WS-CLEANUP] Deleting project workspace...
Docker container 1468fcee8aefff56bb7b55db54935e684d34724474217044aec134d31fd4ba77 started to host the build
Copied 3 artifacts from "valadate-1.0-source" build number 9
$ docker -H tcp:// exec --tty 1468fcee8aefff56bb7b55db54935e684d34724474217044aec134d31fd4ba77 env
[i386] $ docker -H tcp:// exec --tty --user 1001:jenkins 1468fcee8aefff56bb7b55db54935e684d34724474217044aec134d31fd4ba77 env architecture=i386 BUILD_CAUSE=UPSTREAMTRIGGER BUILD_CAUSE_UPSTREAMTRIGGER=true BUILD_DISPLAY_NAME=#47 BUILD_ID=47 BUILD_NUMBER=47 BUILD_TAG=jenkins-valadate-1.0-binaries-architecture=i386-47 BUILD_URL= CLASSPA
chebizarro / properties.vala
Last active Jan 13, 2016
How to ignore a property if it is the same
View properties.vala
public class PropertyDemo : Object {
/* Property-backing fields */
private string _name;
private string _read_only;
/* Properties */
public string automatic { get; set; }
chebizarro /
Last active Jan 11, 2016
Vala Testing Framework input

Framework Input


Gherkin is a language for structuring human language in a way that allows business analysts, developers and testers to define features of an application.

Some computer languages have tools available to developers to convert Gherkin to an outline of a computer program. The following meaningless

example shows the structure. This uses PHP's Behat to convert Gherkin to PHP:

chebizarro / libvalaleak.vala
Last active Oct 12, 2015
A simple test to show the memory leak from the Vala Compiler called via libvala
View libvalaleak.vala
public static void parse (string[] args) {
Vala.Parser parser = new Vala.Parser ();
Vala.CodeContext context = new Vala.CodeContext();
parser.parse (context);
foreach (var path in args)
if (path.has_suffix (".vala") || path.has_suffix (".vapi") || path.has_suffix (".gs"))
context.add_source_file (new Vala.SourceFile (context, Vala.SourceFileType.SOURCE, path));
View Dia3 User

Dia3 User Stories

The user starts the application by launching it

The user starts the application by opening a single file

The user starts the application by opening multiple files

The user starts the application from the command line with no arguments