Skip to content

Instantly share code, notes, and snippets.

View jjcall's full-sized avatar
🎯
Focusing

Jason Calleiro jjcall

🎯
Focusing
View GitHub Profile
function execute (someFunction, value) {
someFunction(value);
}
execute(function(word) { consnole.log (word) }, "hello");
var http = require("http");
function onRequest (request, response) {
console.log("Request Recieved");
response.writeHead(200, {"Content-Type": "text/plain"});
response.write("Hello World");
response.end();
}
http.createServer(onRequest).listen(8888);
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();
}
@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) {
@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 / logo.html
Created June 5, 2012 04:18
sq02 theme logo
<img src="images/logo.png" alt="It's a Square">
@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 / 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 / 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 / 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.