Skip to content

Instantly share code, notes, and snippets.

View philips's full-sized avatar
👨‍💻
at the keebs

Brandon Philips philips

👨‍💻
at the keebs
View GitHub Profile
#include <stdio.h>
int main(int argc, char **argv)
{
if (1 && 0)
printf("1 && 0 \n");
return 0;
}
#include <stdio.h>
int main(int argc, char **argv)
{
if (1 && 0)
printf("1 && 0 \n");
asdfsadfa
return 0;
#include <stdio.h>
int main(int argc, char **argv)
{
if (1 && 0)
printf("1 && 0 \n");
return 0;
}
(in /home/philips/projects/openconferenceware)
** Invoke test:plugins (first_time)
** Invoke environment (first_time)
** Execute environment
** SecretsReader - WARNING! Using insecure 'config/secrets.yml.sample' settings, see README.txt
** Execute test:plugins
** SecretsReader - WARNING! Using insecure 'config/secrets.yml.sample' settings, see README.txt
Loaded suite /usr/lib64/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/rake_test_loader
Started
.......-- create_table(:rated_things, {:force=>true})
philips:~/ $ if [[ $TERM =~ "^foobar123" || $TERM == "rxvt" ]]; then echo $TERM; fi
xterm
philips:~/ $ if [[ $TERM =~ "^foobar123" ]] || [[ $TERM == "rxvt" ]]; then echo $TERM; fi
philips:~/ $ if [[ $TERM =~ "^xterm" ]] || [[ $TERM == "rxvt" ]]; then echo $TERM; fi
xterm
31 if (new_resource.key =~ /http/)
32 key_file = method(:remote_file)
33 else
34 key_file = method(:cookbook_file)
35 end
36
37 key_file.call "#{Chef::Config[:file_cache_path]}/#{key_name}" do
38 source new_resource.key
39 mode "0644"
40 action :nothing
#!/usr/bin/env python
import simplejson
from datadiff import diff
actual = simplejson.loads('["foo", {"bar":["baz", null, 1.0, 2]}]')
expected = simplejson.loads('["foo", {"bar":["zap", null, 2.0, 2]}]')
print diff(actual, expected)
--- a
Could not fetch URL http://www.orbited.org (from http://pypi.python.org/simple/orbited/): timed out
Will skip URL http://www.orbited.org when looking for download links for orbited (from -r requirements.txt (line 9))
[default] [Wed, 26 Oct 2011 17:01:11 +0000] INFO: bash[install requirements] ran successfully
: stdout
[default] Forcing shutdown of VM...
[default] Destroying VM and associated drives...
FS.read_file("request.json", function (err, da ta)
if (err) then error(err) end