https://docs.getdbt.com/docs/installation
brew update
brew tap fishtown-analytics/dbt
brew install dbt
https://docs.getdbt.com/docs/installation
brew update
brew tap fishtown-analytics/dbt
brew install dbt
--- | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: server | |
spec: | |
containers: | |
- image: resouer/sample:v2 | |
name: war | |
lifecycle: |
create this file in your /root folder | |
$ fleetctl load swapon.service | |
$ fleetctl start swapon.service | |
This will create swap file on all nodes of your CoreOS cluster without prior setup. | |
See also http://cloudinit.readthedocs.org/en/latest/topics/examples.html#adjust-mount-points-mounted |
require 'rubygems' | |
require 'tire' | |
Tire.configure { logger 'elasticsearch.log', :level => 'debug' } | |
class Document | |
attr_accessor :title, :content | |
include Tire::Model::Persistence | |
include Tire::Model::Search | |
include Tire::Model::Callbacks |
<html ng-app="MyApplication"> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min.js"></script> | |
<script src="timeago-angular.js" type="text/javascript"></script> | |
<script src="my-app.js" type="text/javascript"></script> | |
</head> | |
<body> | |
<div ng-controller="myController"> | |
<span class="time-ago" title="{{ myTime }}"></span> | |
</div> |
#!/usr/bin/env ruby | |
#------------------------------------------------------------------------------ | |
# Aggregate Print useful information from /proc/[pid]/smaps | |
# | |
# pss - Roughly the amount of memory that is "really" being used by the pid | |
# swap - Amount of swap this process is currently using | |
# | |
# Reference: | |
# http://www.mjmwired.net/kernel/Documentation/filesystems/proc.txt#361 |
group :production do | |
gem "unicorn" | |
end |
Get notifications when there are migrations that need to be run in a Rails project: | |
https://img.skitch.com/20110418-c9y3ttap3tai7frc43f38qtb8e.jpg | |
In your Rails project edit the .git/config file to add the following: | |
[rails] | |
automigrate = false | |
automigrateforegroundcolor = yellow | |
automigratebackgroundcolor = black |