blocks by mrchrisadams

Tea, Arduino and Dynamic Demand

I'm trying to learn to use clojure to parse a wordpress XML and generate markdown files for each one.

tracesbacks when using perun for the first time

Interesting MS sustainability tech roles, without the sign in guff

Get an idea of the timezone distribution in a slack workspace

The Open Green Web

How do I pass keywords in to this query() function in python?

A rough sketch for how mjml and django-mail-builder would work

How big are all the tables in the 'public' schema in postgres

how should I mock and patch this?

puzzling over something simple in Vue

Is there a nice way to do this in python?

why do I keep getting old and busted pip and setuptools versions?

Y U NO SEE TABLEZ IN DATABASE

Messing around and using AWS Lambda wrong. These are the settings I got working in the end. I'm tired, and almost definitely using Whitenoise wrong

39f75ceb47b51e800db6

I'm giving a talk later this week at a Dat Meetup, so I figured I'd dump this here, get some feedback then put together a deck for Thursday, once I've had a chance to think it over.

A few functions I've used for importing photos that were previously in a huge mess of nested folders

reviewing the polarbear book

39b00f195c60b86af24b

Getting pointers on updating a deploy role for ansible

Why would `mysql_root_password` not be defined here? As far as I can tell, I'm following the ansible var discovery rules

see also - http://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/

UK govcamp slackin notes

I don't know how I managed to wipe out the ability to select text in this map, but I have. Try clicking a country, then highlighting the "Policies and Interventions" text. Line 130 in d3_map.js seems to be the culprit. Gold star to anyone who can help get to the bottom of this.

db66920c9d34c71f9b1d

A properly jank-o script for uploading a static site to greenqloud. Used to get my company site online

this is probably out of date

why wouldn't the file specificed by `creates` be created when the command runs successfully?

e0d5f88a08e2d72f673e

It turns out sending notifications to slack trivial to do. This pleases me

How do I avoid long lines like this in an ansible inventory, for inventory specific values?

7ec710439f30b88d1f9c

Can you travel on Deutsche Bahn trains without needing to print the tickets on paper?

How to use s3cmd with Greenqloud instead of AWS

strange wordpress routing behaviour

A list of things we need to get another instance of the amee platform up online

9486002

virtual environments with python and fish

8595730

Good arcade sticks for Street Fighter

7181254

this is hopefully an idiot simple example for fish shell. I'm trying to use this script (https://gist.github.com/burke/5066634) to get boxen, rbenv, and fish playing nicely with each other. I'm approaching the point where I can no longer be arsed with all of this.

Example of generating CSV files from python

6441904

6366582

5831855

Hackney cycling brief

Pattern for getting ands setting variables across environments with Drupal and PHP. Trying to reconcile with a twelve factor approach, and Drupal's insistence on storing things in a database at any given opportunity.

How to get a spreadsheet/csv friendly list of 'yes' RSVPs using meetup.com

What fields do we REALLY need then?

This is a companion gist for an issue I raised on the cloudfoundry-vagrant repo, created by @andreacampi.

3969361

I'm really struggling with running a simple test asyncronously with should.js, and node-redis.

Tying together sendgrid and kissmetrics

Doing something absurdly simple in Jade that surely shouldn't take more than 3 minutes, based on reading jade docs here - http://naltatis.github.com/jade-syntax-docs/

automated trolling with twillio

3084229

3077696

Working hello world example for rspec and sinatra now

patch devise to be better, Chrir

A reformatted gist of the "Potential solution to bar chart values" post for flot

Looking for more people to code Ruby in a funded, established, sciencey environmental startup in London

1854172

FFFTFTSE

My friend, Cyndi at Worn Again set this supply chain based challenge for the London Green Hackathon.

How can I see which exception was raised in the rescue block in this method?

Why would bundler keep asking me to install a gem that's already installed?

Using webmock and VCR together

does this work for you? It bloody well doesn't for me

1343417

attributes_not_being_assigned

1239235

1087647

Rake example for making a migration script

example selenium php script

BuildKit.rst

A support gist for an issue raised on github

Headshift PHP test

911075

910434

903806

894630

topfunky's latest changes to the peepopen plugin

871187

869422

850836

849136

836939

774761

I can't work our why this simple sql query is returning false.

php files keep being downloaded like binaries. Why would this be?

742438

741955

741940

The last commit here, eb5251 has the diff between the default textmate html grammar, and the updated one to allow folding text on php arrays. If you work with Drupal, it's a life saver

736118

736086

731814

731812

710193

710191

710190

703688

591462

591461

570206

569837

568589

568219

567623

564079

551555

513968

498656

450713

424106

411589

408636

407641

407610

404984

400920

397473

397185

395020

390891

390504

390495

389653

389507

388631

383321

380539

379499

379413

377960

377848

372350

365775

317987

Create a blog post in jekyll

317543

314888

307618

304782

304677

303959

292844

291824

291767

291681

289644

288824

288794

288621

288087

287720

287709

286728

264585

264251

258386

244707

241841

241815

241089

240812

235915

This a quick script adapted from a friend to expedite the process of downloaidng mp3 mixtape files on pages

233841

230882

218091

217464

215083

211654

209955

209406

208517

208293

208289

201979

189503

189456

189050

188605

187238

186334

185433

184667

172324

169221

169217

169102

166102

165756

158662

157546

151383

151293

146312

146179

140877

139443

135211

132563

130556

130554

119204

114276

114068

111584

110967

109766

109487

109032

108700

108115

108110

101553

97957

95121

88905

86813

86148

84254

82528

80456

80162

80161

79515

my gems

78672

75850

74326

65384

41883

26273

12803