Skip to content

Instantly share code, notes, and snippets.

View JacobDB's full-sized avatar

Jacob Bearce JacobDB

View GitHub Profile
// config/db.js
module.exports = {
url : 'mongodb://localhost/acquisition'
}
@JacobDB
JacobDB / wkqx.php
Created March 15, 2016 19:26
Web scraper to convert TuneGenie in to RSS
<?php
$url = "http://wkqx.tunegenie.com/";
$title = "WKQX RSS Feed";
$description = "A constantly updated feed for WKQX's playlist";
$userAgent = "Googlebot/2.1 (http://www.googlebot.com/bot.html)";
header("Content-type: text/xml; charset=utf-8", true);
echo "<?xml version='1.0' encoding='UTF-8' ?>" . PHP_EOL;
echo "<rss version='2.0'>" . PHP_EOL;
@JacobDB
JacobDB / ftp.json
Last active October 2, 2017 14:45
ftp.json for use with my new-site and new-site-static repositories.
{
"dev": {
"host": "",
"user": "",
"pass": "",
"path": ""
},
"dist": {
"host": "",
"user": "",