Skip to content

Instantly share code, notes, and snippets.

@benstr
benstr / readme.md
Last active October 16, 2016 01:26
TUT - Start a Rails App on Nitrous.io

Deploy Development Enviroment

Be sure to replace myapp with your unique app name.

1. Start a new app on Nitrous.io

In Nitrous counsole cd into the folder you want your app to be created in. And run the following command:

rails new myapp --database=postgresql

@benstr
benstr / readme.md
Last active December 24, 2015 15:19
Unix Command Pocketbook
DescriptionCommand
Remove Folder & Contentsrm -R foldername
Make Directory Foldersmkdir foldername
@benstr
benstr / readme.md
Created January 31, 2014 22:11
Gist Markdown Cheatsheet

#Heading 1 ##Heading 2 ###Heading 3 ####Heading 4 #####Heading 5 ######Heading 6


Paragraph

@benstr
benstr / readme.md
Last active August 29, 2015 13:55
Admin themes that rock

A Simple

The widgets and navigation are very cool and dynamic. Make sure to try the different view options in each widget.

Demo Site | Themeforest

Flat

Checkout the address book wodget! Also the overall squared look is pulled off very well.

Demo Site | Themeforest

@benstr
benstr / flat-colors
Created August 19, 2014 19:40
Flat UI quick css colors, http://flatuicolors.com/
/*******************************
FLAT COLORS - BACKGROUNDS
********************************/
.green-bg { /*emerald*/
background-color: #2ECC71;
}
.dark-green-bg { /*nephritis*/
background-color: #27ae60;
}
@benstr
benstr / Center-to-Left
Last active August 29, 2015 14:05
CSS Animations from Bounce
.animation-target {
-webkit-animation: CtoL 1500ms linear both;
animation: CtoL 1500ms linear both;
}
/* Generated with Bounce.js. Edit at http://goo.gl/eh38L9 */
@-webkit-keyframes CtoL {
0% { -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); }
@benstr
benstr / designer.html
Last active August 29, 2015 14:06
designer
<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-header-panel/core-header-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;

Material Design Contacts App Page Structure

A proof of concept showing the basic structure of the 'Contacts App' example shown throughout Google's Material Design Specs. There is many more additions needed to make this fully compliant to the specs but it exists purely for showing the structure and not the style.

A Pen by Ben Strahan on CodePen.

License.

@benstr
benstr / layout.html
Created October 9, 2014 21:50
Animate Routes with IronRouter and VelocityJS
<template name="layout">
<div class="container">
{{> yield}}
</div>
</template>
@benstr
benstr / GruntFile.js
Created October 21, 2014 13:52
Egghead.io - ECMA6 - traceur compiler and Grunt code
module.exports = function(grunt){
grunt.initConfig({
traceur: {
options: {
experimental:true
},
custom: {
files:{
'build/app.js': "js/**/*.js"
}