I hereby claim:
- I am edpaget on github.
- I am edflairco (https://keybase.io/edflairco) on keybase.
- I have a public key ASBFNKDi5e1NvD1R3ebxKj-pUewGBpvEIfcjhmw1fVR_Ogo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| version: '2.1' | |
| services: | |
| kong-database: | |
| image: postgres:9.5 | |
| environment: | |
| - POSTGRES_USER=kong | |
| - POSTGRES_DB=kong | |
| healthcheck: | |
| test: ["CMD", "pg_isready", "-U", "postgres"] |
| (defui ChildComponent | |
| static om/IQuery | |
| (query [this] | |
| [:id :type :name])) | |
| (defui ParentComponent | |
| static om/IQuery | |
| (query [this] | |
| [{[:things _] [{:another-key (om/get-query ChildComponent)}]}])) |
| classification_dict = dict() | |
| for classification in classifications: | |
| key = str(classification.user_id) + str(classification.subject_ids[0]) | |
| if not key in classification_dict: | |
| classification_dict[key] = classification |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <title>SoundCloud OAuth 2 User Agent Authentication Flow Demo</title> | |
| <script type="text/javascript" charset="utf-8" src="https://code.jquery.com/jquery-2.1.4.min.js"></script> | |
| <script type="text/javascript" charset="utf-8"> | |
| $(function () { | |
| var extractToken = function(hash) { |
| begin | |
| require 'bundler/inline' | |
| rescue LoadError => e | |
| $stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler' | |
| raise e | |
| end | |
| gemfile(true) do | |
| source 'https://rubygems.org' | |
| # Activate the gem you are reporting the issue against. |
| # Checklist for Tomorrow | |
| [ ] Add zooniverse.org & www.zooniverse.org to maintenance page CF distribution | |
| [ ] Add redirect from zooniverse.org/password/reset to zooniverse.org/#/reset-password | |
| [ ] Add redirect from zooniverse.org/projects/current to zooniverse.org/#/users | |
| [ ] Build Ouroboros AMI with PR https://github.com/zooniverse/Ouroboros/pulls/198 | |
| [ ] Build Login AMI with PR https://github.com/zooniverse/Login/pulls/1 | |
| [ ] Tweet that Zooniverse will be down for maintenance for 30 minutes to 1 hour | |
| [ ] Redirect zooniverse.org & www.zooniverse.org to maintenance.zooniverse.org | |
| [ ] Migrate users that have changed since Tuesday |
| WITH RECURSIVE rand(ids, id, done) AS ( | |
| SELECT ARRAY[]::int[], sub.id, 0 FROM (SELECT t.id FROM test t WHERE t.name = 'asdf' AND t.id = ceiling(random() * 8)::integer) AS sub | |
| UNION ALL | |
| SELECT (n.ids || n.id), sub.id, done+1 FROM rand n, (SELECT t.id FROM test t WHERE t.name = 'asdf' AND t.id = ceiling(random() * 8)::integer) AS sub WHERE NOT done = 5 | |
| ) | |
| SELECT n.* FROM rand n; | |
| SELECT t.* FROM test t, rand n WHERE t.id = ANY(n.ids) LIMIT 20; | |
| unless File.exist?('Gemfile') | |
| File.write('Gemfile', <<-GEMFILE) | |
| source 'https://rubygems.org' | |
| gem 'rails', github: 'rails/rails' | |
| gem 'arel', github: 'rails/arel' | |
| gem 'sqlite3' | |
| GEMFILE | |
| system 'bundle' | |
| end |