Skip to content

Instantly share code, notes, and snippets.

View murum's full-sized avatar

Christoffer Rydberg murum

  • Christoffer Rydberg
  • Hallsberg, Sweden
  • 19:30 (UTC +01:00)
View GitHub Profile
@murum
murum / gist:47b35085dfb603d56b82
Created October 23, 2015 07:24
Wordpress gulp with PHP browsersync
///// Plugin Includes /////
var gulp = require('gulp'),
uglify = require('gulp-uglify'),
plumber = require('gulp-plumber'),
concat = require('gulp-concat'),
jshint = require('gulp-jshint'),
autoprefixer = require('gulp-autoprefixer'),
browserSync = require('browser-sync'),
reload = browserSync.reload,
sass = require('gulp-sass');
@murum
murum / BowlingGameSpec.php
Last active August 29, 2015 14:14
BowlingGameSpec Updated
<?php namespace spec;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
class BowlingGameSpec extends ObjectBehavior {
function it_scores_a_gutter_game_as_zero() {
$this->rollTimes( 20, 0 );
$this->score()->shouldBe( 0 );
@murum
murum / gist:38907fc6f336399ab054
Last active August 29, 2015 14:03
equal width columns
// A small and easy experiment by Harry Roberts showing how to achieve equal-width columns in a table with table-layout: fixed;.
// DEMO
http://jsfiddle.net/csswizardry/zfSt4/
// HTML
<ul class="tabs primary-nav">
<li class="tabs__item">
<a href="#" class="tabs__link">Home</a>
</li>