This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// api reference: http://docs.brightcove.com/en/media/ | |
// object reference: http://support.brightcove.com/en/docs/media-api-objects-reference | |
// test token taken from brightcove example: 0Z2dtxTdJAxtbZ-d0U7Bhio2V1Rhr5Iafl5FFtDPY8E. | |
// | |
// service: http://api.brightcove.com/services | |
var events = require('events'), | |
util = require('util'), | |
http = require('http'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.get('/savedTracks', function (req, res) { | |
var savedTracks = []; | |
// get users | |
User.find().limit(10).exec(function(err, users) { | |
var numberOfAsyncRequests = users.length; | |
// for each user, get their saved tracks and add to the array of savedTracks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/leaflet/1.0.0-rc.2/leaflet.css" /> | |
<script src="https://cdn.jsdelivr.net/leaflet/1.0.0-rc.2/leaflet.js"></script> | |
<script src="https://cdn.jsdelivr.net/leaflet.esri/2.0.2/esri-leaflet.js"></script> | |
<style> | |
html, body, #map { | |
margin:0; padding:0; width : 100%; height : 100%; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="http://openlayers.org/en/v3.17.1/css/ol.css" type="text/css"> | |
<script src="http://openlayers.org/en/v3.17.1/build/ol.js"></script> | |
<script src="http://cdn-geoweb.s3.amazonaws.com/terraformer/1.0.4/terraformer.min.js"></script> | |
<script src="http://cdn-geoweb.s3.amazonaws.com/terraformer-arcgis-parser/1.0.4/terraformer-arcgis-parser.min.js"></script> | |
<style> | |
html, body, #map { | |
margin:0; padding:0; width : 100%; height : 100%; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns nofun.spec.core | |
(:gen-class) | |
(:require [clojure.spec :as s] | |
[clojure.spec.gen :as gen] | |
[com.gfredericks.test.chuck.generators :as gen'] | |
[camel-snake-kebab.core :refer :all] | |
[camel-snake-kebab.extras :refer [transform-keys]])) | |
;; require the namespace | |
(require '[clojure.spec :as s]) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<csw:Transaction | |
version="2.0.2" | |
service="CSW" | |
xmlns:csw="http://www.opengis.net/cat/csw/2.0.2"> | |
<csw:Insert typeName="csw:Record"> | |
<csw:Record | |
xmlns:ows="http://www.opengis.net/ows" | |
xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" | |
xmlns:dc="http://purl.org/dc/elements/1.1/" |
OlderNewer