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
1. Can't add people to groups from search results | |
2. Groups box is hidden away | |
3. No easy way (as far as I can tell) short of adding people when they tweet to add them to groups | |
4. Searchs automatically add them self / cant be removed(?) | |
5. no-resizable columns | |
6. Multiple selection of people in a timeline doesn't mean you can add them all to one group via options, still have to do it individually | |
7. Home / End don't seem to work in views (page up / down do though) |
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
1. Can't add people to groups from search results | |
2. Groups box is hidden away | |
3. No easy way (as far as I can tell) short of adding people when they tweet to add them to groups | |
4. Searchs automatically add them self / cant be removed(?) | |
5. no-resizable columns | |
6. Multiple selection of people in a timeline doesn't mean you can add them all to one group via options, still have to do it individually | |
7. Home / End don't seem to work in views (page up / down do though) |
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
function(doc) { | |
emit(doc.origin, doc.target); | |
} |
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 'couchrest' | |
class LoggerHandler < Marvin::Base | |
cattr_accessor :database | |
self.database = CouchRest.database! 'http://127.0.0.1:5984/couchbot' | |
attr_accessor :messages_buffer | |
def initialize |
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
ENV["RAILS_ENV"] = "test" | |
require File.expand_path(File.dirname(__FILE__) + "/../config/environment") | |
require 'spec' | |
require 'spec/rails' | |
Spec::Runner.configure do |config| | |
config.use_transactional_fixtures = true | |
config.use_instantiated_fixtures = false | |
config.fixture_path = RAILS_ROOT + '/spec/fixtures/' | |
end |
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
# Recursion | |
# I usually put them around method arguments | |
def recursive(x) | |
return if x >= 10 | |
puts x | |
recursive x + 1 | |
end | |
# No Brackets here | |
recursive 0 |
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 ruby | |
def run_silently(command) | |
IO.popen(command) { |f| f.read } | |
end | |
if ARGV.size < 2 | |
puts "Usage: #{File.basename(__FILE__)} domain [path=/var/apps/#\{domain\}] [user=deployer] [--no-capistrano]" | |
end |
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/ruby | |
require 'rubygems' | |
require 'mysql' | |
require 'sqlite3' | |
def with_mysql | |
db_object = Mysql.init() | |
db_object.real_connect('localhost','things','1234','things') | |
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 File.join(File.dirname(__FILE__), "lib", "gitauth") | |
GitAuth.setup! | |
require File.join(File.expand_path(File.join(File.dirname(__FILE__), "lib", "gitauth")), "web_app") | |
run GitAuth::WebApp.new |
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
--- | |
details: | |
github-username: Sutto | |
nickname: Sutto | |
irc-nick: SuttoL | |
user-type: participant | |
team: | |
slug: whattech | |
status: approved | |
name: WhatTech |