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
{ | |
"event_data" : { | |
"group" : { | |
"group_above" : Group above uuid (String), | |
"name" : Group title/name (String), | |
"organization_id" : Array of organization group uuids (Array), | |
"type" : Array of group types, i.e. Sports, Baseball (Array), | |
"uuid" : UUID of group (String) | |
}, | |
"member" : { |
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
sudo apt-get install make | |
sudo apt-get update | |
sudo apt-get install build-essential | |
wget http://download.redis.io/redis-stable.tar.gz | |
tar xvzf redis-stable.tar.gz | |
cd redis-stable | |
make | |
sudo make install | |
sudo apt-get install rubygems |
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
/** | |
* Class that uses basic perform function to process queued jobs. | |
*/ | |
class CopyGroupHierarchy | |
{ | |
/** | |
* Before processing, connect to correct instance of redis. | |
*/ | |
public function __construct() | |
{ |
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
<?php | |
namespace RugbyStatsMigrations; | |
use Doctrine\DBAL\Migrations\AbstractMigration, | |
Doctrine\DBAL\Schema\Schema; | |
/** | |
* Auto-generated Migration: Please modify to your need! | |
*/ |
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
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: redis-server | |
# Required-Start: $syslog | |
# Required-Stop: $syslog | |
# Should-Start: $local_fs | |
# Should-Stop: $local_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: redis-server - Persistent key-value db |
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
# Redis configuration file example | |
# Note on units: when memory size is needed, it is possible to specify | |
# it in the usual form of 1k 5GB 4M and so forth: | |
# | |
# 1k => 1000 bytes | |
# 1kb => 1024 bytes | |
# 1m => 1000000 bytes | |
# 1mb => 1024*1024 bytes | |
# 1g => 1000000000 bytes |
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
diff --git a/Gemfile b/Gemfile | |
index cecf9d3..51dc2f2 100644 | |
--- a/Gemfile | |
+++ b/Gemfile | |
@@ -12,6 +12,7 @@ gem 'mongoid' | |
gem 'omniauth' | |
gem 'omniauth-twitter' | |
gem 'twitter' | |
+gem 'geocoder' | |
group :development do |
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
diff --git app/controllers/games_controller.rb app/controllers/games_controller.rb | |
new file mode 100644 | |
index 0000000..e69de29 | |
diff --git app/views/games/index.html.erb app/views/games/index.html.erb | |
new file mode 100644 | |
index 0000000..e69de29 |
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
diff --git Gemfile Gemfile | |
index cecf9d3..51dc2f2 100644 | |
--- Gemfile | |
+++ Gemfile | |
@@ -12,6 +12,7 @@ gem 'mongoid' | |
gem 'omniauth' | |
gem 'omniauth-twitter' | |
gem 'twitter' | |
+gem 'geocoder' | |
group :development do |
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
diff --git a/Gemfile b/Gemfile | |
index cecf9d3..51dc2f2 100644 | |
--- a/Gemfile | |
+++ b/Gemfile | |
@@ -12,6 +12,7 @@ gem 'mongoid' | |
gem 'omniauth' | |
gem 'omniauth-twitter' | |
gem 'twitter' | |
+gem 'geocoder' | |
group :development do |