- simple all-in-one interface
- choose a section with relevant fields (name, email, phone, message, etc)
- automatically generate an event
- automatically generate a data source
- automatically generate page template for etm
- display markup for developer to paste into contact form (think event creation page), including error/success message,
required
fields, postback field data
This file contains 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
// ---- CSS3 SASS MIXINS ---- | |
// https://github.com/madr/css3-sass-mixins | |
// | |
// Copyright (C) 2011 by Anders Ytterström | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is |
This file contains 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
" bundles | |
filetype off | |
set rtp+=~/.vim/bundle/vundle | |
call vundle#rc() | |
Bundle 'gmarik/vundle' | |
Bundle 'kien/ctrlp.vim' | |
Bundle 'tpope/vim-haml' | |
Bundle 'JulesWang/css.vim' |
This file contains 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
.DS_Store | |
.DS_Store? | |
._* | |
.Spotlight-V100 | |
.Trashes | |
ehthumbs.db | |
Thumbs.db | |
.sql | |
.log |
This file contains 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
def get_total_weight_in_oz(request, order_form): | |
# sort the shopping cart by skus so we can match it up with | |
# an actual queryset of product data (mostly for the weights) | |
cart_by_skus = sorted( request.cart , key=lambda item: item.sku ) | |
skus = [item.sku for item in cart_by_skus] | |
quantities = [item.quantity for item in cart_by_skus] | |
products = ProductVariation.objects.filter(product__sku__in=skus).order_by('sku') | |
discount = '' | |
discounted_products = '' |
This file contains 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
tell application "Google Chrome" | |
make new window | |
end tell | |
tell application "iTerm" | |
set myterm to (make new terminal) | |
tell myterm | |
set mysession to (make new session at the end of sessions) | |
tell mysession | |
exec command "/bin/bash -l" |
This file contains 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
├── Dockerfile | |
├── README.md | |
├── _gulp | |
│ ├── config.js | |
│ ├── tasks | |
│ └── util | |
├── app | |
│ ├── __init__.py | |
│ ├── __init__.pyc | |
│ ├── __pycache__ |
This file contains 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
# Copyright 2013 Thatcher Peskens | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
This file contains 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
// Map Django language codes to valid TinyMCE language codes. | |
// There's an entry for every TinyMCE language that exists, | |
// so if a Django language code isn't here, we can default to en. | |
var language_codes = { | |
'ar': 'ar', | |
'ca': 'ca', | |
'cs': 'cs', | |
'da': 'da', |
This file contains 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
tell application "Google Chrome" | |
make new window | |
end tell | |
tell application "iTerm" | |
set myterm to (make new terminal) | |
tell myterm | |
set mysession to (make new session at the end of sessions) | |
tell mysession | |
exec command "/bin/bash -l" |