Skip to content

Instantly share code, notes, and snippets.

Verifying that +hiaustin is my Bitcoin username!!!!!! You can send me #bitcoin here: https://onename.io/hiaustin

Web Design Contract (open-source)

Between [your name] and [their name]

Summary:

You ([their name]), located at [customer address] are hiring me ([your name]) located at [company address] to [design and develop a web site] for the estimated total price of [total] as outlined in our previous correspondence.

What do both parties agree to do?

@austinsamsel
austinsamsel / karma.config.js
Created December 13, 2015 15:02 — forked from AdamBrodzinski/karma.config.js
Karma React Setup (drop these in /tests/karma/ )
module.exports = function(config) {
config.set({
basePath: '../../',
frameworks: ['jasmine', 'jquery-2.1.0'],
plugins: [
'karma-babel-preprocessor',
'karma-jquery',
'karma-jasmine',
'karma-mocha-reporter',
],
group :test do
gem 'cucumber-rails', require: false
gem 'database_cleaner'
end
$ bundle install
@austinsamsel
austinsamsel / .vimrc
Last active August 14, 2016 21:05
current vimrc
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
@austinsamsel
austinsamsel / .gitignore
Last active February 4, 2017 22:01
global .gitignore
# git config --global core.excludesfile '~/.gitignore'
# http://stackoverflow.com/a/7335487
.DS_Store
node_modules
.env
# swap
[._]*.s[a-w][a-z]
@austinsamsel
austinsamsel / git rm cached
Last active December 3, 2016 15:15
remove files from repository that are listed in gitignore
git rm -r --cached .
git add .
git commit -m "Removing all files in .gitignore"
# OR, in one line:
git rm -r --cached . && git add . && git commit -m "Removing all files in .gitignore"
# 1) https://code.tutsplus.com/tutorials/how-to-install-ruby-on-a-mac--net-21664
# 2) http://flummox-engineering.blogspot.com/2014/05/you-dont-have-write-permissions-for.html
# note to self: backup - https://getpocket.com/a/read/541537367
# note to self: backup - getpocket tags (install ruby rvm)
@austinsamsel
austinsamsel / collections.liquid.html
Created January 20, 2017 16:06 — forked from davecap/collections.liquid.html
"Infinite" scrolling in Shopify collections
{% paginate collection.products by 20 %}
<!-- the top of your collections.liquid -->
<!-- START PRODUCTS -->
{% for product in collection.products %}
<!-- START PRODUCT {{ forloop.index | plus:paginate.current_offset }} -->
<div class="product" id="product-{{ forloop.index | plus:paginate.current_offset }}">
{% include 'product' with product %}
</div>
<!-- END PRODUCT {{ forloop.index | plus:paginate.current_offset }} -->
@austinsamsel
austinsamsel / collections.liquid.html
Created January 20, 2017 18:01 — forked from rickydazla/collections.liquid.html
"Infinite" scrolling in Shopify collections
{% paginate collection.products by 20 %}
<ul class="collection-matrix">
{% for product in collection.products %}
<li id="product-{{ forloop.index | plus:paginate.current_offset }}">
{% include 'product' with product %}
</li>
{% endfor %}
<li class="top"><a href="#collectionpage">Back to Top</a> &uarr;</li>
{% if paginate.next %}
<li class="more">&darr; <a href="{{ paginate.next.url }}">More</a></li>