Skip to content

Instantly share code, notes, and snippets.

@Bjwebb
Bjwebb / gist:5579628
Last active Dec 17, 2015
Machine specs for steam
View gist:5579628
Processor Information:
Vendor: GenuineIntel
Speed: 3801 Mhz
4 logical processors
4 physical processors
HyperThreading: Unsupported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
@Bjwebb
Bjwebb / debug
Last active Dec 24, 2015
IATI-Data-Snapshot debug
View debug
This file has been truncated, but you can view the full file.
--2014-12-19 00:27:53-- http://maps.aidsalliance.org/iati/organisation.xml
Resolving maps.aidsalliance.org (maps.aidsalliance.org)... 185.35.56.72
Connecting to maps.aidsalliance.org (maps.aidsalliance.org)|185.35.56.72|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2229 (2.2K) [application/xml]
Saving to: 'data/aa/aa-organisation'
0K .. 100% 160M=0s
@Bjwebb
Bjwebb / errors
Last active Dec 24, 2015
IATI-Data-Snapshot download errors
View errors
8 cafod cafod-myanmar http://www.cafod.org.uk/extra/data/iati/IATIFile_Myanmar.xml
8 coda coda-org http://coda-international.org.uk/iati-info.xml
8 deccadmin deccadmin-activities http://www.aidstream.org/files/xml/deccadmin-activities.xml
1 ewb_canada ewb_canada-water_sanitation_2011
1 gb-chc-220949 gb-cc-220949-pk
1 gb-chc-220949 gb-cc-220949-ai
1 gb-chc-220949 gb-cc-220949-np
1 gb-chc-220949 gb-cc-220949-gb
1 gb-chc-220949 gb-cc-220949-ug
4 mfat mfat-890 http://www.aid.govt.nz/webfm_send/570
View xmlerrors
data/cif/cif-679:10: parser error : Opening and ending tag mismatch: META line 8 and head
</head>
^
data/cif/cif-679:19: parser error : AttValue: " or ' expected
g src="images/icontop.gif" width="20" height="20" alt="World Bank Group" border=
^
data/cif/cif-679:19: parser error : attributes construct error
g src="images/icontop.gif" width="20" height="20" alt="World Bank Group" border=
^
data/cif/cif-679:19: parser error : Couldn't find end of Start Tag img line 19
View nonstandardroots
data/cif/cif-679
data/mrc/mrc-oda
organisations data/self-help-africa/self-help-africa-org
data/unitedstates/unitedstates-mw
data/unitedstates/unitedstates-mz
iati-activity data/unw/unw-1057
.
@Bjwebb
Bjwebb / 0_versions-summary
Last active Dec 24, 2015
IATI schema versions
View 0_versions-summary
41
142 1
313 1.0
1 [1.00]
326 1.00
1 1.000000000000000000
204 1.01
432 1.02
1567 1.03
507 1.04
View 0_list-summary
3515 list
543 list-fail-validate
2972 list-validate
View backup-github.sh
#!/bin/bash
# A simple script to backup an organization's GitHub repositories.
GHBU_BACKUP_DIR=${GHBU_BACKUP_DIR-"github-backups"} # where to place the backup files
GHBU_ORG=${GHBU_ORG-"IATI"} # the GitHub organization whose repos will be backed up
GHBU_UNAME=${GHBU_UNAME-"bjwebb"} # the username of a GitHub account (to use with the GitHub API)
#GHBU_PASSWD=${GHBU_PASSWD-""} # the password for that account
GHBU_GITHOST=${GHBU_GITHOST-"github.com"} # the GitHub hostname (see notes)
GHBU_PRUNE_OLD=${GHBU_PRUNE_OLD-true} # when `true`, old backups will be deleted
GHBU_PRUNE_AFTER_N_DAYS=${GHBU_PRUNE_AFTER_N_DAYS-3} # the min age (in days) of backup files to delete
View license_not_open
2 acted
2 ai_1064413
2 akfuk73
1 amrefnl
1 aqua4all
1 art19
10 asf
2 base_22
6 basicneeds
1 bauk
View 0_publishers-summary
250 publishers
20 publishers-allfail
206 publishers-allokay
24 publishers-onlysomefail
44 publishers-somefail
230 publishers-someokay
774 total