Skip to content

Instantly share code, notes, and snippets.

tuffs / todos-goals.html
Last active Aug 19, 2018
React + Redux
View todos-goals.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<script src=""></script>
<script src=''></script>
<script src=''></script>
<script src=''></script>
<script type="text/javascript" src=""></script>
tuffs / sublime_text_3_settings.json
Last active Jun 14, 2018
DKS Sublime Text 3 Mac OS X Settings File
View sublime_text_3_settings.json
"auto_complete_with_fields": true,
"bold_folder_labels": true,
"caret_extra_width": 10,
"caret_style": "phase",
"color_scheme": "Packages/Color Scheme - Chromodynamics/Chromodynamics.tmTheme",
"font_face": "Monaco",
"font_size": 18,
"highlight_line": true,
tuffs / spec_helper.rb
Created Jun 3, 2018
RSpec with Capybara spec_helper.rb
View spec_helper.rb
RSpec.configure do |config|
config.expect_with :rspec do |expectations|
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
config.mock_with :rspec do |mocks|
mocks.verify_partial_doubles = true
config.shared_context_metadata_behavior = :apply_to_host_groups
tuffs / rails_helper.rb
Created Jun 3, 2018
RSpec with Capybara rails_helper.rb
View rails_helper.rb
ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
abort("The Rails environment is running in production mode!") if Rails.env.production?
require 'spec_helper'
require 'rspec/rails'
require 'capybara/rails'
# include Warden::Test::Helpers
tuffs / bootstrap-tabs.html
Created Mar 9, 2016 — forked from mnewt/bootstrap-tabs.html
bootstrap tabs example
View bootstrap-tabs.html
<!DOCTYPE html>
<html lang="en">
<!-- Le styles -->
<link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
<script type="text/javascript" src=""></script>