repo string | commit string | message string | diff string |
|---|---|---|---|
Peeja/rubot | 24061c3c8972277e67ec14f30dc603e2fcde7fc6 | Ignoring test.rb. | diff --git a/.gitignore b/.gitignore
index dc3650f..8c2e3bc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,8 @@
._*
.DS_Store
doc
coverage
pkg
+
+# Used locally for testing Rubot. Convenient to keep it in the tree.
+test.rb
\ No newline at end of file
|
Peeja/rubot | 0dffdd4a6a1ecbdc5ba6e869883e7b74c920a2db | Implemented Aria::Robot#options[:host]. | diff --git a/ext/rubot_aria/extconf.rb b/ext/rubot_aria/extconf.rb
index a5d8945..8a9ed86 100644
--- a/ext/rubot_aria/extconf.rb
+++ b/ext/rubot_aria/extconf.rb
@@ -1,10 +1,9 @@
require 'rubygems'
require 'mkmf-rice'
-require 'facets/module/alias'
dir_config("Aria", "/usr/local/Aria/include", "/usr/local/Aria/lib"... |
Peeja/rubot | aa39e361fb5356d68874a61f8fd85224be387d1e | Implemented Aria::Robot#run. | diff --git a/lib/rubot/adapters/aria/robot.rb b/lib/rubot/adapters/aria/robot.rb
index 78b8fd3..cb5092b 100644
--- a/lib/rubot/adapters/aria/robot.rb
+++ b/lib/rubot/adapters/aria/robot.rb
@@ -1,7 +1,14 @@
-class Rubot::Adapters::Aria::Robot
- attr_reader :options
+module Rubot::Adapters::Aria
+ class Robot
+ attr... |
Peeja/rubot | 514466c480d2c7762b3233746fa5b2fcfbbb6734 | Removed Rubot::Robot; robots can be duck-typed and don't need a base class. Took out Rubot's capacity to keep track of robots. Robots don't need to be listed by name in a directory, just make a robot and keep it in a variable. DSL layer will implement names. Shifted the tree a bit to make implementation files line up... | diff --git a/lib/rubot.rb b/lib/rubot.rb
index 023abd6..0ed6085 100644
--- a/lib/rubot.rb
+++ b/lib/rubot.rb
@@ -1,29 +1,15 @@
# Require everything except things under rubot/adapters/ (which load lazily).
# (Dir[File.join(::File.dirname(__FILE__), '**', '*.rb')] -
# Dir[File.join(::File.dirname(__FILE__), 'rubot', ... |
Peeja/rubot | ad61a7f9eb03f7b608d90610a6eba5f54d5e2505 | Changed a lot of things. Committing and getting back on the wagon while tests are passing. | diff --git a/Rakefile b/Rakefile
index 7ad09da..83862ed 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,26 +1,27 @@
# Look in the tasks/setup.rb file for the various options that can be
# configured in this Rakefile. The .rake files in the tasks directory
# are where the options are used.
load 'tasks/setup.rb'
ensu... |
Peeja/rubot | 08f79e2b1bfd14f230cde4365646fcbcf6e35dd9 | Refactoring adaptor system. | diff --git a/.autotest b/.autotest
index 3bc541c..e91a6d2 100644
--- a/.autotest
+++ b/.autotest
@@ -1,17 +1,20 @@
Autotest.add_hook :initialize do |at|
+ # Ignore the ._* files TextMate likes to leave about.
+ at.add_exception(/\/\._[^\/]*$/)
+
# Set up mapping for extensions.
# When foo.so is changed, reru... |
Peeja/rubot | 9ea0e9f58ea35ebb96222382ca1b5d5032757ae2 | Make spec require rubygems. | diff --git a/spec/spec.opts b/spec/spec.opts
index 4e1e0d2..27a0405 100644
--- a/spec/spec.opts
+++ b/spec/spec.opts
@@ -1 +1,2 @@
--color
+-rrubygems
\ No newline at end of file
|
Peeja/rubot | b97edb935726a534de01190c3e2e80b111e66956 | Stubbing bin/rubot with main. | diff --git a/bin/rubot b/bin/rubot
index f3a3cf6..ae09f71 100644
--- a/bin/rubot
+++ b/bin/rubot
@@ -1,8 +1,10 @@
#!/usr/bin/env ruby
-require File.expand_path(
- File.join(File.dirname(__FILE__), '..', 'lib', 'rubot'))
+require 'rubygems'
+require 'main'
-# Put your code here
-
-# EOF
+Main do
+ argument 'def... |
Peeja/rubot | 91899824b2d6f3ef27e01128201efb7dcdda7611 | Improved Adapter build system; documentation changes | diff --git a/.gitignore b/.gitignore
index 936b674..dc3650f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
._*
.DS_Store
doc
+coverage
+pkg
diff --git a/Adaptors.txt b/Adaptors.txt
new file mode 100644
index 0000000..7f8b9a1
--- /dev/null
+++ b/Adaptors.txt
@@ -0,0 +1,3 @@
+== Writing a Rubot Adapter
+
+FI... |
Peeja/rubot | 3e767397fb9ed876d0aa4c41822008bc58363b1a | Reorg; starting documentation; further developing API. | diff --git a/.gitignore b/.gitignore
index eb00a60..936b674 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
._*
.DS_Store
+doc
diff --git a/Manifest.txt b/Manifest.txt
index ce91f49..651b345 100644
--- a/Manifest.txt
+++ b/Manifest.txt
@@ -1,20 +1,29 @@
History.txt
Manifest.txt
README.txt
Rakefile
bin/r... |
Peeja/rubot | 35932d8706866649ac2d47a6808275e84bfd0206 | Beginning to build Robot architecture. | diff --git a/Notes.txt b/Notes.txt
new file mode 100644
index 0000000..06152ab
--- /dev/null
+++ b/Notes.txt
@@ -0,0 +1,7 @@
+This code:
+
+ robot :fred do
+ adapter :aria
+ end
+
+creates a new robot named 'fred' using the Aria adapter. This means that fred will be a Rubot::Adapters::Aria::Robot, a subclass of R... |
Peeja/rubot | cf86abc44c3f7f1161aff0b7d67b67c5e45c97b6 | Cleaned up extconf.rb. | diff --git a/ext/aria/extconf.rb b/ext/aria/extconf.rb
index d7fe7d4..2956e1c 100644
--- a/ext/aria/extconf.rb
+++ b/ext/aria/extconf.rb
@@ -1,109 +1,10 @@
require 'rubygems'
require 'mkmf-rice'
require 'facets/module/alias'
-# module Logging
-# class << self
-# def open_with_feature
-# @log ||= File::... |
Peeja/rubot | 86bf3b87ad557535127bdea26cddf202f26f6c8c | Weekly Goal: Aria loaded into Ruby. | diff --git a/.autotest b/.autotest
new file mode 100644
index 0000000..3bc541c
--- /dev/null
+++ b/.autotest
@@ -0,0 +1,17 @@
+Autotest.add_hook :initialize do |at|
+ # Set up mapping for extensions.
+ # When foo.so is changed, rerun all specs under spec/ext/foo/.
+ at.add_mapping(/\/([^\/]*).so$/) do |f, m|
+ ex... |
tinyjs/jquery-table-highlighter | 2bd44092d35316f94e51e72c31381872275737bc | inital commit | diff --git a/application.js b/application.js
new file mode 100755
index 0000000..d9c8a28
--- /dev/null
+++ b/application.js
@@ -0,0 +1,3 @@
+$(document).ready(function() {
+ $('#page').tablehighlight();
+});
\ No newline at end of file
diff --git a/index.html b/index.html
new file mode 100755
index 0000000..7daa820
---... |
harperreed/twitteroauth-python | 0e466938501240af7f1623c82159045faba3be56 | added some info to the readme | diff --git a/README b/README
index cba02c6..10deb93 100644
--- a/README
+++ b/README
@@ -1,48 +1,56 @@
Python Oauth client for Twitter
---------
I built this so that i didn't have to keep looking for an oauth client for twitter to use in python.
It is based off of the PHP work from abrah.am (http://github.com/... |
harperreed/twitteroauth-python | 4272b448881ac3e7d4e94812694580083d936c89 | changed some comments and what not on client.py. gave props to the right peeps | diff --git a/client.py b/client.py
index d2cd029..17acdb4 100644
--- a/client.py
+++ b/client.py
@@ -1,148 +1,151 @@
'''
-Example consumer. This is not recommended for production.
-Instead, you'll want to create your own subclass of OAuthClient
-or find one that works with your web framework.
+Python Oauth client for ... |
nandayadav/ruby-processing-kitchen-sink | 7e0c64f8e01009ae4ce319988773766f8b63af2f | playing with text displays | diff --git a/twitter_visuals/network_viewer.rb b/twitter_visuals/network_viewer.rb
index c9ca4aa..c9e592f 100644
--- a/twitter_visuals/network_viewer.rb
+++ b/twitter_visuals/network_viewer.rb
@@ -1,168 +1,173 @@
#Social Graph visualization(followers/friends) for specific twitter profile
require 'lib/twitter_api'
-US... |
nandayadav/ruby-processing-kitchen-sink | 7a56f1a52e3b48c406adb8473a25bbd893e4f79b | proper rotation and translation | diff --git a/twitter_visuals/network_viewer.rb b/twitter_visuals/network_viewer.rb
index ad0e0b9..c9ca4aa 100644
--- a/twitter_visuals/network_viewer.rb
+++ b/twitter_visuals/network_viewer.rb
@@ -1,167 +1,168 @@
#Social Graph visualization(followers/friends) for specific twitter profile
require 'lib/twitter_api'
-US... |
nandayadav/ruby-processing-kitchen-sink | c2a45493e51896a33af2141b7f0e9304721dc487 | refactored draw and translation logic inside TwitterNode class | diff --git a/twitter_visuals/network_viewer.rb b/twitter_visuals/network_viewer.rb
index dd4aa5f..ad0e0b9 100644
--- a/twitter_visuals/network_viewer.rb
+++ b/twitter_visuals/network_viewer.rb
@@ -1,142 +1,167 @@
#Social Graph visualization(followers/friends) for specific twitter profile
require 'lib/twitter_api'
-US... |
nandayadav/ruby-processing-kitchen-sink | c3117a7dff7bfe55b53b4ea33b1c1c3b1755ac2d | added scaling factor for sphere size to take into followers/friends count | diff --git a/twitter_visuals/network_viewer.rb b/twitter_visuals/network_viewer.rb
index 2a7fe2c..dd4aa5f 100644
--- a/twitter_visuals/network_viewer.rb
+++ b/twitter_visuals/network_viewer.rb
@@ -1,121 +1,142 @@
#Social Graph visualization(followers/friends) for specific twitter profile
require 'lib/twitter_api'
US... |
nandayadav/ruby-processing-kitchen-sink | 760ff87edff8ae72799a515eecc4bbc54af41011 | hack to get twitter color scheme working nicely with processing | diff --git a/twitter_visuals/network_viewer.rb b/twitter_visuals/network_viewer.rb
index 84dae7e..2a7fe2c 100644
--- a/twitter_visuals/network_viewer.rb
+++ b/twitter_visuals/network_viewer.rb
@@ -1,107 +1,121 @@
#Social Graph visualization(followers/friends) for specific twitter profile
require 'lib/twitter_api'
-US... |
nandayadav/ruby-processing-kitchen-sink | 60490e8814b61beafe48d29ffe8007d1f2095eb3 | tryig out different transformations | diff --git a/twitter_visuals/network_viewer.rb b/twitter_visuals/network_viewer.rb
index b98daf5..84dae7e 100644
--- a/twitter_visuals/network_viewer.rb
+++ b/twitter_visuals/network_viewer.rb
@@ -1,62 +1,107 @@
#Social Graph visualization(followers/friends) for specific twitter profile
require 'lib/twitter_api'
-USE... |
nandayadav/ruby-processing-kitchen-sink | 598101213202b21c8cb006e40550bc5b5263ded7 | using resourceful for http stuff | diff --git a/google_social/lib/social_graph.rb b/google_social/lib/social_graph.rb
index 41cbb39..d3fc06d 100644
--- a/google_social/lib/social_graph.rb
+++ b/google_social/lib/social_graph.rb
@@ -1,37 +1,37 @@
-require 'net/http'
require 'rubygems'
+require 'resourceful'
require 'uri'
require 'json'
module Socia... |
nandayadav/ruby-processing-kitchen-sink | 5b73fc78e8bea444cdb0dfb4bc40deb7d832fca3 | google social graph api code | diff --git a/google_social/lib/social_graph.rb b/google_social/lib/social_graph.rb
new file mode 100644
index 0000000..41cbb39
--- /dev/null
+++ b/google_social/lib/social_graph.rb
@@ -0,0 +1,37 @@
+require 'net/http'
+require 'rubygems'
+require 'uri'
+require 'json'
+
+module SocialGraph
+ URL = 'http://socialgraph.... |
nandayadav/ruby-processing-kitchen-sink | b324850095bbcdee9d50bd6672fc439704a1fe4b | added control panel, nodes in a circle with dynamic image size | diff --git a/twitter_visuals/.gitignore b/twitter_visuals/.gitignore
deleted file mode 100644
index 418beaa..0000000
--- a/twitter_visuals/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-config/credentials.yml
diff --git a/twitter_visuals/network_viewer.rb b/twitter_visuals/network_viewer.rb
index 5f8f739..b98daf5 100644
--- a... |
nandayadav/ruby-processing-kitchen-sink | 0982c48c30ce8f79109873f774a5d406b1e520ab | gitignore credentials | diff --git a/twitter_visuals/.gitignore b/twitter_visuals/.gitignore
new file mode 100644
index 0000000..418beaa
--- /dev/null
+++ b/twitter_visuals/.gitignore
@@ -0,0 +1 @@
+config/credentials.yml
|
nandayadav/ruby-processing-kitchen-sink | 7fd2e48f860c03109cb6054a3a99e32da0be34f4 | took our unnecessary inst vars, uniform image sizes, proper visualiaztion with a centralized node | diff --git a/twitter_visuals/network_viewer.rb b/twitter_visuals/network_viewer.rb
index 26244c5..5f8f739 100644
--- a/twitter_visuals/network_viewer.rb
+++ b/twitter_visuals/network_viewer.rb
@@ -1,29 +1,34 @@
#Social Graph visualization(followers/friends) for specific twitter profile
require 'lib/twitter_api'
-USER... |
nandayadav/ruby-processing-kitchen-sink | afeb0c5ae87dd32f383908f820e9cb74c9bad0de | some minor tweaks | diff --git a/twitter_visuals/network_viewer.rb b/twitter_visuals/network_viewer.rb
index db3df0f..26244c5 100644
--- a/twitter_visuals/network_viewer.rb
+++ b/twitter_visuals/network_viewer.rb
@@ -1,29 +1,29 @@
#Social Graph visualization(followers/friends) for specific twitter profile
require 'lib/twitter_api'
-
-cl... |
nandayadav/ruby-processing-kitchen-sink | e6fa566d0f378897e2a72a78a862c9e803fb81c8 | added friends/followers visulization | diff --git a/README b/README
index a7a70d1..6562ce3 100644
--- a/README
+++ b/README
@@ -1,25 +1,37 @@
Various small projects using different api data and ruby-processing for visuals
#getting setup
1. I haven't got it working in a non-jruby environment, so I prefer to use just rvm and install jruby
rvm install... |
nandayadav/ruby-processing-kitchen-sink | 755e96c0155816c2a878d53ea31548b1ab2d85f4 | some cleanup | diff --git a/twitter_visuals/viewer.rb b/twitter_visuals/viewer.rb
index 907881d..2b1dad8 100644
--- a/twitter_visuals/viewer.rb
+++ b/twitter_visuals/viewer.rb
@@ -1,120 +1,105 @@
require 'lib/twitter_api'
class Viewer < Processing::App
load_library :control_panel
FADE_THRESHOLD = 3
def setup
size 10... |
nandayadav/ruby-processing-kitchen-sink | 1117d1b5997264eb8d30a1d5f75f34e2d5b34a0e | better image fading | diff --git a/twitter_visuals/viewer.rb b/twitter_visuals/viewer.rb
index e6d7da6..907881d 100644
--- a/twitter_visuals/viewer.rb
+++ b/twitter_visuals/viewer.rb
@@ -1,99 +1,120 @@
require 'lib/twitter_api'
class Viewer < Processing::App
load_library :control_panel
+ FADE_THRESHOLD = 3
def setup
size 100... |
nandayadav/ruby-processing-kitchen-sink | b70b3d54199cc48ec45355d5f109463dfd5ef5a2 | fixed image manipulation | diff --git a/twitter_visuals/viewer.rb b/twitter_visuals/viewer.rb
index 91f9df3..e6d7da6 100644
--- a/twitter_visuals/viewer.rb
+++ b/twitter_visuals/viewer.rb
@@ -1,92 +1,99 @@
require 'lib/twitter_api'
class Viewer < Processing::App
load_library :control_panel
def setup
size 1000, 1000
@results =... |
nandayadav/ruby-processing-kitchen-sink | f9b313edf65ba24322d2760952adbd5de7633616 | added basic control panel with image filtering capability | diff --git a/twitter_visuals/viewer.rb b/twitter_visuals/viewer.rb
index 4f1dbfb..91f9df3 100644
--- a/twitter_visuals/viewer.rb
+++ b/twitter_visuals/viewer.rb
@@ -1,46 +1,92 @@
require 'lib/twitter_api'
class Viewer < Processing::App
-
+ load_library :control_panel
def setup
size 1000, 1000
@resul... |
nandayadav/ruby-processing-kitchen-sink | 608f0128ba2eb7724a65ea14cfe085377abacd87 | added jruby flag in readme | diff --git a/README b/README
index 8c3bee2..a7a70d1 100644
--- a/README
+++ b/README
@@ -1,25 +1,25 @@
Various small projects using different api data and ruby-processing for visuals
#getting setup
1. I haven't got it working in a non-jruby environment, so I prefer to use just rvm and install jruby
rvm install... |
nandayadav/ruby-processing-kitchen-sink | 26c1570cbd482b6b4bee3a87f962f1ef072af462 | added mouseclicked/released events | diff --git a/README b/README
index e69de29..b34b384 100644
--- a/README
+++ b/README
@@ -0,0 +1,2 @@
+Various small projects using different api data and ruby-processing for visuals
+
diff --git a/twitter_visuals/viewer.rb b/twitter_visuals/viewer.rb
index 7b96024..4f1dbfb 100644
--- a/twitter_visuals/viewer.rb
+++ b/t... |
nandayadav/ruby-processing-kitchen-sink | ad040d1119bad8d772096f0fcc332a04fb689e8b | twitter visuals | diff --git a/twitter_visuals/lib/twitter_api.rb b/twitter_visuals/lib/twitter_api.rb
new file mode 100644
index 0000000..b738c29
--- /dev/null
+++ b/twitter_visuals/lib/twitter_api.rb
@@ -0,0 +1,21 @@
+require 'rubygems'
+#Gem.clear_paths
+#ENV['GEM_HOME'] = '/usr/lib/jruby-1.4.0/lib/ruby/gems/1.8'
+#ENV['GEM_PATH'] = ... |
yeco/SimplePong | 692a30b3924a43b832f92a2a509172a37ce8c0be | Fixed chunked looping | diff --git a/SimplePong.as b/SimplePong.as
index 81e182b..e4e5b88 100644
--- a/SimplePong.as
+++ b/SimplePong.as
@@ -1,102 +1,102 @@
/**
* SimplePong
*
-* Quite simple pong game
+* Quite simple Brain Teaser pong game
*
* @author Yëco
*
* */
package {
import flash.display.MovieClip;
import fla... |
yeco/SimplePong | f3ca6fc3a6ceb1161427d9cc5ce9df9de1430591 | Fixed minor formatting issues | diff --git a/SimplePong.as b/SimplePong.as
index 4bd6d62..81e182b 100644
--- a/SimplePong.as
+++ b/SimplePong.as
@@ -1,102 +1,102 @@
/**
* SimplePong
*
* Quite simple pong game
*
* @author Yëco
*
* */
package {
import flash.display.MovieClip;
import flash.display.Stage;
import flash.dis... |
yeco/SimplePong | 5460c0e8fe23401fa5ec612174a02872fe392cdd | Fixed minor formatting issues | diff --git a/SimplePong.as b/SimplePong.as
index 44b5b30..4bd6d62 100644
--- a/SimplePong.as
+++ b/SimplePong.as
@@ -1,69 +1,102 @@
-package{
+/**
+* SimplePong
+*
+* Quite simple pong game
+*
+* @author Yëco
+*
+* */
+
+
+package {
+
import flash.display.MovieClip;
import flash.display.Stage;
import ... |
yeco/SimplePong | 802047e4a1e222fc9b7e6e8dc657348f9376856a | adding game code | diff --git a/SimplePong.as b/SimplePong.as
new file mode 100644
index 0000000..44b5b30
--- /dev/null
+++ b/SimplePong.as
@@ -0,0 +1,69 @@
+package{
+ import flash.display.MovieClip;
+ import flash.display.Stage;
+ import flash.display.StageQuality;
+ import flash.display.Sprite;
+
+ public class SimpleP... |
toomuchcookies/Python-Geometry | 0e0cbd4a9dc613af67b41312f4b9adafc4058c83 | added Moritz and last modified | diff --git a/elements.py b/elements.py
index 52b4bad..172acad 100644
--- a/elements.py
+++ b/elements.py
@@ -1,517 +1,518 @@
# -*- coding: utf-8 -*-
"""
Created: 2011-01-26
-Authors: Omar Abo-Namous, Andreas Poesch
+Last Modified: 2011-02-14
+Authors: Omar Abo-Namous, Andreas Poesch, Moritz Krauss
"""
from m... |
toomuchcookies/Python-Geometry | 2eba716b45fd143d910eb565a07be01c3e625f3e | rotatearound axis | diff --git a/elements.py b/elements.py
index d9b6190..52b4bad 100644
--- a/elements.py
+++ b/elements.py
@@ -1,559 +1,594 @@
# -*- coding: utf-8 -*-
"""
Created: 2011-01-26
Authors: Omar Abo-Namous, Andreas Poesch
"""
from math import pi, sqrt, acos, cos, sin
import numpy as np
import numbers
import scip... |
toomuchcookies/Python-Geometry | f58919bc72d4ce3bbceb249816b7853dac48303c | Version ? | diff --git a/elements.py b/elements.py
new file mode 100644
index 0000000..d9b6190
--- /dev/null
+++ b/elements.py
@@ -0,0 +1,559 @@
+# -*- coding: utf-8 -*-
+
+"""
+Created: 2011-01-26
+Authors: Omar Abo-Namous, Andreas Poesch
+"""
+
+
+from math import pi, sqrt, acos, cos, sin
+import numpy as np
+import numbers
+imp... |
toomuchcookies/Python-Geometry | dc4cd97d5c6b9a3951bd370bc695bf8f2ba09d28 | More functions, and some formating. | diff --git a/elements.py b/elements.py
index c5d859b..261ee0a 100644
--- a/elements.py
+++ b/elements.py
@@ -1,195 +1,275 @@
from math import pi, sqrt, acos, cos, sin
import numpy as np
+import numbers
class Point:
- def __init__(self, x, y, z):
- self.x = x
- self.y = y
- self.z = z
-
- def abs(self):
- retu... |
toomuchcookies/Python-Geometry | 435dde1ead78613021865ed46fad28bbfde52435 | renaming | diff --git a/__init__.py b/__init__.py
new file mode 100644
index 0000000..a32045d
--- /dev/null
+++ b/__init__.py
@@ -0,0 +1 @@
+__all__ = ["elements"]
diff --git a/geometry.py b/elements.py
similarity index 100%
rename from geometry.py
rename to elements.py
|
toomuchcookies/Python-Geometry | 0194cbda96618cb0f80e5ca47551d7a61ad75243 | Point.aslist() und Verbesserung des Point.transform() | diff --git a/geometry.py b/geometry.py
index b9e1921..c5d859b 100644
--- a/geometry.py
+++ b/geometry.py
@@ -1,191 +1,195 @@
from math import pi, sqrt, acos, cos, sin
import numpy as np
class Point:
def __init__(self, x, y, z):
self.x = x
self.y = y
self.z = z
def abs(self):
return sqrt(self.x*s... |
toomuchcookies/Python-Geometry | 7399d89f0ca88038dd374e1d85626170b2f771bc | Point.transform(T) eingebaut. | diff --git a/geometry.py b/geometry.py
index 94ef559..b9e1921 100644
--- a/geometry.py
+++ b/geometry.py
@@ -1,187 +1,191 @@
from math import pi, sqrt, acos, cos, sin
+import numpy as np
class Point:
def __init__(self, x, y, z):
self.x = x
self.y = y
self.z = z
def abs(self):
return sqrt(self.x*s... |
toomuchcookies/Python-Geometry | 26d902714de197e3ed8f2dd3b6aeaa88b560321b | Initial functioning geometry.py | diff --git a/geometry.py b/geometry.py
new file mode 100644
index 0000000..94ef559
--- /dev/null
+++ b/geometry.py
@@ -0,0 +1,187 @@
+from math import pi, sqrt, acos, cos, sin
+
+class Point:
+ def __init__(self, x, y, z):
+ self.x = x
+ self.y = y
+ self.z = z
+
+ def abs(self):
+ return sqrt(self.x*self.x + self... |
aproxacs/twitter-bot | fbb6c8aa74cd00a599005e8fe627b5f3ee29688a | bug fix : user option is shared | diff --git a/lib/twitter_bot/worker.rb b/lib/twitter_bot/worker.rb
index 20234e7..6b36471 100644
--- a/lib/twitter_bot/worker.rb
+++ b/lib/twitter_bot/worker.rb
@@ -1,150 +1,150 @@
module TwitterBot
class Worker
def initialize(conn, options)
@conn = conn
@options = options
@msg_queue = {}
... |
aproxacs/twitter-bot | f3023d630454be46dd9c1461e93a87e3125cfaa5 | daemonize is now possible, README added | diff --git a/README b/README
index f7c13d8..fe21c8f 100644
--- a/README
+++ b/README
@@ -1,2 +1,73 @@
== twitter_bot
+* homepage : http://github.com/aproxacs/twitter-bot
+
+== DESCRIPTIONS
+Twitter bot is a MSN messenger bot interacting with Twitter.
+It observes Twitter's timeline updates, and notifies new updates wi... |
aproxacs/twitter-bot | 7eb1ef0b45fb6887bf7d6cad1ec739bf3b104269 | daemonize is now possible, README added | diff --git a/lib/twibot_ctl.rb b/lib/twibot_ctl.rb
new file mode 100644
index 0000000..c487b02
--- /dev/null
+++ b/lib/twibot_ctl.rb
@@ -0,0 +1,5 @@
+require 'rubygems'
+require 'daemons'
+
+Daemons.run('twibot.rb')
+
|
wyhaines/ey-cloud-recipes | fec5f6bd870471a6ccb5ff424e6daebd5bff0b24 | Varnish recipe | diff --git a/cookbooks/varnish/recipes/default.rb b/cookbooks/varnish/recipes/default.rb
new file mode 100644
index 0000000..cdc1a7c
--- /dev/null
+++ b/cookbooks/varnish/recipes/default.rb
@@ -0,0 +1,118 @@
+#
+# Cookbook Name:: varnish
+# Recipe:: default
+#
+
+require 'etc'
+
+# This needs to be in keywords: www-ser... |
wyhaines/ey-cloud-recipes | 8e5aaaf4472630dcf01aaa70d7c9e2bd1281bcb4 | JRuby recipes. | diff --git a/cookbooks/jruby/recipes/default.rb b/cookbooks/jruby/recipes/default.rb
new file mode 100644
index 0000000..cbf5bfa
--- /dev/null
+++ b/cookbooks/jruby/recipes/default.rb
@@ -0,0 +1,89 @@
+#
+# Cookbook Name:: jruby
+# Recipe:: default
+#
+
+package "dev-java/sun-jdk" do
+ action :install
+end
+
+package ... |
wyhaines/ey-cloud-recipes | 8fefe23decb249bda08d2dae151aa33569183ca7 | Remove integrity cookbook | diff --git a/cookbooks/integrity/libraries/if_app_needs_recipe.rb b/cookbooks/integrity/libraries/if_app_needs_recipe.rb
deleted file mode 100644
index a43175f..0000000
--- a/cookbooks/integrity/libraries/if_app_needs_recipe.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-class Chef
- class Recipe
- def if_app_needs_recipe(reci... |
wyhaines/ey-cloud-recipes | 2e4ffb51580728f8f56acc784c830af451641430 | mbari ruby ptch recipes jow works fine just uncomment it to run | diff --git a/cookbooks/main/recipes/default.rb b/cookbooks/main/recipes/default.rb
index ac25586..040399f 100644
--- a/cookbooks/main/recipes/default.rb
+++ b/cookbooks/main/recipes/default.rb
@@ -1,14 +1,14 @@
execute "testing" do
command %Q{
echo "i ran at #{Time.now}" >> /root/cheftime
}
end
# uncomm... |
wyhaines/ey-cloud-recipes | b6282a1642ac7ff41eb615f8bdedb056bd731eec | fix versioning for ruby interp | diff --git a/cookbooks/mbari-ruby/recipes/default.rb b/cookbooks/mbari-ruby/recipes/default.rb
index 56209d3..2d01174 100644
--- a/cookbooks/mbari-ruby/recipes/default.rb
+++ b/cookbooks/mbari-ruby/recipes/default.rb
@@ -1,37 +1,38 @@
#
# Cookbook Name:: mbari-ruby
# Recipe:: default
#
directory "/etc/portage/... |
wyhaines/ey-cloud-recipes | 02dbdff117f96c7a2da0b325dd7a4f597b52a0d7 | e mbari-ruby | diff --git a/cookbooks/main/recipes/default.rb b/cookbooks/main/recipes/default.rb
index 1cb97d8..ac25586 100644
--- a/cookbooks/main/recipes/default.rb
+++ b/cookbooks/main/recipes/default.rb
@@ -1,11 +1,14 @@
execute "testing" do
command %Q{
echo "i ran at #{Time.now}" >> /root/cheftime
}
end
# uncomm... |
wyhaines/ey-cloud-recipes | 13bbf36c3fd6d0b03ef256fa34aadfc5360f198e | adding mbari ruby patch build recipes | diff --git a/cookbooks/mbari-ruby/recipes/default.rb b/cookbooks/mbari-ruby/recipes/default.rb
new file mode 100644
index 0000000..56209d3
--- /dev/null
+++ b/cookbooks/mbari-ruby/recipes/default.rb
@@ -0,0 +1,37 @@
+#
+# Cookbook Name:: mbari-ruby
+# Recipe:: default
+#
+
+
+directory "/etc/portage/package.keywords" d... |
wyhaines/ey-cloud-recipes | bf7dd83164ccae2e963e4707bab50aedc964b500 | integrity works | diff --git a/cookbooks/integrity/recipes/default.rb b/cookbooks/integrity/recipes/default.rb
index d9f1219..01a7918 100644
--- a/cookbooks/integrity/recipes/default.rb
+++ b/cookbooks/integrity/recipes/default.rb
@@ -1,64 +1,64 @@
#
# Cookbook Name:: integrity
# Recipe:: default
#
# Copyright 2009, Engine Yard, In... |
wyhaines/ey-cloud-recipes | 62de9093c0cf4614af94e9c61356bb3d68a366bb | another fix | diff --git a/cookbooks/main/attributes/recipe.rb b/cookbooks/main/attributes/recipe.rb
index 11e0a50..9d52e2c 100644
--- a/cookbooks/main/attributes/recipe.rb
+++ b/cookbooks/main/attributes/recipe.rb
@@ -1 +1,3 @@
-recipes('main')
\ No newline at end of file
+recipes('main')
+owner_name(@attribute[:users].first[:usern... |
wyhaines/ey-cloud-recipes | 26ce729ccd6d2543ed9c425961ca662e40b41e34 | another fix | diff --git a/cookbooks/integrity/recipes/default.rb b/cookbooks/integrity/recipes/default.rb
index a8a3acf..d9f1219 100644
--- a/cookbooks/integrity/recipes/default.rb
+++ b/cookbooks/integrity/recipes/default.rb
@@ -1,56 +1,64 @@
#
# Cookbook Name:: integrity
# Recipe:: default
#
# Copyright 2009, Engine Yard, In... |
wyhaines/ey-cloud-recipes | d9e5de7f88c7e528ce05f2b5540e787f1ee757e2 | integrity | diff --git a/cookbooks/integrity/recipes/default.rb b/cookbooks/integrity/recipes/default.rb
index 703380d..a8a3acf 100644
--- a/cookbooks/integrity/recipes/default.rb
+++ b/cookbooks/integrity/recipes/default.rb
@@ -1,60 +1,56 @@
#
# Cookbook Name:: integrity
# Recipe:: default
#
# Copyright 2009, Engine Yard, In... |
wyhaines/ey-cloud-recipes | 890c6f64a51da12d441f36f389bba5647762c3a2 | integrity | diff --git a/cookbooks/main/recipes/default.rb b/cookbooks/main/recipes/default.rb
index 9350d61..15a6a2a 100644
--- a/cookbooks/main/recipes/default.rb
+++ b/cookbooks/main/recipes/default.rb
@@ -1,8 +1,9 @@
execute "testing" do
command %Q{
echo "i ran at #{Time.now}" >> /root/cheftime
}
end
# uncommen... |
wyhaines/ey-cloud-recipes | 9bb3e2e1d21defefff9d276f525e9b63f4e98b82 | adding intergrity recipe | diff --git a/cookbooks/integrity/libraries/if_app_needs_recipe.rb b/cookbooks/integrity/libraries/if_app_needs_recipe.rb
new file mode 100644
index 0000000..a43175f
--- /dev/null
+++ b/cookbooks/integrity/libraries/if_app_needs_recipe.rb
@@ -0,0 +1,25 @@
+class Chef
+ class Recipe
+ def if_app_needs_recipe(recipe, ... |
wyhaines/ey-cloud-recipes | 017258faf8e5bca61e48aca2ee44114fe49d049d | commenc out couchdb recipe as an example | diff --git a/cookbooks/main/recipes/default.rb b/cookbooks/main/recipes/default.rb
index 6f8c557..9350d61 100644
--- a/cookbooks/main/recipes/default.rb
+++ b/cookbooks/main/recipes/default.rb
@@ -1,8 +1,8 @@
execute "testing" do
command %Q{
echo "i ran at #{Time.now}" >> /root/cheftime
}
end
# uncommen... |
wyhaines/ey-cloud-recipes | 0248e8cf23abe9a0af99779237fd548ff78793c1 | use not_if's | diff --git a/cookbooks/couchdb/recipes/default.rb b/cookbooks/couchdb/recipes/default.rb
index dc5a928..7883610 100644
--- a/cookbooks/couchdb/recipes/default.rb
+++ b/cookbooks/couchdb/recipes/default.rb
@@ -1,50 +1,52 @@
#
# Cookbook Name:: couchdb
# Recipe:: default
#
package "couchdb" do
version "0.8.1"
... |
wyhaines/ey-cloud-recipes | 7d2109cc2ac40afd42de2911c7cce75c5a6b4fd5 | reenable couch | diff --git a/cookbooks/main/recipes/default.rb b/cookbooks/main/recipes/default.rb
index 12f1acc..6f8c557 100644
--- a/cookbooks/main/recipes/default.rb
+++ b/cookbooks/main/recipes/default.rb
@@ -1,8 +1,8 @@
execute "testing" do
command %Q{
echo "i ran at #{Time.now}" >> /root/cheftime
}
end
# uncommen... |
wyhaines/ey-cloud-recipes | 37c1387b9034e4851463bde1b344f3b77a8c7964 | dont run couchdb by default | diff --git a/cookbooks/main/recipes/default.rb b/cookbooks/main/recipes/default.rb
index 6f8c557..12f1acc 100644
--- a/cookbooks/main/recipes/default.rb
+++ b/cookbooks/main/recipes/default.rb
@@ -1,8 +1,8 @@
execute "testing" do
command %Q{
echo "i ran at #{Time.now}" >> /root/cheftime
}
end
# uncommen... |
wyhaines/ey-cloud-recipes | 581433f502eb5999a6bdb7ca9609a02b2932e1c5 | couchdb touchpus | diff --git a/cookbooks/couchdb/recipes/default.rb b/cookbooks/couchdb/recipes/default.rb
index 6da1407..dc5a928 100644
--- a/cookbooks/couchdb/recipes/default.rb
+++ b/cookbooks/couchdb/recipes/default.rb
@@ -1,51 +1,50 @@
#
# Cookbook Name:: couchdb
# Recipe:: default
#
package "couchdb" do
version "0.8.1"
... |
wyhaines/ey-cloud-recipes | 730ea0e1d42d90e5ca53662d021f78fe0a965a1e | just restart couchdb on successful run | diff --git a/cookbooks/couchdb/recipes/default.rb b/cookbooks/couchdb/recipes/default.rb
index 5c75fab..6da1407 100644
--- a/cookbooks/couchdb/recipes/default.rb
+++ b/cookbooks/couchdb/recipes/default.rb
@@ -1,52 +1,51 @@
#
# Cookbook Name:: couchdb
# Recipe:: default
#
package "couchdb" do
version "0.8.1"
... |
wyhaines/ey-cloud-recipes | 8572b9768c36a1949096558e79f6443e2c79f784 | make sure couchdb is run | diff --git a/cookbooks/main/recipes/default.rb b/cookbooks/main/recipes/default.rb
index 9350d61..6f8c557 100644
--- a/cookbooks/main/recipes/default.rb
+++ b/cookbooks/main/recipes/default.rb
@@ -1,8 +1,8 @@
execute "testing" do
command %Q{
echo "i ran at #{Time.now}" >> /root/cheftime
}
end
# uncommen... |
wyhaines/ey-cloud-recipes | f02c31ab128f535992c5bf765b08974ef66f13a0 | comment out the couchdb recipe | diff --git a/cookbooks/main/recipes/default.rb b/cookbooks/main/recipes/default.rb
index e5eb863..9350d61 100644
--- a/cookbooks/main/recipes/default.rb
+++ b/cookbooks/main/recipes/default.rb
@@ -1,7 +1,8 @@
execute "testing" do
command %Q{
echo "i ran at #{Time.now}" >> /root/cheftime
}
end
-require_re... |
wyhaines/ey-cloud-recipes | 24c924234a83259baaf3ee2fcef8817c03eebd53 | not_if not only_if | diff --git a/cookbooks/couchdb/recipes/default.rb b/cookbooks/couchdb/recipes/default.rb
index c52009c..5c75fab 100644
--- a/cookbooks/couchdb/recipes/default.rb
+++ b/cookbooks/couchdb/recipes/default.rb
@@ -1,52 +1,52 @@
#
# Cookbook Name:: couchdb
# Recipe:: default
#
package "couchdb" do
version "0.8.1"
... |
wyhaines/ey-cloud-recipes | f1a634ad2a9af33d1cee03e685d67fae98934fec | set executable on the init script | diff --git a/cookbooks/couchdb/recipes/default.rb b/cookbooks/couchdb/recipes/default.rb
index bee35bf..c52009c 100644
--- a/cookbooks/couchdb/recipes/default.rb
+++ b/cookbooks/couchdb/recipes/default.rb
@@ -1,52 +1,52 @@
#
# Cookbook Name:: couchdb
# Recipe:: default
#
package "couchdb" do
version "0.8.1"
... |
wyhaines/ey-cloud-recipes | a09314cce1f6ebcb1116e7a4dda41699e7f21165 | use our own custom genttoified /etc/init.d/couchdb file | diff --git a/cookbooks/couchdb/files/default/couchdb b/cookbooks/couchdb/files/default/couchdb
new file mode 100644
index 0000000..0e54bae
--- /dev/null
+++ b/cookbooks/couchdb/files/default/couchdb
@@ -0,0 +1,122 @@
+#!/sbin/runscript
+# Copyright 1999-2008 Gentoo Foundation
+# by Gerardo Puerta Cardelles / Vicente Ji... |
wyhaines/ey-cloud-recipes | 6b0fb30debbb9b3e4d5517003c10ee7f3fe537aa | version not verison | diff --git a/cookbooks/couchdb/recipes/default.rb b/cookbooks/couchdb/recipes/default.rb
index cfb1446..227a30c 100644
--- a/cookbooks/couchdb/recipes/default.rb
+++ b/cookbooks/couchdb/recipes/default.rb
@@ -1,45 +1,45 @@
#
# Cookbook Name:: couchdb
# Recipe:: default
#
package "couchdb" do
- verison "0.8.1"
+... |
wyhaines/ey-cloud-recipes | f092d233047dd23dc24330f8895607996f35cff7 | require_recipe 'couchdb' from main recipe | diff --git a/cookbooks/main/recipes/default.rb b/cookbooks/main/recipes/default.rb
index 3725fef..e5eb863 100644
--- a/cookbooks/main/recipes/default.rb
+++ b/cookbooks/main/recipes/default.rb
@@ -1,5 +1,7 @@
execute "testing" do
command %Q{
- echo "i ran at #{Time.now}" >> /root/yessir
+ echo "i ran at #{Tim... |
wyhaines/ey-cloud-recipes | ed9b08bf92f4db8f76c3b344b63ded9093915b68 | added couchdb cookbook | diff --git a/Rakefile b/Rakefile
index 8d85821..13ec65b 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,64 +1,42 @@
TOPDIR = File.dirname(__FILE__)
desc "Test your cookbooks for syntax errors"
task :test do
puts "** Testing your cookbooks for syntax errors"
Dir[ File.join(TOPDIR, "cookbooks", "**", "*.rb") ].each... |
wyhaines/ey-cloud-recipes | fd0706457bbb5beec73939ad303ead43fb761739 | fix typo | diff --git a/cookbooks/main/recipes/default.rb b/cookbooks/main/recipes/default.rb
index 50784b3..3725fef 100644
--- a/cookbooks/main/recipes/default.rb
+++ b/cookbooks/main/recipes/default.rb
@@ -1,5 +1,5 @@
-eexecute "testing" do
+execute "testing" do
command %Q{
echo "i ran at #{Time.now}" >> /root/yessir
... |
wyhaines/ey-cloud-recipes | 82384cff30c3a46ab8c916d3e3c7f96e67fc792c | use main recipe | diff --git a/cookbooks/main/attributes/recipe.rb b/cookbooks/main/attributes/recipe.rb
new file mode 100644
index 0000000..11e0a50
--- /dev/null
+++ b/cookbooks/main/attributes/recipe.rb
@@ -0,0 +1 @@
+recipes('main')
\ No newline at end of file
|
wyhaines/ey-cloud-recipes | 0939eea826731a3adf75ea3efdeee75aa90f72fd | comit test recipe | diff --git a/Rakefile b/Rakefile
new file mode 100644
index 0000000..8d85821
--- /dev/null
+++ b/Rakefile
@@ -0,0 +1,64 @@
+TOPDIR = File.dirname(__FILE__)
+
+desc "Test your cookbooks for syntax errors"
+task :test do
+ puts "** Testing your cookbooks for syntax errors"
+ Dir[ File.join(TOPDIR, "cookbooks", "**", "*... |
ericgj/rmu-alarmclock | cbdd55f927932daab15c146203e0cbf04f534373 | more minor corrections to phase1/README | diff --git a/phase1/README.markdown b/phase1/README.markdown
index 3ae0abb..e0423e0 100755
--- a/phase1/README.markdown
+++ b/phase1/README.markdown
@@ -1,37 +1,37 @@
## Eventmachine implementation
This is the first stage of the project, the Eventmachine implementation.
For explanation, see [http://github.co... |
ericgj/rmu-alarmclock | 3b52070ddc9979824555fe743a3e5b57b29ddf42 | minor fix to path to default sound file | diff --git a/phase1/lib/shared/environment.rb b/phase1/lib/shared/environment.rb
index e64ef0c..2b445af 100755
--- a/phase1/lib/shared/environment.rb
+++ b/phase1/lib/shared/environment.rb
@@ -1,119 +1,119 @@
# load/dump environment settings from YAML
module Remindr
class Environment < Struct.new(:server, :clie... |
ericgj/rmu-alarmclock | d8f00af53b2f4080043fe45d68005ddef4250e02 | minor fix to phase1/README | diff --git a/phase1/README.markdown b/phase1/README.markdown
index c7865d7..3ae0abb 100755
--- a/phase1/README.markdown
+++ b/phase1/README.markdown
@@ -1,37 +1,37 @@
## Eventmachine implementation
This is the first stage of the project, the Eventmachine implementation.
For explanation, see [http://github.co... |
ericgj/rmu-alarmclock | ec24ad10ac81f6f17f9dc0d56374f6161b5d496f | reorg project dirs, revise em tests to pass, add scaffolding for phase2 gem | diff --git a/Gemfile b/Gemfile
index 810be7a..231c260 100755
--- a/Gemfile
+++ b/Gemfile
@@ -1,16 +1,21 @@
source "http://gems.rubyforge.org"
group :daemon do
gem 'daemons'
end
group :em do
gem 'eventmachine'
gem 'json'
end
+group :thin do
+ gem 'thin'
+ gem 'sinatra'
+end
+
group... |
ericgj/rmu-alarmclock | de8ce8282de67ec7f1803bb6cb500b7164ceaaf0 | working EM implementation (previous commit); updated main README | diff --git a/ROADMAP.markdown b/ROADMAP.markdown
index 7fe3ca6..e4ce16d 100755
--- a/ROADMAP.markdown
+++ b/ROADMAP.markdown
@@ -1,14 +1,16 @@
## Roadmap
**The first stage** of this project I want to do is a simple implementation of all three parts of the app: client, server, and alarm, using straight Eventmachin... |
ericgj/rmu-alarmclock | 55dd18e40a04f7bf900566ef08b723dc14e58729 | draft simple alarm server that plays sound; reminder server now sets both start and end reminders if appropriate | diff --git a/lib/em/lib/alarm/simple_alarm_server.rb b/lib/em/lib/alarm/simple_alarm_server.rb
index e69de29..2b425be 100755
--- a/lib/em/lib/alarm/simple_alarm_server.rb
+++ b/lib/em/lib/alarm/simple_alarm_server.rb
@@ -0,0 +1,19 @@
+
+module SimpleAlarmServer
+ include EM::Protocols::JSON::Simple
+
+ def self.s... |
ericgj/rmu-alarmclock | 9e71afb60136ee953a73c3d0f0605d922ff4a611 | refactored reminder_server to extract out common JSON message handling into shared/json_server; updated specs | diff --git a/Rakefile b/Rakefile
index 750b968..5785b6c 100755
--- a/Rakefile
+++ b/Rakefile
@@ -1,28 +1,28 @@
$LOAD_PATH << File.expand_path(File.dirname(__FILE__))
namespace :test do
task :setup do
require 'rubygems'
require 'bundler'
Bundler.setup(:test)
require 'bacon'
#Ba... |
ericgj/rmu-alarmclock | cf5e6b89e61db73a4f3d38330e8727076fa08b66 | add Rakefile test tasks; update bundle to include daemons gem | diff --git a/Gemfile b/Gemfile
index 31044fb..810be7a 100755
--- a/Gemfile
+++ b/Gemfile
@@ -1,16 +1,16 @@
source "http://gems.rubyforge.org"
group :daemon do
- gem :daemons
+ gem 'daemons'
end
group :em do
gem 'eventmachine'
gem 'json'
end
group :test do
gem 'bacon'
gem 'mocha'
... |
ericgj/rmu-alarmclock | 3cb8446022843ef6418ca19aafae2ebe9c6841dd | reorganized proj dirs, drafted how daemons will work | diff --git a/Gemfile b/Gemfile
index b444bb9..31044fb 100755
--- a/Gemfile
+++ b/Gemfile
@@ -1,12 +1,16 @@
source "http://gems.rubyforge.org"
+group :daemon do
+ gem :daemons
+end
+
group :em do
gem 'eventmachine'
gem 'json'
end
group :test do
gem 'bacon'
gem 'mocha'
gem 'baconmoch... |
ericgj/rmu-alarmclock | 49961d21db27381756c125929899d0f967a52f4a | make CLI independent of the environment; draft bin/remindr; update specs to pass | diff --git a/lib/em/bin/remindr b/lib/em/bin/remindr
new file mode 100755
index 0000000..97fa7d4
--- /dev/null
+++ b/lib/em/bin/remindr
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+
+require File.join(File.dirname(__FILE__),'..','em_client')
+
+APPENV = Environment.load
+
+# daemonize alarm listener here if not started ... |
ericgj/rmu-alarmclock | 60df45943943499c7bd60009a0344504ebc23d1b | implemented SimpleAlarmClient similar to ReminderServer, with callbacks for 'snooze' and 'off' responses from alarm; sketched ReminderResponse message format; sketched usage of this in app. | diff --git a/lib/em/em_client.rb b/lib/em/em_client.rb
index b657d90..cd8cd96 100755
--- a/lib/em/em_client.rb
+++ b/lib/em/em_client.rb
@@ -1,5 +1,6 @@
require 'rubygems'
require "bundler"
Bundler.setup(:em)
require File.join(File.dirname(__FILE__),'lib','reminder')
+require File.join(File.dirname(__FILE__),'l... |
ericgj/rmu-alarmclock | a8a669bc93ce831807c36aa9e1f01f8f8b488cf5 | drafted functional specs; reminder_server needs redoing, doesn't work right as implemented | diff --git a/lib/em/lib/server/reminder_server.rb b/lib/em/lib/server/reminder_server.rb
index 9207909..c6bdc50 100755
--- a/lib/em/lib/server/reminder_server.rb
+++ b/lib/em/lib/server/reminder_server.rb
@@ -1,62 +1,66 @@
require 'eventmachine'
require 'json'
require 'json/add/core'
module ReminderServer
... |
ericgj/rmu-alarmclock | f2fce502d3ecea25380294f07243d59b889ad23a | reorganized bundles, added json; moved helper module to spec/em/shared, loaded by spec/em/helper; started spec for reminder_server, debugged reminder | diff --git a/Gemfile b/Gemfile
index f3de234..b444bb9 100755
--- a/Gemfile
+++ b/Gemfile
@@ -1,9 +1,12 @@
source "http://gems.rubyforge.org"
-gem 'eventmachine'
+group :em do
+ gem 'eventmachine'
+ gem 'json'
+end
group :test do
gem 'bacon'
gem 'mocha'
gem 'baconmocha'
end
\ No newline at ... |
ericgj/rmu-alarmclock | 375110454ea5cd8c6fe14ffde7cc6a43e73eea94 | started EM server specs | diff --git a/lib/em/lib/server/reminder_server.rb b/lib/em/lib/server/reminder_server.rb
index 0b117c5..d6d7434 100755
--- a/lib/em/lib/server/reminder_server.rb
+++ b/lib/em/lib/server/reminder_server.rb
@@ -1,55 +1,55 @@
require 'eventmachine'
module ReminderServer
require 'json'
def post_init... |
ericgj/rmu-alarmclock | 3024eabf6b660b2fbd10a04e510f2bb0f7d00681 | finished specs for EM client (mostly), bundled gems | diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6732a9a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+vendor/*
+.bundle/*
diff --git a/Gemfile b/Gemfile
new file mode 100755
index 0000000..f3de234
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,9 @@
+source "http://gems.rubyforge.org"
+
+gem 'eventm... |
ericgj/rmu-alarmclock | cfb089d5dd24306c92f44cf694d122fd69b2446b | started specs for client component; redid reminder as Struct | diff --git a/Rakefile b/Rakefile
new file mode 100755
index 0000000..e69de29
diff --git a/lib/em/em_client.rb b/lib/em/em_client.rb
index 2a53aac..480f665 100755
--- a/lib/em/em_client.rb
+++ b/lib/em/em_client.rb
@@ -1,3 +1,3 @@
require 'rubygems'
-require File.join(File.dirpath(__FILE__),'lib','reminder')
-require... |
ericgj/rmu-alarmclock | 4e566815f80c7cdb001988c0be555d91a7f7a790 | first draft simple eventmachine implementation | diff --git a/README.markdown b/README.markdown
new file mode 100755
index 0000000..7e34301
--- /dev/null
+++ b/README.markdown
@@ -0,0 +1,30 @@
+## Description
+
+Basically the project is a glorified alarm clock, or the 'reminder' part of a calendar application. You tell a server you have an event at a given time an... |
ericgj/rmu-alarmclock | 8697935a676713ed2f84046a8c9284c8d4c8c733 | Added proposal | diff --git a/PROPOSAL.markdown b/PROPOSAL.markdown
new file mode 100644
index 0000000..1853b7e
--- /dev/null
+++ b/PROPOSAL.markdown
@@ -0,0 +1,53 @@
+## Description
+
+Basically the project is a glorified alarm clock, or the 'reminder' part of a calendar application. You tell a server you have an event at a given t... |
vishwam/apod.gadget | 752bd45283cbe4cac91c5b0ed1ac501f8f129712 | Version 1.1, uploaded to live gallery on 20100829. Added MIT license document, icons for logo/status, readme for silk icons. Cleaned up html/js/css. | diff --git a/Gadget.xml b/Gadget.xml
index 69de7c2..2bdfc30 100755
--- a/Gadget.xml
+++ b/Gadget.xml
@@ -1,16 +1,25 @@
<?xml version="1.0" encoding="utf-8" ?>
<gadget>
- <name>APoD</name>
- <version>1.0.0.0</version>
- <description>Astronomy Picture of the Day</description>
+ <name>APOD</name>
+ <version>1.1.0.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.