Skip to content

Instantly share code, notes, and snippets.

View jonchretien's full-sized avatar
📷

Jon C. jonchretien

📷
View GitHub Profile
id name priority who time status
T-024 Organisation list in directory MUST Joe 5 Complete
T-015 Make term Commissions customisable MUST Natasha 6 Complete
T-016 Comments popup on select rates MUST Mike 3 In Progress
T-0169 Upgrade Centos Box MUST Joe 2 In Progress
T-013 Search in Documents on selected folder MUST Natasha 6 In Progress
T-014 Separate Document system for LA and Legals MUST Joe 9 In Progress
T-017 Demo of Look and Feel of Documents front end MUST Natasha 5 In Progress
T-021 Fix error where forum filename is greater than 100chars MUST Mike 4 Not Started
T-025 Fix admin so structure of categories displayed MUST Mike 2.5 Complete
define([
'template',
], function(tmpl) {
'use strict';
/*!
* Tooltip Module
* Assumes use of JavaScript templating library.
*
@jonchretien
jonchretien / Makefile
Created February 11, 2014 18:31
Copies local files to Dropbox folder.
# set aliases
DIST = \
~/Dropbox\ \(Company\)/Public/www
DIRS = \
css/ js/ less/
# copy files & directories (exluding lib)
copy:
cp *.html $(DIST)/project-name/
//
// Arrow Mixins
// --------------------------------------------------
.pct-arrow (@dir, @width, @color: @arrow-green) when (@dir = up) {
border-bottom: @width solid @color;
border-left: @width solid transparent;
border-right: @width solid transparent;
}
@jonchretien
jonchretien / _mixins-flexbox.less
Last active August 29, 2015 14:13
Flexbox Mixins
//
// Mixins: Flexbox
// --------------------------------------------------
.flex() {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
@jonchretien
jonchretien / vim-snippets.md
Last active August 29, 2015 14:13
VIM Snippets

Vim Snippets

Jump to line start

  • I ("Insert", editing mode)

Jump to line end

  • $ (non-editing mode)
  • A ("Append", editing mode)

Indent multiple lines

@jonchretien
jonchretien / person.ajs
Last active August 29, 2015 14:17 — forked from tj/person.ajs
// Alternative JavaScript Syntax
Person = :(name, address) { @name!, @address! }
Person::inspect = :{ <: "{@name} lives at {@address}" }
tj := Person('TJ', '314 Bessborough ave')
bob := Person('Bob', 'Some place')
[tj, bob].each(:(person){ print(person.inspect()) })
@jonchretien
jonchretien / notes.md
Last active August 29, 2015 14:18
Notes from OpenVis Conf 2015. Scaffolding generated with https://github.com/jonchretien/conf-notes-template.
<snippet>
<content><![CDATA[
<% $1 %>
]]></content>
<tabTrigger>%</tabTrigger>
<description>ERB Tag</description>
<scope>source.erb</scope>
</snippet>
@jonchretien
jonchretien / .bash_profile
Last active September 26, 2015 16:28
My Bash Profile
# Apache
alias config="mate /etc/apache2/httpd.conf"
alias webstart="sudo apachectl start"
alias webstop="sudo apachectl stop"
alias webrestart="sudo apachectl restart"
alias vhosts="mate /etc/apache2/extra/httpd-vhosts.conf"
# Git
alias add="git add"
alias branch="git branch"