rvm implode
You should have something like this left from RVM. Delete it from the file. ``[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"```
I know you've done everything possible to get to where you are in Ruby and in Dutch in a really short timeframe. | |
And no matter what anyone else says, | |
and no matter how anyone treats you, | |
you can know that you are putting the effort in, | |
and you've accomplished so much. | |
I'm more and more impressed every day. | |
Honestly, you've given me renewed drive to improve my development skills. |
######################### | |
# config/initializers/doorkeeper.rb | |
######################### | |
Doorkeeper.configure do | |
# Change the ORM that doorkeeper will use. | |
# Currently supported options are :active_record, :mongoid2, :mongoid3, :mongo_mapper | |
orm :active_record | |
# This block will be called to check whether the resource owner is authenticated or not. |
$ Mongoid::VERSION | |
=> "4.0.2" | |
$ Mongoid::Sessions.default[:delivery_addresses].rename(:banned_addresses) | |
=> {"ok"=>1.0} |
results = Merchant.collection.aggregate([ | |
{ "$group" => { | |
_id: { "confirmation_token" => "$confirmation_token"}, | |
recordIds: {"$addToSet" => "$_id" }, | |
count: { "$sum" => 1 } | |
}}, | |
{ "$match" => { | |
count: { "$gt" => 1 } | |
}} | |
]) |
var debug = process.env.NODE_ENV !== "production"; | |
var webpack = require('webpack'); | |
module.exports = { | |
context: __dirname, | |
devtool: debug ? "inline-sourcemap" : null, | |
entry: "./js/scripts.js", | |
output: { | |
path: __dirname + "/js", | |
filename: "scripts.min.js" |
curl --include -i -H "Authorization: Token token=token-goes-here" 'http://example.com'
import React from "react"; | |
import { render } from "react-dom"; | |
const ParentComponent = React.createClass({ | |
getDefaultProps: function() { | |
console.log("ParentComponent - getDefaultProps"); | |
}, | |
getInitialState: function() { | |
console.log("ParentComponent - getInitialState"); | |
return { text: "" }; |
https://docs.docker.com/mac/step_one/
$ docker-compose build
$ docker-compose up