Skip to content

Instantly share code, notes, and snippets.

View micheledallatorre's full-sized avatar

[.::MDT::.] micheledallatorre

View GitHub Profile
@micheledallatorre
micheledallatorre / sitemap.conf
Last active December 18, 2017 14:11 — forked from ringods/sitemap.conf
Delicious Bookmark Scraping
{
"_id": "delicious",
"selectors": [
{
"delay": "",
"id": "per_page_bookmarks_enumeration",
"multiple": false,
"parentSelectors": [
"_root"
],
@micheledallatorre
micheledallatorre / gist:ed541f8986732f2ad97be215f0e806f5
Last active March 22, 2017 09:22 — forked from CristinaSolana/gist:1885435
Keeping a fork up to date - how to fix "errors" like "Your branch is 2 commits behind master"

1. Clone your fork into its YOUR-FORKED-REPO folder:

git clone https://github.com/YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream https://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
<html>
<head>
<title>API Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script type="text/javascript">
var accessToken = "<your agent's client access token>";
var baseUrl = "https://api.api.ai/v1/";