Skip to content

Instantly share code, notes, and snippets.

Darryl Walker PenguinOfWar

View GitHub Profile
aronwoost /
Created Jul 25, 2011
How to install LAMP on a EC2 Amazon AMI

Launch the instance and connect with ssh.

##Update the server

sudo yum update

##Install php and MySQL packages

jamiew / google_twunter_lol
Created Jul 28, 2011
All the dirty words from Google's "what do you love" project:
View google_twunter_lol
jamescun /
Created Nov 4, 2015
Letter to Emily Thornberry regarding the Draft Investigatory Powers Bill

Dear Emily Thornberry,

I write to you with a simple hypothetical. Imagine the ISP TalkTalk were required by law to retain 12 months worth of internet access history, now imagine the result of their recent security breach given this. Every TalkTalk customer would potentially have their entire private online world exposed to the public: from the popular teenager, terrified of the views of his family and friends, researching LGBTQ issues; to the jovial receptionist frequenting suicide support forums. None of it legally sensitive, but personally devastating.

TalkTalk are not alone: BT, Virgin and Sky have all had data breaches go public. As long as data security continues to be overlooked at these companies and many others, data breaches will continue to happen. The only way to safe guard the above information from attack, is to not have it at all.

If the proposed Draft Investigatory Powers Bill were to pass, the above would become an all too common reality. Nobody argues against the need for our security serv

View Change "origin" of your GIT repository
$ git remote rm origin
$ git remote add origin
$ git config master.remote origin
$ git config master.merge refs/heads/master
bradwestfall /
Last active Jul 16, 2020
Use S3 and CloudFront to host Static Single Page Apps (SPAs) with HTTPs and www-redirects. Also covers deployments.

S3 Static Sites

What this will cover

  • Host a static website at S3
  • Redirect to
  • Website can be an SPA (requiring all requests to return index.html)
  • Free AWS SSL certs
  • Deployment with CDN invalidation


gricard /
Last active Jun 27, 2020
Just some notes about my attempt to upgrade to webpack 4

If you enjoyed reading this, I'm intending to do more blogging like this over here:

This is not a complaint about Webpack or v4 in any way. This is just a record of my process trying it out so I could provide feedback to the webpack team

Hmm... I don't see any docs for 4.0 on I guess I'll just wing it. All I need to do is npm i -D webpack@next, right?

+ webpack@4.0.0-beta.2
bwangila / Download and Organize Courses with
Last active Jun 17, 2020 unfortunately does not allow one to easily download course videos even with a premium subscription. Here, I show you how to easily do that with the open source youtube-dl utility.
View Download and Organize Courses with


youtube-dl is a handy little command-line utility that, with the right command, automagically downloads videos from Youtube as well as other platforms such as Vimeo,, BBC, CNN etc..(Full list of supported websites)

Kindly proceed to youtube-dl's Github repo for detailed installation instructions for your respective OS

In case of an error, make sure you have Python 2.6, 2.7 or 3.2+ installed as youtube-dl needs it to run.


You can’t perform that action at this time.