Skip to content

Instantly share code, notes, and snippets.

View jimmyko's full-sized avatar
🏠
Working from home

Jimmy Ko jimmyko

🏠
Working from home
  • INDEPENDENT NEWS & MEDIA (UK) LTD
  • London, Hong Kong
View GitHub Profile
@jimmyko
jimmyko / drupal_install.sh
Created July 20, 2016 13:21 — forked from cam8001/drupal_install.sh
Drupal 8 install script.
#!/bin/bash
function drupal-install() {
sudo rm -rf sites/default;
sudo git checkout -- sites/default;
sudo chmod -R 777 sites/default;
sudo chown -R `whoami` sites/default;
sudo git checkout -- sites/default;
sudo chown -R `whoami` sites/default;
#exit;
@jimmyko
jimmyko / 0_reuse_code.js
Created April 15, 2014 10:48
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console