Skip to content

Instantly share code, notes, and snippets.

View tomkr's full-sized avatar

Tom Kruijsen tomkr

View GitHub Profile
@tomkr
tomkr / index.html
Last active September 30, 2015 17:48
Basic HTML index page for a mobile web app
<!DOCTYPE html>
<html lang="en" manifest="cache.manifest">
<head>
<meta charset="utf-8">
<title>Mobile Web Dev</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="apple-touch-startup-image" href="startup-image.png">
<link rel="apple-touch-icon" href="icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="icon-72x72.png">
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
htmlmin: {
build: {
files: {
'build/index.html': 'index.html'
}

Keybase proof

I hereby claim:

  • I am tomkr on github.
  • I am tomkr (https://keybase.io/tomkr) on keybase.
  • I have a public key whose fingerprint is 563D 684A 9466 5883 2A7D 63A8 EFBA A105 5690 CED4

To claim this, I am signing this object:

@tomkr
tomkr / Gulpfile.js
Created April 20, 2016 19:56
Gulpfile for Rails with livereload
'use strict';
var gulp = require('gulp');
var sass = require('gulp-sass');
var livereload = require('gulp-livereload');
var babel = require('babelify');
var browserify = require('browserify');
var source = require('vinyl-source-stream');
var exec = require('child_process').exec;