I hereby claim:
- I am dugancathal on github.
- I am dugancathal (https://keybase.io/dugancathal) on keybase.
- I have a public key ASAzrmeBA3XXm7CtqTLeQ-mMIb3jDQ35xCKCrFqpNGFSQgo
To claim this, I am signing this object:
| require 'bundler/inline' | |
| gemfile(true) do | |
| source 'https://rubygems.org' | |
| gem 'rack', '~> 1.6' | |
| gem 'api_sim' | |
| end | |
| require 'api_sim' | |
| require 'json' |
| module CapybaraJsDriverSetup | |
| module_function | |
| def is_running_on_windows_subsystem_for_linux? | |
| if which('cmd.exe') | |
| os_version = `cmd.exe /c "systeminfo" | grep "^OS Version"` | |
| !os_version.chomp.empty? | |
| end | |
| end | |
| def create_wsl_driver |
| CREATE TABLE people | |
| ( | |
| id INTEGER AUTO_INCREMENT PRIMARY KEY, | |
| first_name VARCHAR(255), | |
| last_name VARCHAR(255), | |
| age INTEGER, | |
| email VARCHAR(255) | |
| ); | |
| CREATE TABLE pets |
| #!/usr/bin/env bash | |
| CREATE_REPO_LOG_PATH=/tmp/create-repo.log | |
| GITHUB_API=https://api.github.com | |
| HEADERS=(-H 'Content-Type: application/json') | |
| username="${2:-"dugancathal"}" | |
| token="${3:-"$(cat ~/.github-token)"}" | |
| if [[ "${1}" == "" ]]; then |
| const results = TJSpec.describe('A Suite', (it) => { | |
| it('passes with no exceptions', () => { | |
| }); | |
| it('throws an exception when an exception fails', (assert) => { | |
| try { | |
| assert.true(false, 'should fail'); | |
| } catch (e) { | |
| return assert.true(true); |
| export const createHost = (childComp, props, moduleMerge: NgModule = {}) => { | |
| @Directive({ | |
| selector: '[test-anchor]' | |
| }) | |
| class TestAnchor { | |
| constructor(public viewRef: ViewContainerRef) { | |
| } | |
| } | |
| @Component({ |
| #!/usr/bin/env ruby | |
| require 'net/http' | |
| require 'optparse' | |
| require 'json' | |
| opts = {} | |
| parser = OptionParser.new do |opt| | |
| opt.on('-p PROJECTS', '--projects=PROJECTS', Array) do |projects| | |
| opts[:projects] = projects |
| package main | |
| import ( | |
| "encoding/json" | |
| "log" | |
| "net/http" | |
| ) | |
| // hashtag framework | |
| type injectionContainer interface { |
I hereby claim:
To claim this, I am signing this object:
| // Karma configuration | |
| // Generated on Wed Nov 30 2016 09:30:14 GMT-0700 (MST) | |
| var webpackConfig = require('./webpack.config.js'); | |
| module.exports = function (config) { | |
| config.set({ | |
| // base path that will be used to resolve all patterns (eg. files, exclude) | |
| basePath: '', |