- 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
- Compass - Open source CSS Authoring Framework.
- Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
- Font Awesome - The iconic font designed for Bootstrap.
- Zurb Foundation - Framework for writing responsive web sites.
- SASS - CSS extension language which allows variables, mixins and rules nesting.
- Skeleton - Boilerplate for responsive, mobile-friendly development.
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
| curl -d 'email=scott@kickofflabs.com&api_key=your_api_key' https://api.kickofflabs.com/v1/1905/subscribe | |
| curl -G -d "email=scott@kickofflabs.com" https://api.kickofflabs.com/v1/1905/info |
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 _ = require("lodash"); | |
| var path = require("path"); | |
| var env = process.env.NODE_ENV || "development"; | |
| var debug = ["development", "test"].indexOf(env) !== -1; | |
| var defaults = { | |
| cache: debug, | |
| debug: debug, |
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
| # | |
| # Install the MYSQL driver | |
| # gem install mysql2 | |
| # | |
| # Ensure the MySQL gem is defined in your Gemfile | |
| # gem 'mysql2' | |
| # | |
| # And be sure to use new-style password hashing: | |
| # http://dev.mysql.com/doc/refman/5.0/en/old-client.html | |
| development: |
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
| VERSION=$(shell git rev-parse --short HEAD) | |
| DESC=$(shell git log -1 --pretty=%B) | |
| BUCKET_NAME="your-eb-s3-bucket" | |
| PROJECT_NAME=$(shell basename $(shell pwd)) | |
| REGION="eu-west-1" | |
| ifndef ENV | |
| $(error No environment ENV is defined) | |
| endif |
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
| ''' | |
| Simple LocustIO testing script with basic auth | |
| ''' | |
| import random, gzip, StringIO, threading, urllib2, re, getpass | |
| from locust import HttpLocust, TaskSet, task, web | |
| from random import randint | |
| from urlparse import urlparse | |
| #resource.setrlimit(resource.RLIMIT_NOFILE, (999999, 999999)) | |
| USER_AGENTS = [ |
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
| # https://stackoverflow.com/a/14061796/2237879 | |
| # | |
| # This hack allows you to run make commands with any set of arguments. | |
| # | |
| # For example, these lines are the same: | |
| # > make g devise:install | |
| # > bundle exec rails generate devise:install | |
| # And these: | |
| # > make add-migration add_deleted_at_to_users deleted_at:datetime | |
| # > bundle exec rails g migration add_deleted_at_to_users deleted_at:datetime |
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
| VERSION=$(shell git rev-parse --short HEAD) | |
| DESC=$(shell git log -1 --pretty=%B) | |
| BUCKET_NAME="my-bucket" | |
| PROJECT_NAME="my-project" | |
| REGION="us-east-1" | |
| ENV_NAME="elasticbeanstalk-environment-name" | |
| archive: | |
| git archive --format=zip -o $(VERSION).zip HEAD |
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
| // just add pass server as your task function | |
| // Start a server with LiveReload to preview the site in | |
| const OUTPUT_PARENT = 'dist' | |
| const OUTPUT_DIRECTORY = OUTPUT_PARENT + '/browser-sync' | |
| function server(done) { | |
| browser.init({ | |
| server: { | |
| directory: true, |
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
| # Add the following 'help' target to your Makefile | |
| # And add help text after each target name starting with '\#\#' | |
| help: ## Show this help. | |
| @fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//' | |
| # Everything below is an example | |
| target00: ## This message will show up when typing 'make help' | |
| @echo does nothing |