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
defmodule Kloak do | |
use GenServer | |
@normal_table :"#{__MODULE__}.Config" | |
@concurrent_table :"#{__MODULE__}.ConfigConcurrent" | |
@config [json_library: Jason, | |
ciphers: [ | |
default: | |
{Cloak.Ciphers.AES.GCM, |
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
unless File.exists? 'Gemfile' | |
File.write('Gemfile', <<-GEMFILE) | |
source 'https://rubygems.org' | |
gem 'rails' # Failing | |
# gem 'rails', :git => 'https://github.com/ulissesalmeida/rails.git', :branch => 'polymorphic-has-one-many-custom-foreign-type' | |
gem 'sqlite3' | |
GEMFILE | |
system 'bundle --quiet' | |
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
class YamlDump | |
def dump! | |
dump(Race) | |
dump(Background) | |
dump(CharacterClass) | |
end | |
private | |
def dump(klass) |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>jQuery Snippet</title> | |
<link rel="stylesheet" href="http://rawgithub.com/necolas/normalize.css/master/normalize.css"> | |
<script src="http://rawgithub.com/LeaVerou/prefixfree/gh-pages/prefixfree.min.js"></script> | |
<style type="text/css"> | |
label { |