Skip to content

Instantly share code, notes, and snippets.

View jjcall's full-sized avatar
🎯
Focusing

Jason Calleiro jjcall

🎯
Focusing
View GitHub Profile
@jjcall
jjcall / gist:3391867
Created August 19, 2012 04:12 — forked from larryisthere/gist:3291905
How to setup Django/Postgresql on OS X Mountain Lion using Homebrew-based

Command Line Tools for Xcode

Command line tools comes bundle with Xcode prior to 4.3 version. After 4.3, you need to install a separated command line tools yourself.

First, go to this url and login using Apple Developer account (Free to register)

https://developer.apple.com/downloads/index.action
Traceback (most recent call last):
File "manage.py", line 24, in <module>
execute_from_command_line()
File "/Users/jjcall/.virtualenvs/formbit/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
utility.execute()
File "/Users/jjcall/.virtualenvs/formbit/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/jjcall/.virtualenvs/formbit/lib/python2.7/site-packages/django/core/management/__init__.py", line 261, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/Users/jjcall/.virtualenvs/formbit/lib/python2.7/site-packages/django/core/management/__init__.py", line 69, in load_command_class
@jjcall
jjcall / config.php
Created June 5, 2012 04:32
Form & Social Networks Config
<?php
// Email settings
// Replace below with your email credentials
$site_owners_email = '[email protected]'; // Replace this with your own email address
$site_owners_name = 'Your Name'; // replace with your name
$email_subject_line = "Sublject line on form"; // Subject on email that you recieve
//
// Replace with your social & contact credentials.
@jjcall
jjcall / config.php
Created June 5, 2012 04:31
Form & Social Networks Config
<?php
// Email settings
// Replace below with your email credentials
$site_owners_email = '[email protected]'; // Replace this with your own email address
$site_owners_name = 'Jason Calleiro'; // replace with your name
$email_subject_line = "Website launch form"; // Subject on email that you recieve
//
// Replace with your social & contact credentials.
@jjcall
jjcall / launch.js
Created June 5, 2012 04:29
Launch date variables
var launch_date = "08/14/2012";
var success_message = "We'll be in touch shortly!";
var error_message = "Something went wrong, Try again";
@jjcall
jjcall / bg.html
Created June 5, 2012 04:21
sq02 background image
<!-- make sure to keep the class of 'fullBg' -->
<img src="images/bg_body_01.jpg" height="800" width="1280" alt="Body Background" class="fullBg">
@jjcall
jjcall / logo.html
Created June 5, 2012 04:18
sq02 theme logo
<img src="images/logo.png" alt="It's a Square">
@jjcall
jjcall / lexical.js
Created March 26, 2012 21:11
Trying to understand.
function makeAddFunction(amount) {
function add(number) {
return number + amount;
}
return add;
}
var addTwo = makeAddFunction(2);
var addFive = makeAddFunction(5);
@jjcall
jjcall / 1k Sass KB Grid
Created March 15, 2012 20:25
grid.scss
// Configuration
$column-width: 60px;
$gutter-width: 20px;
$columns: 12;
// Column Widths
@mixin grid($i) {
width: $column-width * $i + $gutter-width * ($i - 1);
}
@mixin grid-plus($i, $plus) {
var http = require("http");
function start() {
function onRequest(request response) {
console.log("Request recieved");
response.writeHead(200, {"Content-Type": "text/plain"});
response.write("Hello World");
response.end();
}