I hereby claim:
- I am sjungling on github.
- I am sjungling (https://keybase.io/sjungling) on keybase.
- I have a public key whose fingerprint is 4869 FACA 1145 A6F1 289C 5640 7855 04CC E3CC 889C
To claim this, I am signing this object:
#!/usr/bin/env bash | |
gh api graphql --paginate=true \ | |
-f query='query ( | |
$numOrgs: Int = 100 | |
$numRepos: Int = 100 | |
$endCursor: String | |
) { | |
viewer { | |
organizations(first: $numOrgs) { |
#!/bin/sh | |
# CONSTANT(S) | |
BRANCH_PATTERN="^# On branch ([^${IFS}]*)" | |
# Get status w/current branch | |
git_status=$(git status 2> /dev/null) | |
# Get current branch name | |
if [[ ${git_status} =~ ${BRANCH_PATTERN} ]]; then | |
branch_name=${BASH_REMATCH[1]} |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "pwa-node", | |
"name": "Attach By Process", | |
"processId": "${command:PickProcess}", | |
"request": "attach", | |
"skipFiles": [ | |
"<node_internals>/**", |
#!/bin/sh | |
RED=$(tput setaf 1) | |
GREEN=$(tput setaf 2) | |
NORMAL=$(tput sgr0) | |
function check_master() { | |
printf "Checking to see if this is the master branch… " | |
# CONSTANT(S) | |
BRANCH_PATTERN="^# On branch ([^${IFS}]*)" | |
# Get status w/current branch |
/** | |
* GitHubber | |
* | |
* Author: scott.jungling@build.com | |
* Date: 2013-03-14 | |
*/ | |
def preferences() { | |
[ | |
sections: [ |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# | |
# Prepend the branch name to the commit message | |
# | |
# Add this file as [repo]/.git/hooks/prepare-commit-msg | |
# | |
# A couple notes: | |
# 1. The file must be executable (chmod +x prepare-commit-msg) | |
# 2. This works on a per-repo basis | |
/** | |
* Backbone View Organization | |
* | |
* 1. View options (events, tagName, el, etc.) | |
* 2. Initializer | |
* a. Should call private functions to do setup for listeners, etc. | |
* 3. Public Methods | |
* 4. Private Methods | |
* a. Shall begin with an underscore (_) prefix. | |
* |
var getFacetUniqueId = function getFacetUniqueId(facet) { | |
var facetComponents; | |
if (typeof facet === 'string') { | |
facetComponents = facet.split('='); | |
} | |
if (_.isObject(facet)) { | |
if (_.has(facet, 'name') && _.has(facet, 'value')) { | |
facetComponents = [facet.name, facet.value]; |
casper = require('casper').create() | |
casper.test.begin "Check for dataLayer on product page", 1, (test) -> | |
casper.start 'http://local.build.com/k-690/p173354', -> | |
test.assertEval -> | |
typeof window.dataLayer.productId != "undefined" | |
, 'Does dataLayer.productId exist?' | |
test.assertEvalEquals -> | |
window.dataLayer.productId | |
, "K-690", 'Is the value of dataLayer.productId "K-690"?' |