Skip to content

Instantly share code, notes, and snippets.

View daniyalzade's full-sized avatar

Eytan Daniyalzade daniyalzade

View GitHub Profile
@patpohler
patpohler / Big List of Real Estate APIs.md
Last active July 23, 2024 16:24
Evolving list of Real Estate APIs by Category

Big List of Real Estate APIs

Listings / Property Data

####Rets Rabbit http://www.retsrabbit.com

Rets Rabbit removes the nightmare of importing thousands of real estate listings and photos from RETS or ListHub and gives you an easy to use import and Web API server so you can focus on building your listing search powered website or app.

@piscisaureus
piscisaureus / pr.md
Created August 13, 2012 16:12
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = git@github.com:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

function getDotted(data, field, def, delimeter) {
delimeter = delimeter || '.';
if (field.indexOf(delimeter) < 0) {
return data[field] || def;
}
var components = field.split(delimeter);
components = components.reverse();
while (!!components.length && (typeof(data) == 'object')) {
data = data[components.pop()]
}