This file contains hidden or 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
**** fr.js ***** | |
log: function () { [native code] } | |
info: function () { [native code] } | |
warn: function () { [native code] } | |
error: function () { [native code] } | |
dir: function () { [native code] } | |
time: function () { [native code] } | |
timeEnd: function () { [native code] } | |
trace: function () { [native code] } | |
assert: function () { [native code] } |
This file contains hidden or 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
var path = require('path'), | |
flatiron = require('flatiron'), | |
director = require('director'), | |
ecstatic = require('ecstatic'), | |
connect = require('connect'), | |
app = flatiron.app, | |
plugins = flatiron.plugins; | |
var routes = require('./lib/routes.js'), | |
models = require('./lib/models.js'); |
This file contains hidden or 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
var path = require('path'), | |
flatiron = require('flatiron'), | |
director = require('director'), | |
ecstatic = require('ecstatic'), | |
app = flatiron.app, | |
plugins = flatiron.plugins; | |
var routes = require('./lib/routes.js'); | |
app.config.file({ file: path.join(__dirname, 'config', 'config.json') }); |
This file contains hidden or 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
package MyApp::Web::Controller::Search; | |
use 5.010; | |
use Moose; | |
use namespace::autoclean; | |
BEGIN { extends 'Catalyst::Controller'; } | |
sub index : Path : Args(0) { | |
my ( $self, $c ) = @_; |
This file contains hidden or 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
#!/bin/sh | |
# SEARCH AG4VE for notes for you | |
# Byzantium Linux top level build script. | |
# by: Sitwon | |
# This shell script, when executed inside of a Porteus build machine, will | |
# result in the generation of the file 000-byzantium.xzm. | |
# Bail on errors |
This file contains hidden or 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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/arm 3.1.10-13 Kernel Configuration | |
# | |
CONFIG_ARM=y | |
CONFIG_SYS_SUPPORTS_APM_EMULATION=y | |
CONFIG_HAVE_SCHED_CLOCK=y | |
CONFIG_GENERIC_GPIO=y | |
# CONFIG_ARCH_USES_GETTIMEOFFSET is not set | |
CONFIG_GENERIC_CLOCKEVENTS=y |
This file contains hidden or 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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use Data::Dumper; | |
use Getopt::Long; | |
use Pod::Usage; |
This file contains hidden or 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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
do 'us_federal_holidays.pl'; | |
# Test cases extracted from <http://www.opm.gov/Operating_Status_Schedules/fedhol/Index.asp> | |
my @tests = ( | |
[ 1997, '1997-01-01', '1997-01-20', '1997-02-17', '1997-05-26', '1997-07-04', | |
'1997-09-01', '1997-10-13', '1997-11-11', '1997-11-27', '1997-12-25' ], |
This file contains hidden or 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
// DNode Session | |
// ============= | |
var connect = require('connect') | |
module.exports = function(opt) { | |
var key = opt.key || 'connect.sid' | |
, store = opt.store | |
, interval = opt.interval || 120000 |
This file contains hidden or 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
var express = require('express'), | |
app = express.createServer(), | |
Post = require('./models/post'); | |
app.configure(function () { | |
app.use(express.methodOverride()); | |
app.use(express.bodyDecoder()); | |
app.use(express.staticProvider(__dirname + '/public')); | |
app.use(express.compiler({src: __dirname + '/public', enable: ['sass']})); | |
app.use(express.logger()); |