Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="utf-8"?>
<markers>
<limited>0</limited>
<marker>
<name>ADMA BioCenters</name>
<category>IQPP Certified</category>
<markertype>/media/com_storelocator/markers/100713214004000000jl_marker2.png</markertype>
<featured>false</featured>
<address>6290 Jimmy Carter Boulevard, Suite 208, Norcross, Georgia 30071</address>

Keybase proof

I hereby claim:

  • I am umbrae on github.
  • I am chrisdary (https://keybase.io/chrisdary) on keybase.
  • I have a public key whose fingerprint is AD0C 9FB9 EFC4 5EAB 5ED0 3E7D 4110 4668 D24F 436F

To claim this, I am signing this object:

CREATE OR REPLACE FUNCTION get_domains_n(lname varchar, lat varchar, lon varchar, gid varchar, radius numeric, filtercol varchar, filterval varchar, excludecol varchar, excludeval varchar)
RETURNS SETOF record AS
$$
DECLARE
lid_new integer;
dmn_number integer := 1;
outr record;
innr record;
r record;
BEGIN
<div class="thing id-t3_aa comment noncollapsed" data-fullname="t3_aa">
<p class="parent">
<a name="4w8"></a>
</p>
<div class="midcol unvoted">
<div class="arrow up login-required" role="button" aria-label="upvote" tabindex="0"></div>
<div class="arrow down login-required" role="button" aria-label="downvote" tabindex="0"></div>
</div>
<div class="entry unvoted">
<p class="tagline">
/**
* HTML5 Placeholder Deprecation JS.
* Automatically support the placeholder attribute in browsers that don't support it.
*
* To emulate webkit, placeHolderActive class should probably contain something like:
* .placeholderActive { color: darkGray; }
*
* Chris Dary - chrisd@arc90.com
* Released under the WTFPL License : http://sam.zoy.org/wtfpl/
**/
readability.article.smoothScrolling = {
reversePageScroll : false, // If they hold shift and hit space, scroll up
/**
* How long it takes to scroll the page, in ms.
**/
scrollSpeed: 500,
/**
* The scrollable element, which changes depending on browser. Initialized via initScrollable.
@umbrae
umbrae / dashCaseToLowerCamelCase.js
Created April 22, 2011 13:24
Convert from Dash Case (some-string-like-this) to lowerCamelCase in Javascript
function dashCaseToLowerCamelCase(dashCaseString) {
return dashCaseString.replace(/-\w/g, function ($0) { return $0.substr(-1).toUpperCase(); });
}
@umbrae
umbrae / cors-xmlhttprequest.js
Created May 4, 2011 17:14
A simple raw CORS XMLHttp Library. Fully untested, but the jist should be there. Has no support for failing cases currently.
/**
* A simple CORS XMLHttp Library. Fully untested, but the jist should be there. Has no support for failing cases currently
*
* Should work in FF4, Webkit, and IE8+
* @param method string - like GET or POST
* @param url string - the URL to attempt to fetch
* @param data Object - a dictionary of parameters to pass if we're POSTing
* @param callback Function - a callback to be returned on success.
**/
@umbrae
umbrae / embed-sample.html
Created June 3, 2011 20:07
Read Now + Read Later + Send to Kindle
<!--
rbdWrapper can take several data- attributes:
1. data-url : to specificy a specific URL to link to (useful for index pages)
2. data-text-color : the text color of "Read". 6 digit hex or "transparent"
3. data-bg-color : the bg color. 6 digit hex or "transparent"
4. data-show-send-to-kindle : 1 or 0, whether to show the "send to kindle" button or not.
5. data-show-read : 1 or 0, whether to show the read buttons or not.
A sample is like:
-->
@umbrae
umbrae / gist:1626720
Created January 17, 2012 14:03
gotime
# Step 1. Put some commented-out entries in your /etc/hosts file for sites you
# want to block while you're working, with a comment/hashtag of gotime, like
# this:
#127.0.0.1 reddit.com #gotime
#127.0.0.1 www.facebook.com #gotime
# Step 2. Add these lines to your shell's rc file:
alias gotime="sudo perl -pi -e 's/#([^\n]+)#gotime/\$1#gotime/g' /etc/hosts"