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
ActionScript: source.actionscript.2 | |
AppleScript: source.applescript | |
ASP: source.asp | |
Batch FIle: source.dosbatch | |
C#: source.cs | |
C++: source.c++ | |
Clojure: source.clojure | |
CSS: source.css | |
D: source.d | |
Diff: source.diff |
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
Case: Fractal Design Node 202 + 450w integra psu = 7,720 | |
GPU: Zotac GTX 1060 Mini 6gb = 12,300 (9,000 2nd hand) | |
CPU: Intel Core i5 7500 = 10,000 | |
Motherboard: Gigabyte H270N = 7,340 | |
RAM: HyperX Fury 2133mhz 2x8gb = 6,740 | |
SSD: Samsung 850 Evo 512gb = 8,370 | |
Fan: Cryorig C7 = 1,570 | |
Total: 54,040 | |
Usage: |
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
I use the first | |
—– BEGIN LICENSE —– | |
Michael Barnes | |
Single User License | |
EA7E-821385 | |
8A353C41 872A0D5C DF9B2950 AFF6F667 | |
C458EA6D 8EA3C286 98D1D650 131A97AB | |
AA919AEC EF20E143 B361B1E7 4C8B7F04 |
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
require 'rails_helper' | |
module Transformation::MultiFamily | |
describe TransformApartmentComplex, '.execute' do | |
it "puts an apartment_complex_transformer in the context" do | |
location_urn = { 'my-location-urn' } | |
etl_config = create_multi_family_etl_config | |
apartment_complex_transformer = double(ApartmentComplexTransformer) | |
ctx = create_default_ctx_hash(etl_config) |
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 Robot | |
NAME_LETTERS = ("A".."Z").to_a | |
NAME_NUMBERS = (100..999).to_a | |
attr_accessor :name | |
def initialize | |
reset | |
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
{ | |
"data": [ | |
{ | |
"id": "2", | |
"type": "group-events", | |
"links": { | |
"self": "http://localhost:3000/api/group-events/2" | |
}, | |
"attributes": { | |
"name": "Summer event", |
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
require 'rails_helper' | |
RSpec.describe UsersController, type: :controller do | |
describe 'GET #index' do | |
it "populates an array of all users" do | |
christa = FactoryGirl.create(:user, name: "Christa") | |
jayne = FactoryGirl.create(:user, name: "Jayne") | |
get "index", nil, { 'Content-Type' => 'application/vnd.api+json' } |
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
[Tue Mar 01 21:13:21.562121 2016] [suexec:notice] [pid 10231] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) | |
[Tue Mar 01 21:13:21.580131 2016] [so:warn] [pid 10231] AH01574: module ruid2_module is already loaded, skipping | |
[Tue Mar 01 21:13:21.582695 2016] [auth_digest:notice] [pid 10231] AH01757: generating secret for digest authentication ... | |
[Tue Mar 01 21:13:21.584844 2016] [:notice] [pid 10231] mod_ruid2/0.9.8 enabled | |
[Tue Mar 01 21:13:21.613079 2016] [mpm_prefork:notice] [pid 10231] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.16 configured -- resuming normal operations | |
[Tue Mar 01 21:13:21.613111 2016] [core:notice] [pid 10231] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' | |
[Tue Mar 01 21:13:25.036787 2016] [mpm_prefork:notice] [pid 10231] AH00171: Graceful restart requested, doing restart | |
[Tue Mar 01 21:13:25.127153 2016] [so:warn] [pid 10231] AH01574: module ruid2_module is already loaded, skipping | |
[Tue Mar 01 21:13:25.130232 2016] [auth_digest:noti |
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
ActiveRecord::Schema.define(version: 20160229132308) do | |
# These are extensions that must be enabled in order to support this database | |
enable_extension "plpgsql" | |
create_table "users", force: :cascade do |t| | |
t.string "email", default: "", null: false | |
t.string "encrypted_password", default: "", null: false | |
t.string "reset_password_token" | |
t.datetime "reset_password_sent_at" |
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
# Use this hook to configure devise mailer, warden hooks and so forth. | |
# Many of these configuration options can be set straight in your model. | |
Devise.setup do |config| | |
# The secret key used by Devise. Devise uses this key to generate | |
# random tokens. Changing this key will render invalid all existing | |
# confirmation, reset password and unlock tokens in the database. | |
# Devise will use the `secret_key_base` on Rails 4+ applications as its `secret_key` | |
# by default. You can change it below and use your own secret key. | |
# config.secret_key = 'e44305eb520e921351e80da67a0a64529e246bd2190955be57811a05da7faf90a36c7c48932bb54ab061f52ec7a95abcd04dffbe7f4720d9296077a671439978' |