This file contains 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/env node | |
// to run: `node server.js` or `./server.js` | |
var crypto = require("crypto"), | |
fs = require('fs'), | |
http = require("http"); | |
function fibonacci (n) { | |
if (n < 2) { |
This file contains 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
# Provide the approriate server, port, from, username, and password fields. | |
# Author: Peter Mikitsh | |
require 'net/smtp' | |
def send_email(to, opts={}) | |
opts[:server] ||= '' # SMTP SERVER | |
opts[:port] ||= 587 # PORT: DEFAULT IS 587 | |
opts[:from] ||= '' # 'FROM' E-MAIL FIELD |
This file contains 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
// | |
// Rasterizer.java | |
// | |
// | |
// Created by Joe Geigel on 1/21/10. | |
// Copyright 2010 __MyCompanyName__. All rights reserved. | |
// | |
/** | |
* |
NewerOlder