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
class Meeting < ActiveRecord::Base | |
serialize :metadata, MeetingMetadata::Coder | |
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
Test |
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
web: bin/watchdog.rb && bundle exec rails server thin -p $PORT | |
resque: bin/watchdog.rb && bundle exec resque |
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() { | |
function isBlankLog(log) { return !log.update_text } | |
$('.table-treport-cell-wrap').each(function(){ | |
var time = $(this).scope().time; | |
var logs = time ? time.time_logs : []; | |
if (_.any(logs, isBlankLog)) { | |
$(this).css('color', 'red') | |
} | |
}) |
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
### Keybase proof | |
I hereby claim: | |
* I am vovayartsev on github. | |
* I am vovayartsev (https://keybase.io/vovayartsev) on keybase. | |
* I have a public key whose fingerprint is 3140 7588 BD79 5AE3 DB45 2215 E9DB 2AB3 C0AC 4A98 | |
To claim this, I am signing this object: |
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. On Landing page: | |
"My Family and I", 2 adults, 2 dependent | |
2. On Basic Information: | |
ZIP 55001, annual income 90000, default household size (1) | |
Myself: male, 27 years old, tobacco use | |
Adult: female, 26 years old, can get insurance from an employer | |
Dependent: male, 3 years old | |
3. Medications: |
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
Making check in src | |
make[1]: Entering directory `/app/tmpdir/gems/gpgme-2.0.8/ext/gpgme/tmp/x86_64-linux-gnu/ports/gpgme/1.5.3/gpgme-1.5.3/src' | |
make[1]: Nothing to be done for `check'. | |
make[1]: Leaving directory `/app/tmpdir/gems/gpgme-2.0.8/ext/gpgme/tmp/x86_64-linux-gnu/ports/gpgme/1.5.3/gpgme-1.5.3/src' | |
Making check in tests | |
make[1]: Entering directory `/app/tmpdir/gems/gpgme-2.0.8/ext/gpgme/tmp/x86_64-linux-gnu/ports/gpgme/1.5.3/gpgme-1.5.3/tests' | |
Making check in gpg | |
make[2]: Entering directory `/app/tmpdir/gems/gpgme-2.0.8/ext/gpgme/tmp/x86_64-linux-gnu/ports/gpgme/1.5.3/gpgme-1.5.3/tests/gpg' | |
make check-TESTS check-local | |
make[3]: Entering directory `/app/tmpdir/gems/gpgme-2.0.8/ext/gpgme/tmp/x86_64-linux-gnu/ports/gpgme/1.5.3/gpgme-1.5.3/tests/gpg' |
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
pwd | |
ls -la |
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
# DbAdapter provides access to the underlaying DB layer: | |
# DbAdapter.new.fetch_records(User, name: "Ivan", active: true) # => [ <#User>, <#User>, .... ] | |
# | |
class DbAdapter | |
def fetch_records(klass, conditions) | |
# .... returns an array of records | |
end | |
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
heroku dh:docker run jordi/ab ab -n 10000 -c 100 https://performance-test-app.herokuapp.com/ | |
This is ApacheBench, Version 2.3 <$Revision: 1706008 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking performance-test-app.herokuapp.com (be patient) | |
Completed 1000 requests | |
Completed 2000 requests | |
Completed 3000 requests |
OlderNewer