This file contains hidden or 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
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
$icons: ( | |
"play": "\f04b", | |
"pause": "\f04c" | |
); |
This file contains hidden or 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 | |
function ellipsis($text, $max=100, $append='……'){ | |
if (strlen($text) <= $max) return $text; | |
$text = strip_shortcodes($text); | |
$text = strip_tags($text); | |
$out = mb_substr($text,0,$max); | |
if (strpos($text,' ') === FALSE) return $out.$append; | |
return preg_replace('/\w+$/','',$out).$append; | |
} |
This file contains hidden or 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
{ | |
"name": "roots", | |
"version": "7.0.0", | |
"author": "Ben Word <[email protected]>", | |
"homepage": "http://roots.io", | |
"repository": { | |
"type": "git", | |
"url": "git://github.com/roots/roots.git" | |
}, | |
"bugs": { |
This file contains hidden or 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
var gulp = require('gulp'); // Gulp! | |
var less = require('gulp-less'); // Less | |
var prefix = require('gulp-autoprefixer'); // Autoprefixr | |
var minifycss = require('gulp-minify-css'); // Minify CSS | |
var concat = require('gulp-concat'); // Concat files | |
var uglify = require('gulp-uglify'); // Uglify javascript | |
var rename = require('gulp-rename'); // Rename files | |
var util = require('gulp-util'); // Logging | |
var livereload = require('gulp-livereload'); // LiveReload |
This file contains hidden or 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
} | |
@media screen and (min-width: 768px) { | |
.page-container { | |
padding-left: 0; | |
padding-right: 0; | |
} | |
} | |
@media screen and (min-width: 768px) { | |
.row { | |
margin-left: -24px; |
This file contains hidden or 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
import java.applet.Applet; | |
import java.awt.Graphics; | |
import java.awt.Image; | |
import java.awt.image.BufferedImage; | |
import java.io.File; | |
import java.io.FileNotFoundException; | |
import java.io.IOException; | |
import javax.imageio.ImageIO; |