Skip to content

Instantly share code, notes, and snippets.

Avatar

Dan Peade eedeep

  • Common Code
  • Melbourne, Australia
View GitHub Profile
View gist:16cc71162cec77c677c9
If I met an undergrad who knew all about convertible notes and employee agreements and (God forbid) class FF stock, I wouldn't think "here is someone who is way ahead of their peers." It would set off alarms. Because another of the characteristic mistakes of young founders is to go through the motions of starting a startup. They make up some plausible-sounding idea, raise money at a good valuation, rent a cool office, hire a bunch of people. From the outside that seems like what startups do. But the next step after rent a cool office and hire a bunch of people is: gradually realize how completely fucked they are, because while imitating all the outward forms of a startup they have neglected the one thing that's actually essential: making something people want.
View .ackrc
--ignore-dir=media/products/images
--ignore-dir=.git
--ignore-dir=static/grappelli
--ignore-dir=static/filebrowser
--type=js
--type=python
--type=html
--type=css
--type-set=sass=.scss,.sass
View gist:e9769818b2af8405e190
Dusan Hornik [Atlassian]
Hi Ismael,
You are correct in everything.
As soon as the commit is done it updates JIRA via post commit hook.
Hourly service has two main purposes:
* backup mechanism to retrieve commits in case post commit hook is not working (not installed properly, JIRA is behind firewall, etc)
* discover new and deleted repositories
View test.txt
some stuff
that I want to
go in a gist
View git_completion.sh
#!bash
#
# bash/zsh completion support for core Git.
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/).
# Distributed under the GNU General Public License, version 2.0.
#
# The contained completion routines provide support for completing:
#
View bash_prompt.sh
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the active virtualenv
# * the branch/status of the current git repository
# * the return value of the previous command
# * the fact you just came from Windows and are used to having newlines in
# your prompts.
View .mrxvtrc
Mrxvt.background: #000000
Mrxvt.foreground: green
#Mrxvt.foreground: black
mrxvt.profile0.background: black
#mrxvt.profile0.background: gray
#mrxvt.profile0.foreground: green
#mrxvt.profile0.foreground: black
mrxvt.scrollbarRight: True
View gist:11396258
from __future__ import absolute_import
import os
from celery import Celery
from django.conf import settings
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'conf.settings')
app = Celery('myclient', include=settings.CELERY_IMPORTS)
View co release running sheet template
# Obviously for an actual release, replace <release tag> with actual release tag, eg. r41
# On deploying machine, get fabfile up to date
git fetch origin
git checkout master
git merge origin/master
# ASIA
tsocks fab set_agents:celeryasia,asia deploy_celery mark_deployed:<release tag>
tsocks fab set_agents:appasia,asia deploy_apps mark_deployed:<release tag>
View COZA mini site without l18n
Single currency for Cotton On South Africa
## External Dependencies
Domain names
## Development Tasks
( 4 days / 5 )
Create staging and production environments
- Manual or automated creation of new AWS resources