This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// This is a test. | |
$var = 'something'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ Form::open(['url' => '/tasks', 'class' => 'form']) }} | |
<div class="form-group {{ $errors->first('title', 'has-error') }}"> | |
{{ Form::label('title', 'Title:', ['class' => 'control-label']) }} | |
{{ Form::text('title', null, ['class' => 'form-control']) }} | |
{{ $errors->first('title', '<span class=alert-danger>:message</span>') }} | |
</div> | |
<div class="form-group {{ $errors->first('body', 'has-error') }}"> | |
{{ Form::label('body', 'Body:', ['class' => 'control-label' ]) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Our Gulp packages we want to use | |
var gulp = require('gulp'), | |
gutil = require('gulp-util'), | |
notify = require('gulp-notify'), | |
sass = require('gulp-ruby-sass'), | |
coffee = require('gulp-coffee'), | |
autoprefix = require('gulp-autoprefixer'), | |
phpunit = require('gulp-phpunit'), | |
rename = require('gulp-rename'), | |
liveReload = require('gulp-livereload'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git:(master) ✗ gulp | |
[gulp] Using file /Users/randomdrake/Sites/Goldmine/gulpfile.js | |
[gulp] Working directory changed to /Users/randomdrake/Sites/Goldmine | |
[gulp] Live reload server listening on: 35729 | |
[gulp] Running 'css'... | |
[gulp] Finished 'css' in 6.86 ms | |
[gulp] Running 'coffee'... | |
[gulp] Finished 'coffee' in 1.7 ms | |
[gulp] Running 'phpunit'... | |
[gulp] Finished 'phpunit' in 718 μs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// From https://gist.github.com/peschee/5734414 | |
// Modified for current version of bootstrap and added to by @randomdrake | |
@mixin respond-to($media) { | |
/* Landscape phones and down */ | |
@if $media == phone { | |
@media (max-width: 480px) { @content; } | |
} | |
/* Non-phone */ | |
@else if $media == non-phone { | |
@media (min-width: 481px) { @content; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html><head> | |
<meta charset="utf-8"> | |
<title>Full page screen catpure</title> | |
<!-- there are rendering bugs when styles aren't inline... --> | |
<style> | |
body { | |
font: normal 12px/16px helvetica,aria,sans-serif; | |
} | |
div,p { margin: 0; padding: 0; } |