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
<html> | |
<head> | |
<!--Load the AJAX API--> | |
<script type="text/javascript" src="https://www.google.com/jsapi"></script> | |
<script type="text/javascript"> | |
// Load the Visualization API and the piechart package. | |
google.load('visualization', '1.0', {'packages':['corechart']}); | |
// Set a callback to run when the Google Visualization API is loaded. |
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
--- | |
Gemfile | 2 +- | |
Gemfile.lock | 14 ++++++++++---- | |
config/environments/test.rb | 5 +++++ | |
4 files changed, 17 insertions(+), 6 deletions(-) | |
diff --git a/Gemfile b/Gemfile | |
index 9a4481a..1a6982f 100644 | |
--- a/Gemfile | |
+++ b/Gemfile |
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
def cos *args | |
Math.cos(*args) | |
end | |
def sin *args | |
Math.sin(*args) | |
end | |
def funky_func(theta) | |
proc do |x, y| |
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
require 'fileutils' | |
require 'securerandom' | |
require 'pp' | |
require 'shellwords' | |
=begin | |
Given pictures in subdirectories structured as year/month/date/picture.jpg, | |
output year-month-date.tar.bz2.gpg and keys.txt. | |
Where: |