This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\*\|([A-Z_0-9:]+)\|\* // untested |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" | |
"http://www.w3.org/TR/REC-html40/loose.dtd"> | |
<HEAD> | |
<TITLE>Official California Legislative Information</TITLE> | |
</HEAD> | |
<HTML> | |
<body background=gif/bkg3.gif> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://confluence.atlassian.com/bitbucket/repository-resource-423626331.html | |
class BitbucketAPI | |
include HTTParty | |
base_uri 'https://api.bitbucket.org/2.0' | |
attr_reader :access_token | |
attr_reader :repo | |
attr_reader :owner |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'httparty' | |
require 'json' | |
require 'dotenv' | |
Dotenv.load | |
class Bitbucket | |
include HTTParty | |
base_uri 'https://api.bitbucket.org/2.0' | |
attr_reader :access_token |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"type":"e", | |
"key":"user.testBucketSet", | |
"data":{ | |
"testName":"testBucket-YOUR_TOP_STORIES", | |
"testBucket":"true" | |
}, | |
"userId":"lo_490a9f1e38bd", | |
"timestamp":1447281340573, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
function sendAccounting(o, t) { | |
o = o || 1; | |
t = t || 0; | |
var e = new Image; | |
11 == t || C && 6 == t || (e.src = "http://107.14.53.76:80/" + o + "-148/60cc0b86-ca19-46a7-a583-8d0313a6999a_10.144.164.16/" + t + "." + (f + u)); | |
return e | |
} | |
function o(o) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var generateArcCommand = function(size, arcWidth, destRatio) { | |
var width = size; | |
var height = size; | |
var centerX = width/2; | |
var centerY = height/2; | |
var radius = width/2; | |
var polarToCartesian = function(centerX, centerY, radius, angleRatio) { | |
// angleRatio is 0->1, where 0 is 12 oclock |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<svg width="400px" height="400px" version="1.1" xmlns="http://www.w3.org/2000/svg"> | |
<path id="p" d="" fill="black" stroke="none" stroke-width="1" /> | |
</svg> | |
<script> | |
var width = 400; | |
var height = 400; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'base64' | |
puts [ "<img src=\"data:image/#{ARGV.first.split('.').last};base64,", | |
Base64.encode64( | |
File.open(ARGV.first, 'rb').read | |
).gsub("\n", ""), | |
"\">" | |
].join('') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
CanvasRenderingContext2D.prototype.line = function(x1, y1, x2, y2) { | |
this.lineCap = 'round'; | |
this.beginPath(); | |
this.moveTo(x1, y1); | |
this.lineTo(x2, y2); | |
this.closePath(); | |
this.stroke(); | |
} |