Problem: I need a program that can add stuff together.
First, add integers together:
$ python add.py 1 2 3 4 5
15| var config = require('./config'); | |
| var _ = require('underscore'); | |
| var url = require('url'); | |
| require('backbone').ajax = function(options) { | |
| var deferred = require('q').defer(); | |
| _.extend(options, { | |
| json : true, | |
| url : url.resolve(config.API_URL, options.url) |
| var _ = require('underscore'); | |
| var Backbone = require('backbone'); | |
| var cheerio = require('cheerio'); | |
| var request = require('request'); | |
| Backbone.ajax = function(options) { | |
| options.json = true; | |
| return request(options, function(error, result) { | |
| if (error) { |
| // ---- | |
| // Sass (v3.3.0) | |
| // Compass (v1.0.0.alpha.18) | |
| // ---- | |
| @import "compass"; | |
| body { | |
| @include background-image(linear-gradient(rgba(#000, 0.03), rgba(#000, 0.3))); | |
| } |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| ;;; bash.el -- Sets some key bindings for shell-script-mode | |
| ;;; Commentary: | |
| ;;; Code: | |
| (defun current-buffer-to-string () | |
| "Get the contents of the current buffer as a string." | |
| (interactive) | |
| (buffer-substring (point-min) (point-max))) | |
| (defun shell-script-mode-eval-buffer() |
| exports.searchContactPost = function(req, res) { | |
| if (req.body.searchContacts === '') { res.send('Oops you searching for nothing, well here is nothing!'); }; | |
| async.waterfall([ | |
| function(callback) { | |
| var contact = req.body.searchContacts.toLowerCase() | |
| User.find({$or:[ | |
| {firstName: contact }, | |
| {lastName : contact }, |
| all: | |
| gcc light.m -std=c99 -framework Foundation -framework IOKit -o light | |
| clean: | |
| rm -f light |
| source 'https://rubygems.org' | |
| gem 'sinatra' |
| var express = require('express'); | |
| var app = express(); | |
| var port = process.env.PORT || 9292; | |
| app.get('/', function(req, res) { | |
| res.render('index'); | |
| }); | |
| app.post('/control/:action', function(req, res) { |