As front-end developers we all know the pain of coming up with meaningful component names for CSS classes. I created this gist as a place to collect terms that are suitable as user interface component names.
Please contribute your own ideas!
- button
| import produce from 'immer' | |
| import { handleActions as raHandleActions } from 'redux-actions' | |
| export const handleActions = (actions, state) => raHandleActions( | |
| Object.keys(actions).reduce((acc, key) => { | |
| acc[key] = produce(actions[key]) | |
| return acc | |
| }, {}), | |
| state |
| #!/bin/sh | |
| sudo rm /var/lib/mongodb/mongod.lock | |
| sudo -u mongod -f /etc/mongod.conf --repair | |
| sudo service mongod start |
| namespace :db do | |
| desc "Drop, create, migrate then seed the database" | |
| task :rebuild => :environment do | |
| Rake::Task['db:drop'].invoke | |
| Rake::Task['db:create'].invoke | |
| Rake::Task['db:migrate'].invoke | |
| Rake::Task['db:seed'].invoke | |
| end | |
| namespace :rebuild do |