All URLs prefixed with /v1
Retrieve all tracks.
{
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var webserver = require('gulp-webserver'); | |
var livereload = require('gulp-livereload'); | |
var autoprefixer = require('gulp-autoprefixer'); | |
var del = require('del'); | |
gulp.task('clean', function (cb) { | |
del(['dist/**'], cb); | |
}); |
{ | |
"atomic_save": false, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/User/Bittersweet (SL).tmTheme", | |
"ensure_newline_at_eof_on_save": true, | |
"fade_fold_buttons": false, | |
"file_exclude_patterns": | |
[ | |
"*.map", | |
"*.pyc", |
#!/bin/bash | |
# Encode a WAV to a finalized podcast MP3 with metadata, in the current directory | |
# Requires lame | |
# With Homebrew on Mac OS X: brew install lame | |
SHOW_AUTHOR="ATP" | |
EPISODE_NUMBER=104 | |
EPISODE_TITLE="Minutiæ" |
#!/bin/bash | |
# This line required to prevent trying to convert a file named "*" | |
# if the directory passed in as the parameter is empty | |
shopt -s nullglob | |
for f in $* | |
do | |
echo "Converting $f" | |
cafFileName=$(echo $f | sed -e 's/wav/caf/g') | |
afconvert -d LEI16 -f 'caff' "$f" "$cafFileName" |
- name: ensure github.com is a known host | |
lineinfile: | |
dest: /home/vagrant/.ssh/known_hosts | |
create: yes | |
state: present | |
line: "{{ lookup('pipe', 'ssh-keyscan -t rsa github.com') }}" | |
regexp: "^github\\.com" |
import React from "react"; | |
import ReactTestUtils from "react-addons-test-utils"; | |
const { renderIntoDocument, scryRenderedDOMComponentsWithTag } = ReactTestUtils; | |
import { expect } from "chai"; | |
const Test = React.createClass({ | |
render() { | |
return ( | |
<div> | |
<span>Foo</span> |
$(function() { | |
$("#axios").on("click", function() { | |
axios.post("http://wordpress.dev/wp-json/wp/v2/movie", { | |
title: $("#title").val(), | |
status: "publish" | |
}, { | |
headers: { | |
"Authorization": "Basic YWRtaW46YWRtaW4=" | |
} | |
}).then(function(res) { |
[ | |
{ "key": "cmd+shift+d", "command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus" }, | |
{ "key": "cmd+alt+w", "command": "editor.action.toggleWordWrap", | |
"when": "editorTextFocus" }, | |
{ "key": "cmd+shift-c", "command": "editor.action.commentLine", | |
"when": "editorTextFocus" }, | |
{ "key": "shift+ctrl+down", "command": "cursorColumnSelectDown", | |
"when": "editorTextFocus" }, | |
{ "key": "shift+ctrl+up", "command": "cursorColumnSelectUp", |
FROM wordpress | |
MAINTAINER Antti Mattila <[email protected]> | |
COPY ./wp-content /var/www/html/wp-content |