I hereby claim:
- I am jdarling on github.
- I am jdarling (https://keybase.io/jdarling) on keybase.
- I have a public key ASDiF9SMuey50hYa5JJFN-glB6fZhFMTnGxwiS1aXOVH1Qo
To claim this, I am signing this object:
| const images = Array.from(document.querySelectorAll('img')); | |
| const imageFormat = 'png'; | |
| const imgToDataUrl = (img)=>{ | |
| const canvas = document.createElement('canvas'); | |
| const context = canvas.getContext('2d'); | |
| canvas.height = img.naturalHeight; | |
| canvas.width = img.naturalWidth; | |
| context.drawImage(img, 0, 0); | |
| const dataURL = canvas.toDataURL(`image/${imageFormat}`); |
| #!/usr/bin/env bash | |
| # Works for any Dockerfile, hardcoded service name and docker org these could be pulled from config or environment variables | |
| SERVICE_NAME=SET_SERVICE_NAME | |
| DOCKER_ORG=SET_DOCKER_ORG | |
| PUBLISH=false | |
| VERSION=false |
I hereby claim:
To claim this, I am signing this object:
| { | |
| "$schema": "https://vega.github.io/schema/vega/v5.json", | |
| "width": 240, | |
| "height": 240, | |
| "padding": 5, | |
| "data": [ | |
| { | |
| "name": "table", | |
| "values": [ | |
| { |
| const Async = require('async'); | |
| const test = ` | |
| Symptoms: #This is a comment line | |
| Log into the kube-master switch to sudo and execute kube-master-check.sh script | |
| Pre-checks: | |
| N/A | |
| Resolution: | |
| Log into the kube-master switch to sudo and execute kube-master.sh script |
| // JUST A BLANK CQL FILE | |
| DROP KEYSPACE IF EXISTS kong; |
| #!/bin/bash | |
| VERSION=`node -e "console.log(require('./package.json').version)"` | |
| ORIG_VERSION=$VERSION | |
| MESSAGE="Commit for version v$VERSION" | |
| MAJOR=false | |
| MINOR=false | |
| PATCH=false |
| /*****************************************************************************\ | |
| options | |
| uri: {} - key value paris of data to send in url/get/uri | |
| data: {}||'' - Object or string to be sent as JSON data in the body | |
| for methods that support body data | |
| dataType: '' - Data type that is being sent, by default application/json | |
| is used. If you use anything but json|jsonp|application/json | |
| make sure your data is already encoded properly as a string | |
| Loader.get(uri, options, callback) |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>dc.js - Dimensional Charting Javascript Library</title> | |
| <meta charset="UTF-8"> | |
| <link rel="stylesheet" type="text/css" href="https://dc-js.github.io/dc.js/css/dc.css"/> | |
| <style> | |
| body, html{ | |
| margin: 0; | |
| padding: 0; |
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <style> | |
| .bar:hover { | |
| fill: brown; | |
| } | |
| .axis { | |
| font: 10px sans-serif; |