Experimenting with Branding/Logo choices for Data Science for Social Good in Germany.
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
times | prices | status: base | power: base | status: peaker | power: peaker | power: wind | load power: Ireland | |
---|---|---|---|---|---|---|---|---|
2010-04-27 00:00:00 | 30.0 | 1.0 | 2197.0 | -0.0 | 0.0 | 303 | 2500 | |
2010-04-27 00:15:00 | 30.0 | 1.0 | 2178.0 | 1.0 | 0.0 | 311 | 2489 | |
2010-04-27 00:30:00 | 30.0 | 1.0 | 2092.0 | 1.0 | 0.0 | 340 | 2432 | |
2010-04-27 00:45:00 | 30.0 | 1.0 | 2012.0 | 1.0 | 0.0 | 360 | 2372 | |
2010-04-27 01:00:00 | 30.0 | 1.0 | 1975.0 | 1.0 | 0.0 | 345 | 2320 | |
2010-04-27 01:15:00 | 30.0 | 1.0 | 1918.0 | 1.0 | 0.0 | 348 | 2266 | |
2010-04-27 01:30:00 | 30.0 | 1.0 | 1824.0 | 1.0 | 0.0 | 411 | 2235 | |
2010-04-27 01:45:00 | 30.0 | 1.0 | 1804.0 | 1.0 | 0.0 | 405 | 2209 | |
2010-04-27 02:00:00 | 30.0 | 1.0 | 1759.0 | 1.0 | 0.0 | 411 | 2170 |
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
# Copy and paste this to the rails console to test your email settings | |
class MyMailer < ActionMailer::Base | |
def test_email | |
@recipients = "[email protected]" | |
@from = "[email protected]" | |
@subject = "test from the Rails Console" | |
@body = "This is a test email" | |
end | |
end |
This installs a patched ruby 1.9.3-p327 with various performance improvements and a backported COW-friendly GC, all courtesy of funny-falcon.
You will also need a C Compiler. If you're on Linux, you probably already have one or know how to install one. On OS X, you should install XCode, and brew install autoconf
using homebrew.
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
# | |
# = Capistrano database.yml task | |
# | |
# Provides a couple of tasks for creating the database.yml | |
# configuration file dynamically when deploy:setup is run. | |
# | |
# Category:: Capistrano | |
# Package:: Database | |
# Author:: Simone Carletti <[email protected]> | |
# Copyright:: 2007-2010 The Authors |
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
# Setup | |
# ===== | |
# | |
# Put this gist in Rails.root/config/initializers/cancan.rb | |
# Add Squeel to Gemfile, see https://github.com/ernie/squeel | |
# | |
# gem "squeel", "~> 0.9.3" | |
# | |
# Load Squeel hash and symbol extensions in squeel config initializer | |
# |
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 request = require('request'), | |
querystring = require('querystring'); | |
var Note = function(key){ | |
this.key = key; | |
} | |
Note.prototype = new process.EventEmitter(); | |
var SimpleNote = function(email, passwd){ | |
this.email = email; |
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
(function (name, definition){ | |
if (typeof define === 'function'){ // AMD | |
define(definition); | |
} else if (typeof module !== 'undefined' && module.exports) { // Node.js | |
module.exports = definition(); | |
} else { // Browser | |
var theModule = definition(), global = this, old = global[name]; | |
theModule.noConflict = function () { | |
global[name] = old; | |
return theModule; |
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
(ns your.programs.namespace | |
;; ... | |
(:use [swank/swank :as swank]) | |
(defn main [& args] | |
;; ... | |
(swank/start-repl)) |
NewerOlder