Skip to content

Instantly share code, notes, and snippets.

View benwells's full-sized avatar
:octocat:

Ben Wells benwells

:octocat:
  • GitHub Staff
  • Charleston, SC
View GitHub Profile
@clintonmedbery
clintonmedbery / ReactComponent.jsx
Last active May 8, 2018 15:09
ReactContainer Boilerplate
import React from 'react'
export const ThingComponent = ({ things, stuff}) => (
<Container>
<form>
</form>
</Container>
);
@benwells
benwells / fadeout.css
Last active August 29, 2015 13:56
Applying a css "fade out" transition animation upon clicking a link before traveling to the next page.
/* fadeOut animation css */
.fadeOut {
animation-name: fadeOut;
-webkit-animation-name: fadeOut;
animation-duration: 0.4s;
-webkit-animation-duration: 0.4s;
animation-timing-function: ease-in-out;
-webkit-animation-timing-function: ease-in-out;
@jaredwilli
jaredwilli / todoCtrl.js
Created April 27, 2013 08:30
todoFactor and TodoCtrl modules for the angularFire TodoMVC example to show an alternative example for using angularFireCollection to sync data with a Firebase by using a Factory to do so. https://github.com/firebase/angularFire/issues/24
'use strict';
todomvc.controller('TodoCtrl', [ '$scope', 'todoFactory', 'filterFilter',
function OtherCtrl($scope, todoFactory, filterFilter) {
$scope.todos = todoFactory.getAllTodos('todos');
$scope.newTodo = '';
$scope.editedTodo = '';
$scope.addTodo = function() {
todoFactory.addTodo($scope.newTodo);
};
$scope.editTodo = function(todo) {
@nuxlli
nuxlli / sublime_text_2_useful_shortcuts.md
Created September 9, 2011 18:51 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 - Useful Shortcuts

Tested in Mac OS X: super == command

Open/Goto


  • super+t: go to file
  • super+ctrl+p: go to project
  • super+r: go to methods