Skip to content

Instantly share code, notes, and snippets.

View krainboltgreene's full-sized avatar
🏠
Working from home

Kurtis Rainbolt-Greene krainboltgreene

🏠
Working from home
View GitHub Profile
@krainboltgreene
krainboltgreene / syntax.md
Last active August 29, 2015 14:11
Dragon syntax guide

9 core syntax literals to recognize in dragon:

The assignment:

# Comment

# Text
"Kurtis"

The thing is that there is a legitimate argument to be made against the ACTUAL "dark magic warriors" that started the stereotype, i.e. certain elements of "internet litch" culture, especially typified in some of the legitimately unhinged bloggers who have been engaged in shady shit like doxxing and harassment LONG before GG started.

Unfortunately, the term "dark magic warrior" has become so overused it's become nothing more than a parody now, which A) prevents good-faith arguments by encouraging hostility and B) makes legitimately problematic people less likely to change their behaviour.

(The other reason "skeleton" became a stereotype was because the targets were 'whining on the internet' rather than participating in genuine activism. Horseshoe theory in action?)

I don't think "necromancer" is comparable because to the best of my knowledge "necromancer" was a self-created term, whereas "skeleton" started as an insult and was co-opted as a positive ideal. Might be wrong though.

Certain exercises of magic

/Users/krainboltgreene/.rvm/gems/ruby-2.1.5@vcr/gems/safe_yaml-1.0.4/lib/safe_yaml/libyaml_checker.rb:8:in `<class:LibyamlChecker>': uninitialized constant SafeYAML::LibyamlChecker::Gem (NameError)
from /Users/krainboltgreene/.rvm/gems/ruby-2.1.5@vcr/gems/safe_yaml-1.0.4/lib/safe_yaml/libyaml_checker.rb:4:in `<module:SafeYAML>'
from /Users/krainboltgreene/.rvm/gems/ruby-2.1.5@vcr/gems/safe_yaml-1.0.4/lib/safe_yaml/libyaml_checker.rb:3:in `<top (required)>'
from /Users/krainboltgreene/.rvm/gems/ruby-2.1.5@vcr/gems/safe_yaml-1.0.4/lib/safe_yaml/load.rb:10:in `require'
from /Users/krainboltgreene/.rvm/gems/ruby-2.1.5@vcr/gems/safe_yaml-1.0.4/lib/safe_yaml/load.rb:10:in `<top (required)>'
from /Users/krainboltgreene/.rvm/gems/ruby-2.1.5@vcr/gems/crack-0.4.2/lib/crack/json.rb:6:in `require'
from /Users/krainboltgreene/.rvm/gems/ruby-2.1.5@vcr/gems/crack-0.4.2/lib/crack/json.rb:6:in `<top (required)>'
from /Users/krainboltgreene/.rvm/gems/ruby-2.1.5@vcr/gems/crack-0.4.2/lib/crack.rb:6:in `require'
from /Use
require "spec_helper"
describe Kindara::Account do
let("payload") do
{
"account" => {
"username" => account_username
}
}
end

Single choice question:

What is your favorite color?:
  A: Blue!
  B: Green?
  (C): Yellow

Multiple choice question:

(require '[datascript :as d])
;; Implicit join, multi-valued attribute
(let [schema {:aka {:db/cardinality :db.cardinality/many}}
conn (d/create-conn schema)]
(d/transact! conn [ { :db/id -1
:name "Maksim"
:age 45
:aka ["Maks Otto von Stirlitz", "Jack Ryan"] } ])

EU4 Trade

The goals of the Trade minigame are twofold:

  1. Get the most tradepower in your home tradenode
  2. Get the most tradepower in nodes that point to your trade node

The tradepower formula is fairly complex, but the important modifiers are: Local Provincial Tradepower, Mercantilism and Trade Efficiency. Any event that gives Mercantilism needs to be taken at all costs. It's amazing. Seriously. 1.00 Merchantilism can mean the difference of 3 duckets/month.

Merchants are the Envoy for trade. You start off with 2 and get one from Expansion Ideas, 2 from Trade Ideas, 1 from Merchant Republic, 1 for every major trade company, and 1 from Thalassocracy. Merchants can do two things: Collect from tradenode and transfer trade power.

▶ ember serve
version: 0.2.0-beta.1
Livereload server on port 35729
Serving on http://0.0.0.0:4200/
undefined is not a function
TypeError: undefined is not a function
at rimraf (/Users/krainboltgreene/Code/krainboltgreene/blankember/node_modules/ember-cli/node_modules/broccoli-caching-writer/node_modules/rimraf/rimraf.js:57:13)
at lib$rsvp$node$$tryApply (/Users/krainboltgreene/Code/krainboltgreene/blankember/node_modules/ember-cli/node_modules/broccoli-caching-writer/node_modules/rsvp/dist/rsvp.js:1467:11)
at lib$rsvp$node$$handleValueInput (/Users/krainboltgreene/Code/krainboltgreene/blankember/node_modules/ember-cli/node_modules/broccoli-caching-writer/node_modules/rsvp/dist/rsvp.js:1567:20)
at fn (/Users/krainboltgreene/Code/krainboltgreene/blankember/node_modules/ember-cli/node_modules/broccoli-caching-writer/node_modules/rsvp/dist/rsvp.js:1555:18)
Uncaught TypeError: Ghostryder is not a module ghostryder.js:311
module ROM
INFLECTOR = case
when defined?(ActiveSupport::Inflector) then ActiveSupport::Inflector
when defined(Inflecto) then Inflecto
end
end