# This example does an AJAX lookup and is in CoffeeScript
$('.typeahead').typeahead(
# source can be a function
source: (typeahead, query) ->
# this function receives the typeahead object and the query string
This file contains 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
This playbook has been removed as it is now very outdated. |
- create a bookmark with a URL:
javascript:Array.from(document.getElementsByClassName("link-gray")).filter(x=>x.getAttribute('title')!=null).reduce((c,i)=>c+'* '+i.getAttribute('title').replace(/[\n\r]+/g," - ")+'<br>',"");
- view the project's
releases
page - under the most recent release find the link that looks like
N commits to master since this release
and follow the link (noting the current version number for later) - run the bookmark from the bookmark menu
- copy the MD text on the screen
- "draft a new release" and paste the MD text into the release description
This file contains 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
import groovy.json.JsonSlurper | |
dataSource { | |
// most properties are directly set | |
pooled = true | |
// ... | |
// the url is retrieved from etcd...make sure the etcd resource is properly protected | |
def jsonSlurper = new JsonSlurper() | |
def catalogUrlConfig = jsonSlurper.parseText(new URL("http://etcdlocation:2379/v2/keys/dataSource/url").text) |
This file contains 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
# Defaults / Configuration options for homebridge | |
# The following settings tells homebridge where to find the config.json file and where to persist the data (i.e. pairing and others) | |
HOMEBRIDGE_OPTS=-U /var/lib/homebridge | |
# If you uncomment the following line, homebridge will log more | |
# You can display this via systemd's journalctl: journalctl -f -u homebridge | |
# DEBUG=* |
Related:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.