Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Daley chebizarro

View GitHub Profile
View testexe-0
TAP version 13
# random seed: R02S0006a01b56eb3a32d746d02f164c232d
1..17
# Environment
# HOSTNAME : fedora
# TERM : xterm
# DUALCASE : 1
# 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
1..17
# Environment
# AM_TAP_AWK : mawk
# G_DEBUG : gc-friendly
# HOSTNAME : fedora
# MALLOC_CHECK_ : 2
# TERM : xterm
# MAKEFLAGS : w -- TEST_LOGS=testexe-0.log
View texteditor.gs
[indent=4]
uses
Gtk
init
Gtk.init (ref args)
var app = new Application ()
app.show_all ()
Gtk.main ()
@chebizarro
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
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://10.0.0.129:4243 exec --tty 1468fcee8aefff56bb7b55db54935e684d34724474217044aec134d31fd4ba77 env
[i386] $ docker -H tcp://10.0.0.129:4243 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=http://10.0.0.128:8080/job/valadate-1.0-binaries/architecture=i386/47/ CLASSPA
@chebizarro
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
chebizarro / test_framework_input.md
Last active Jan 11, 2016
Vala Testing Framework input
View test_framework_input.md

Framework Input

Gherkin

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
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);
Vala.CodeContext.push(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 Stories.md

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