Skip to content

Instantly share code, notes, and snippets.

Avatar

Simon de Haan smn

View GitHub Profile
View foo.potdiff
diff --git a/go-app-ussd_public.js b/go-app-ussd_public.js
index 2dc4816..8584a68 100644
--- a/go-app-ussd_public.js
+++ b/go-app-ussd_public.js
@@ -648,7 +648,10 @@ go.app = function() {
return Q(true);
}
// Otherwise check the API
- return new JsonApi(self.im, {'Authorization': 'Token ' + api_token})
+ return new JsonApi(self.im, {
View keybase.md

Keybase proof

I hereby claim:

  • I am smn on github.
  • I am smn (https://keybase.io/smn) on keybase.
  • I have a public key whose fingerprint is BF1A 432A 53E4 7D67 C0B9 FE99 6937 911D 7CAA 7748

To claim this, I am signing this object:

@smn
smn / .gitignore
Last active Aug 29, 2015
examples for how to interact with unicore content repos
View .gitignore
/the_repository/
*.pyc
/ve/
/unicore/
/unicore-cms-content-ffl-tanzania/
@smn
smn / .gitignore
Last active Aug 29, 2015
elastic git sample code
View .gitignore
/the_repository/
*.pyc
/ve/
View 0_content.md

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 / baba.sonicpi.rb
Last active Jun 17, 2017
binary black sheep do you have any wool?
View baba.sonicpi.rb
# CDEFGABC
the_song = <<-BA_BA_BLACKSHEEP
10000000
10000000
00001000
00001000
00000100
00000100
00001000
00001000
View foo.diff
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
View foo.diff
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
View -
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
View -
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