create a folder on your hard drive labeled "Dropbox-personal" (or whatever name you want) in your home folder.
then run HOME=$HOME/Dropbox-personal /Applications/Dropbox.app/Contents/MacOS/Dropbox &
in your terminal
create a folder on your hard drive labeled "Dropbox-personal" (or whatever name you want) in your home folder.
then run HOME=$HOME/Dropbox-personal /Applications/Dropbox.app/Contents/MacOS/Dropbox &
in your terminal
var App = angular.module('app', ['ui.bootstrap', 'angularFileUpload'], function ($httpProvider) { | |
// Use x-www-form-urlencoded Content-Type | |
$httpProvider.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=utf-8'; | |
/** | |
* The workhorse; converts an object to x-www-form-urlencoded serialization. | |
* @param {Object} obj | |
* @return {String} | |
*/ | |
var param = function (obj) { |
module.exports = function windowOnLoad(func) { | |
// pass the function you want to call at 'window.onload', in the function defined above | |
// assign any pre-defined functions on 'window.onload' to a variable | |
var oldOnLoad = window.onload; | |
// if there is not any function hooked to it | |
if (typeof window.onload != 'function') { | |
// you can hook your function with it | |
window.onload = func | |
} else { // someone already hooked a function | |
window.onload = function () { |
require_once 'post-types/event.php'; | |
// WP Menu Categories | |
add_action( 'init', 'build_taxonomies', 0 ); | |
function build_taxonomies() { | |
register_taxonomy( 'category', 'event', array( | |
'hierarchical' => true, | |
'label' => 'Categorieën', | |
'query_var' => true, |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |