Skip to content

Instantly share code, notes, and snippets.


J Joostvanderlaan

View GitHub Profile
View designer.html
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<polymer-element name="my-element">
View nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
# A little Meteor CheatSheet about Iron-Router. (updated on a weekly basis)
# Check our Studio:
meteor add iron:router
meteor update iron:router
# Iron Router > Configuration
Joostvanderlaan /
Created Oct 2, 2015 — forked from oodavid/
Deploy your site with git

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
    • apache's home directory is /var/www/
# Atom on Ubuntu
# Tested on Ubuntu 14.04 LTS
# Add repository for Atom
sudo add-apt-repository ppa:webupd8team/atom -y
# Install Atom and Git
sudo apt-get update
Joostvanderlaan / Zsh & theme
Created Jun 23, 2016 — forked from leemour/Zsh & theme
Zsh installation and Agnoster theme settings
View Zsh & theme
# Railscast
# Install Zsh
sudo apt-get update && sudo apt-get install zsh
# Install Oh-my-zsh
wget –no-check-certificate -O – | sh
# Make ZSH default shell
Joostvanderlaan / Origin to Upstream
Last active Dec 6, 2017 — forked from javigomez/Origin to Upstream
Git command to rename the origin to upstream when you just forked a project
View Origin to Upstream
git remote rename origin upstream
git remote add origin
git push origin master
View Cleanup Docker

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

Purging All Unused or Dangling Images, Containers, Volumes, and Networks

Docker provides a single command that will clean up any resources — images, containers, volumes, and networks — that are dangling (not associated with a container):

docker system prune

To additionally remove any stopped containers and all unused images (not just dangling images), add the -a flag to the command:

Joostvanderlaan / grid.js
Created Jan 22, 2018 — forked from wschenk/grid.js
create-react-app grid.js rmwc example
View grid.js
import React, {Component} from 'react'
import {
GridTileTitle } from 'rmwc'
class Grid extends Component {