Skip to content

Instantly share code, notes, and snippets.

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

Kyle Adams kadams54

🏠
Working from home
View GitHub Profile
@kadams54
kadams54 / gist:2467822
Created April 23, 2012 00:40
Run UpcomingJS
<script type="text/javascript">
upcomingjs.Events.init("...");
</script>
@kadams54
kadams54 / gist:916b10945a88fe3b9079
Last active August 29, 2015 14:17
Testing with Switchboard
from switchboard.testutils import switches
@switches(my_switch=True)
def test_foo_switch_active():
# Call some code which checks operator.is_active('my_switch').
# Switch will be active.
foo()
# Assertions.
@switches(my_switch=False)

BarCamp is a technology & design unconference where the attendees determine what's on the schedule. These ad-hoc conferences are intense events with discussions, demos, and a lively hallway track and attract some of Grand Rapids' best and brightest. Sponsors have their brand associated with one of Grand Rapids' most unique events and have access to an engaged, enthusiastic audience. Attendees know that these companies are as forward-thinking and tech-savvy as they are.

^[a-z](?:[-a-z0-9\+\.])*:(?:\/\/(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\._~!\$&'\(\)\*\+,;=:\xA0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB44-\uDB7E][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F][\uDC00-\uDFFD])*@)?(?:\[(?:(?:(?:[0-9a-f]{1,4}:){6}(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3})|::(?:[0-9a-f]{1,4}:){5}(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3})|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\.(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3})|(?:[0-9a-f]{1,4}:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}(?:[0
views/bundle-import-notifications.js
views/ghost-deployer-extension.js
views/utils.js
views/topology/service.js
views/topology/relation.js
utils/environment-change-set.js
utils/bundle-importer.js
extensions/autodeploy-extension.js
@kadams54
kadams54 / keybase.md
Created October 30, 2017 15:50
keybase.md

Keybase proof

I hereby claim:

  • I am kadams54 on github.
  • I am kadams54 (https://keybase.io/kadams54) on keybase.
  • I have a public key ASCN5vuWTrjmhRXT2voEkvEt2ihQ1S_3oxh_0kjkDw-c9Qo

To claim this, I am signing this object:

@kadams54
kadams54 / ngrok.yml
Created November 6, 2017 16:49
.ngrok2/ngrok.yml
tunnels:
rails:
proto: http
addr: 3000
webpack:
proto: http
addr: 8080
host_header: localhost:8080
@kadams54
kadams54 / generator_config.txt
Created November 14, 2018 15:09
Configuration file for FontSquirrel's Web Font Generator to kick out Raleway normal/bold with lining numeric subset.
# Font Squirrel Font-face Generator Configuration File
# Upload this file to the generator to recreate the settings
# you used to create these fonts.
{"mode":"expert","formats":["woff2"],"tt_instructor":"default","fix_gasp":"xy","fix_vertical_metrics":"Y","metrics_ascent":"","metrics_descent":"","metrics_linegap":"","add_spaces":"Y","add_hyphens":"Y","fallback":"none","fallback_custom":"100","options_subset":"basic","subset_custom":"","subset_custom_range":"","subset_ot_features_list":"","ot_features":["lnum","tnum"],"css_stylesheet":"stylesheet.css","filename_suffix":"-webfont","emsquare":"2048","spacing_adjustment":"0"}
@kadams54
kadams54 / 0 - README.md
Last active August 5, 2020 21:37
StandardJS (ESLint + Pretter) config for Cypress projects

Style

This setup adheres to JavaScript Standard Style; unfortunately due to conflict between standard's ruleset and Chai assertions, we have to acheive this by using eslint directly + the Standard rules. Since we can't use standard directly, we also throw in Prettier for code formatting. Specifically, we use prettier-standard to keep all of the pieces working together nicely. What's that mean for you? Well, here's the scoop on setting up a few editors for linting/formatting fun.

Vim

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.