Skip to content

Instantly share code, notes, and snippets.

var async = require('async'); //Dat speed
exports.loadAudioDefault = function(req, res)
{
//This route returns a json object with an array of all the MongoDB documents
//returned by the query. These documents are audio files.
this.db.collection('audio', function(err, collection)
{
var audio = {
'audio':[],
'settings':{
<!doctype html>
<head>
<link href="css/bootstrap.css" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript" id="jquery"></script>
</head>
<html>
<title>localchat</title>
<body>
<h1>Sorry, we don't have much stuff yet!</h1>
<!---
@elbuo8
elbuo8 / README.md
Last active May 17, 2024 09:20 — forked from jon-whit/README.md

Setup

  1. Start a Postgres instance, for example
docker run -p 5432:5432 -e POSTGRES_PASSWORD=password -d postgres
  1. Open a psql client shell
psql -h localhost -p 5432  -U postgres -d postgres
Password for user postgres: <enter password>