Skip to content

Instantly share code, notes, and snippets.

@Bjwebb
Bjwebb / gist:5579628
Last active December 17, 2015 08:19
Machine specs for steam
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 December 24, 2015 01:55
IATI-Data-Snapshot 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 December 24, 2015 01:49
IATI-Data-Snapshot download 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
@Bjwebb
Bjwebb / xmlerrors
Last active December 24, 2015 01:49
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
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 December 24, 2015 02:19
IATI schema versions
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
3515 list
543 list-fail-validate
2972 list-validate
@Bjwebb
Bjwebb / backup-github.sh
Last active October 23, 2017 15:40 — forked from rodw/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
2 acted
2 ai_1064413
2 akfuk73
1 amrefnl
1 aqua4all
1 art19
10 asf
2 base_22
6 basicneeds
1 bauk
250 publishers
20 publishers-allfail
206 publishers-allokay
24 publishers-onlysomefail
44 publishers-somefail
230 publishers-someokay
774 total