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
angular.module('demo', []) | |
.provider('googleMaps', require('./google-maps-service-provider')) | |
.config(['googleMapsProvider', function(googleMapsProvider) { | |
googleMapsProvider.configure({ | |
key: 'your api key', | |
language: 'de', | |
libraries: 'places' | |
}); | |
}]) | |
.controller('MapController', ['googleMaps', function(googleMaps) { |
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
/* | |
An example for NodeJs beginners. | |
If you wonder how nodejs-code looks like when it | |
asynchronously fetches and displays rows from a | |
database, then this is for you. | |
*/ | |
var fs = require('fs'), | |
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
<?php | |
use \stdClass; | |
/* | |
```php | |
<?php | |
use VoidNotNullWorkaroundTrait; |
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
nunjucksEnv.addFilter('debug', function(obj){ | |
return '<pre>'+jsonStringifySafe(obj, ' ')+'</pre>'; | |
}); |
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
(function(global){ | |
var $ = global.$ || global.jQuery; | |
var history = global.history; | |
var VAR_NAME = 'ac-jload'; | |
var loadSpinnerURL = '/loading.gif'; | |
var overlayHtml = '<div style="position:absolute;text-align:center;z-index:99999">'; |
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
<template> | |
<div> | |
Deluge Song Merger | |
<div v-if="state.error"> | |
{{state.error}} | |
</div> | |
<div> |
OlderNewer