Skip to content

Instantly share code, notes, and snippets.

View gnu-user's full-sized avatar

Jonathan Gillett gnu-user

View GitHub Profile
@gnu-user
gnu-user / testplan_make_failure.log
Created June 3, 2011 04:43
Tapper::Testplan Make Tests Failure
Writing Makefile for Tapper::Testplan
make[1]: Entering directory `/root/.cpan/build/Tapper-Testplan-3.000010-Y_2Jzc'
cp lib/Tapper/Testplan.pm blib/lib/Tapper/Testplan.pm
cp lib/Tapper/Testplan/Reporter/Plugins.pm blib/lib/Tapper/Testplan/Reporter/Plugins.pm
cp lib/Tapper/Testplan/Plugins/Taskjuggler.pm blib/lib/Tapper/Testplan/Plugins/Taskjuggler.pm
cp lib/Tapper/Testplan/Reporter.pm blib/lib/Tapper/Testplan/Reporter.pm
cp lib/auto/Tapper/Testplan/Plugins/Taskjuggler/mail.template blib/lib/auto/Tapper/Testplan/Plugins/Taskjuggler/mail.template
cp lib/Tapper/Testplan/Generator.pm blib/lib/Tapper/Testplan/Generator.pm
cp bin/tapper-testplan-generator blib/script/tapper-testplan-generator
/opt/tapper/perl/perls/perl-5.12.3/bin/perl5.12.3 "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/tapper-testplan-generator
@gnu-user
gnu-user / gist:3876339
Created October 11, 2012 23:31
Excellent Online C & POSIX Resources

Excellent Online C & POSIX Resources

NOTE: Please add useful resources you know of to this gist!

Excellent and Concise C References:

http://en.cppreference.com/w/c

@gnu-user
gnu-user / gist:3925503
Created October 21, 2012 02:30
Collaborative Development Boot Camp Poster

Collaborative Development Boot Camp Poster Ideas

The Event is called "Collaborative Development Boot Camp", use whichever variation of the spelling "Boot Camp" you prefer BootCamp... Boot-Camp

Poster Ideas

@gnu-user
gnu-user / .gitconfig
Last active December 12, 2015 08:09
GIT CONFIGURATION FILE
[user]
name = ...
email = ...
[github]
user = ...
token = ...
[diff]
external = /usr/bin/diff.py
[alias]
co = checkout
#
# deploy a static page on heroku
# ------------------------------
#
#
# required site structure:
#
# name-of-site
# |- config.ru
# +- public
@gnu-user
gnu-user / PocoTest.cpp
Created February 22, 2013 19:10
A sample program to verify you have POCO installed and your makefiles are done right.
#include <iostream>
#include <string>
#include <stdio.h>
#include <Poco/String.h>
using Poco::trim;
using Poco::trimLeftInPlace;
using Poco::trimRight;
using Poco::trimRightInPlace;
@gnu-user
gnu-user / layout.txt
Created February 22, 2013 19:14
The structure/layout of the front-end project
front-end
src/
include/
lib/
include/
Poco/
...
...poco header files..
...
static/
@gnu-user
gnu-user / diff.py
Created March 18, 2013 00:23
Diff.py use instead of the normal diff if you want git to use meld for diffing files.
#!/usr/bin/python
import sys
import os
os.system('meld "%s" "%s"' % (sys.argv[2], sys.argv[5]))
@gnu-user
gnu-user / gist:5691987
Created June 1, 2013 22:54
Add 10 test accounts for testing the elections website
INSERT INTO ucsc_members VALUES ('Bobby', 'Tables', AES_ENCRYPT('100123456', 'test123'), 'test@gmail.com', 'test1', AES_ENCRYPT('DEADBEEFtest123', 'test123'), NULL, '2012-01-23', CURDATE(), TRUE);
INSERT INTO ucsc_members VALUES ('Timmy', 'Tables', AES_ENCRYPT('100123456', 'test123'), 'test@gmail.com', 'test2', AES_ENCRYPT('DEADBEEFtest123', 'test123'), NULL, '2013-01-23', CURDATE(), TRUE);
INSERT INTO ucsc_members VALUES ('Jimmy', 'Tables', AES_ENCRYPT('100123456', 'test123'), 'test@gmail.com', 'test3', AES_ENCRYPT('DEADBEEFtest123', 'test123'), NULL, '2013-01-03', CURDATE(), TRUE);
INSERT INTO ucsc_members VALUES ('Harry', 'Tables', AES_ENCRYPT('100123456', 'test123'), 'test@gmail.com', 'test4', AES_ENCRYPT('DEADBEEFtest123', 'test123'), NULL, '2013-01-03', CURDATE(), TRUE);
INSERT INTO ucsc_members VALUES ('Larry', 'Tables', AES_ENCRYPT('100123456', 'test123'), 'test@gmail.com', 'test5', AES_ENCRYPT('DEADBEEFtest123', 'test123'), NULL, '2012-05-03', CURDATE(), TRUE);
@gnu-user
gnu-user / gist:5703269
Created June 4, 2013 02:57
Apache Virtual Hosts Configuration
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>