Skip to content

Instantly share code, notes, and snippets.

@smn
smn / -
Created April 23, 2014 10:34
vumi-go@0.5.0-dev /Users/sdehaan/Documents/Repositories/go
├─┬ bower@1.2.8
│ ├── abbrev@1.0.4
│ ├── archy@0.0.2
│ ├─┬ bower-config@0.5.0
│ │ ├── mout@0.6.0
│ │ └─┬ optimist@0.6.1
│ │ ├── minimist@0.0.8
│ │ └── wordwrap@0.0.2
│ ├── bower-endpoint-parser@0.2.1
@smn
smn / -
Created April 23, 2014 10:36
vumi-go@0.5.0-dev /Users/sdehaan/Documents/Repositories/go
├── bower@1.2.8
├── grunt@0.4.1
├── grunt-bower-task@0.3.4
├── grunt-cli@0.1.13
├── grunt-contrib-jst@0.5.1
├── grunt-exec@0.4.5
├── grunt-karma@0.6.2
├── grunt-mocha-cov@0.2.1
├── grunt-mocha-test@0.6.3
1c1
< vumi-go@0.5.0-dev /home/justin/praekelt/vumi-go
---
> vumi-go@0.5.0-dev /Users/sdehaan/Documents/Repositories/go
3c3
< ├── grunt@0.4.4
---
> ├── grunt@0.4.1
12,15c12,15
< ├── js-yaml@2.1.3
1c1
< vumi-go@0.5.0-dev /home/justin/praekelt/vumi-go
---
> vumi-go@0.5.0-dev /Users/sdehaan/Documents/Repositories/go
3c3
< ├── grunt@0.4.4
---
> ├── grunt@0.4.1
12,15c12,15
< ├── js-yaml@2.1.3

Across the world, many girls become pregnant before they are ready. This is one girl's story.

My name is Khadija and I live in Malawi. I am one of 8 children born to an amazing father and a loving mother. My father had a job and gave us all a comfortable life. But the day he died the life I knew came to an end.

In my country, a widow doesn't have the right to stay in her husband's home. My uncles forced us to leave the house and we had to move to a small plot in my mother's family's village. I stayed home from school for a month to help my family make bricks to build a new home.

We helped mother turn the dry dirt plot next to our house into a garden, but we couldn't produce enough food. Our lives became about day-to-day survival.

But no matter how hungry I was, I always worked hard at school. I told myself to focus! I knew that without education I would be a slave to this world, toiling tirelessly like my mother. Every free moment I had between farming and cleaning the house, I studied for the final exa

@smn
smn / .gitignore
Last active August 29, 2015 14:09
elastic git sample code
/the_repository/
*.pyc
/ve/
@smn
smn / .gitignore
Last active August 29, 2015 14:10
examples for how to interact with unicore content repos
/the_repository/
*.pyc
/ve/
/unicore/
/unicore-cms-content-ffl-tanzania/
'HTTP_USER_AGENT': 'SAMSUNG-SGH-E250/1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 UP.Browser/6.2.3.3.c.1.101 (GUI) MMP/2.0 (compatible; Googlebot-Mobile/2.1; +http://www.google.com/bot.html)'
@smn
smn / gist:829176
Created February 16, 2011 10:44
MNO-south-africa.py
import yaml
config = """
2771:
27710: MTN
27711: VODACOM
27712: VODACOM
27713: VODACOM
27714: VODACOM
27715: VODACOM
@smn
smn / gql-githubarchive.sql
Created September 4, 2012 08:16
Google BigQuery for githubarchive.com dataset for top 100 GitHub pushers from South Africa
/* top 100 repos for South African GitHub users by number of pushes */
SELECT actor_attributes_login, repository_name, count(repository_name) as pushes, repository_description, repository_url
FROM [githubarchive:github.timeline]
WHERE (actor_attributes_location CONTAINS 'South Africa') OR
(actor_attributes_location CONTAINS 'ZA') OR
(actor_attributes_location CONTAINS 'RSA')
GROUP BY actor_attributes_login, repository_name, repository_description, repository_url
ORDER BY pushes DESC
LIMIT 100