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
-- --- | |
-- Globals | |
-- --- | |
-- SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; | |
-- SET FOREIGN_KEY_CHECKS=0; |
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
*_Migration file:_* | |
- Filename (snake_case) ~= class name (CamelCase), which inherits < ActiveRecord::Migration | |
- create_table :names (as a symbol and pluralized) stands for the table name, and its singular version is used in the model and class definitions (see below!) | |
EXAMPLE: Filename is 20140529101030_create_database.rb | |
class CreateDatabase < ActiveRecord::Migration | |
def change | |
create_table :tasks do |t| | |
t.text :description #name |
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
$(function() { | |
previewView = new PreviewWidget.View; | |
previewController = new PreviewWidget.Controller(previewView); | |
previewController.initializeEventBindings(); | |
}); | |
var PreviewWidget = { | |
View: function(){ |
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/bash | |
CHECKMAN_INTERVAL=30 # Seconds between running checks | |
CHECKMAN_VERSION=25d77c1 | |
get_ci_infrastructure_repo() { | |
mkdir -p ~/workspace/ | |
if [ ! -e ~/workspace/ci-infrastructure ]; then | |
git clone [email protected]:Pivotal-DataFabric/ci-infrastructure.git ~/workspace/ci-infrastructure | |
else | |
pushd ~/workspace/ci-infrastructure |
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
./garden.stdout.log.2:2405:{"timestamp":"1477957789.555036783","source":"guardian","message":"guardian.create.start","log_level":1,"data":{"handle":"39d42719-565e-4f18-76e2-3615930b8253","session":"360"}} | |
./garden.stdout.log.2:2406:{"timestamp":"1477957789.555116653","source":"guardian","message":"guardian.create.gc.start","log_level":1,"data":{"handle":"39d42719-565e-4f18-76e2-3615930b8253","session":"360.1"}} | |
./garden.stdout.log.2:2407:{"timestamp":"1477957789.555145025","source":"guardian","message":"guardian.create.gc.finished","log_level":1,"data":{"handle":"39d42719-565e-4f18-76e2-3615930b8253","session":"360.1"}} | |
./garden.stdout.log.2:2408:{"timestamp":"1477957789.555168867","source":"guardian","message":"guardian.create.containerizer-create.start","log_level":1,"data":{"handle":"39d42719-565e-4f18-76e2-3615930b8253","session":"360.2"}} | |
./garden.stdout.log.2:2415:{"timestamp":"1477957789.598308325","source":"guardian","message":"guardian.create.containerizer-create.depot-create.started","log_level":1," |
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
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND | |
root 2 0.0 0.0 0 0 ? S 17:48 0:00 [kthreadd] | |
root 3 0.0 0.0 0 0 ? S 17:48 0:02 \_ [ksoftirqd/0] | |
root 5 0.0 0.0 0 0 ? S< 17:48 0:00 \_ [kworker/0:0H] | |
root 7 0.0 0.0 0 0 ? S 17:48 0:01 \_ [rcu_sched] | |
root 8 0.0 0.0 0 0 ? S 17:48 0:00 \_ [rcu_bh] | |
root 9 0.0 0.0 0 0 ? S 17:48 0:00 \_ [migration/0] | |
root 10 0.0 0.0 0 0 ? S 17:48 0:00 \_ [watchdog/0] | |
root 11 0.0 0.0 0 0 ? S 17:48 0:00 \_ [watchdog/1] | |
root 12 0.0 0.0 0 0 ? S 17:48 0:00 \_ [migration/1] |
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
@gpperfmon | |
Feature: gpperfmon | |
@gpperfmon_install | |
Scenario: install gpperfmon | |
Given the database "gpperfmon" does not exist | |
When the user runs "gpperfmon_install --port 15432 --enable --password foo" | |
Then gpperfmon_install should return a return code of 0 | |
Then verify that the last line of the master postgres configuration file contains the string "gpperfmon_log_alert_level=warning" | |
And verify that there is a "heap" table "database_history" in "gpperfmon" |
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
@gpperfmon | |
Feature: gpperfmon | |
@gpperfmon_install | |
Scenario: install gpperfmon | |
Given the database "gpperfmon" does not exist | |
When the user runs "gpperfmon_install --port 15432 --enable --password foo" | |
Then gpperfmon_install should return a return code of 0 | |
Then verify that the last line of the master postgres configuration file contains the string "gpperfmon_log_alert_level=warning" | |
And verify that there is a "heap" table "database_history" in "gpperfmon" |
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
https://superposition.devpost.com/ | |
Use Facebook, Github, or LinkedIn to register | |
- All integrations powered by OAuth, so you'll need to "authorize application" to connect | |
- But otherwise, no need to create a separate account. It will say "authorize challengepost". | |
Challengepost was the company's name before it became Devpost... they pivoted. :) | |
It'll take you to a home page with lots of other participants | |
- Find your teammates and join up together |
OlderNewer