I hereby claim:
- I am cdimartino on github.
- I am vwchris (https://keybase.io/vwchris) on keybase.
- I have a public key whose fingerprint is CCA1 7267 35B9 D7D6 F10E B12C 799B 7E08 2A99 8CA9
To claim this, I am signing this object:
[~/Source/DBC/Cohorts/2015/NYC/copperheads/Lecture]$ git clone [email protected]:nyc-copperheads-2016/sinatra-mvc-skeleton.git rbenv:2.2.3 | |
Cloning into 'sinatra-mvc-skeleton'... | |
remote: Counting objects: 141, done. | |
remote: Total 141 (delta 0), reused 0 (delta 0), pack-reused 141 | |
Receiving objects: 100% (141/141), 29.29 KiB | 0 bytes/s, done. | |
Resolving deltas: 100% (50/50), done. | |
Checking connectivity... done. | |
[~/Source/DBC/Cohorts/2015/NYC/copperheads/Lecture]$ cd sinatra-mvc-skeleton rbenv:2.2.3 | |
[master][~/Source/DBC/Cohorts/2015/NYC/copperheads/Lecture/sinatra-mvc-skeleton]$ ls rbenv:2.2.3 | |
CHANGELOG.md Gemfile Gemfile.lock README.md Rakefile app/ config/ config.ru db/ public/ spec/ |
# Cannot build EventMachine | |
``` | |
bundle config --global build.eventmachine --with-cppflags=-I/usr/local/opt/openssl/include | |
``` | |
# Cannot build pg gem | |
``` | |
bundle config --global build.pg --with-pg_config= /Applications/Postgres.app/Contents/Versions/9.4/bin/pg_config |
controller.rb | |
class PostsController < ApplicationController | |
def index | |
@published_posts = Post.published | |
@unpublished_posts = Post.unpublished | |
end | |
def create |
controller.rb | |
class PostsController < ApplicationController | |
def index | |
@published_posts = Post.published | |
@unpublished_posts = Post.unpublished | |
end | |
def create | |
@post = Post.new params[:post] | |
if @post.save |
# SF | |
00 ac:87:a3:02:16:36 | |
01 40:6c:8f:0d:51:35 | |
02 3c:07:54:43:83:01 | |
03 0c:4d:e9:a6:83:70 | |
04 40:6c:8f:0d:4d:f8 | |
05 3c:07:54:43:7d:68 | |
06 68:5b:35:7f:1b:ba | |
07 3c:07:54:5c:d6:65 | |
08 3c:07:54:43:96:69 |
I hereby claim:
To claim this, I am signing this object:
module DBCLibrary | |
module Barcodable | |
attr_reader :location | |
attr_accessor :barcode | |
end | |
end | |
module DBCLibrary | |
class BluRay < LibraryItem | |
include Borrowable, Reservable |
{ | |
"order_type": null, | |
"state": "draft", | |
"title": "This is a title", | |
"body": null, | |
"tag_list": "tag1, tag2, tag3", | |
"cover_image": { | |
"title": "", | |
"body": "data:imagegpng;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjExNjREMzcyODEzMzExRTNBODE2QTc4M |
[production] root@ip-10-148-145-236:/var/lib/cassandra/data/place_directory_production# du -sh /mnt/cassandra_data/* /var/lib/cassandra/data/place_directory_production/{Branches,Snapshots,Versions} | |
87G /mnt/cassandra_data/Branches | |
139G /mnt/cassandra_data/Snapshots | |
49G /mnt/cassandra_data/Versions | |
87G /var/lib/cassandra/data/place_directory_production/Branches | |
139G /var/lib/cassandra/data/place_directory_production/Snapshots | |
49G /var/lib/cassandra/data/place_directory_production/Versions | |
[production] root@ip-10-148-144-137:/var/lib/cassandra/data/place_directory_production# du -sh /mnt/cassandra_data/* /var/lib/cassandra/data/place_directory_production/{Branches,Snapshots,Versions} | |
53G /mnt/cassandra_data/Branches |
[~/cass_data]$ ls -alR ks rbenv:2.0 | |
total 0 | |
drwxr-xr-x 3 chrisd 608873430 102 Oct 3 04:58 . | |
drwxr-xr-x 3 chrisd 608873430 102 Oct 3 04:58 .. | |
drwxr-xr-x 6 chrisd 608873430 204 Oct 3 05:03 cf | |
ks/cf: | |
total 30000 | |
drwxr-xr-x 6 chrisd 608873430 204 Oct 3 05:03 . | |
drwxr-xr-x 3 chrisd 608873430 102 Oct 3 04:58 .. |