# 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
Split-Path -parent $dte.Solution.FileName | cd | |
New-Item -ItemType Directory -Force -Path ".\licenses" | |
@( Get-Project -All | | |
? { $_.ProjectName } | | |
% { Get-Package -ProjectName $_.ProjectName } ) | | |
Sort -Unique | | |
% { $pkg = $_ ; Try { (New-Object System.Net.WebClient).DownloadFile($pkg.LicenseUrl, (Join-Path (pwd) 'licenses\') + $pkg.Id + ".html") } Catch [system.exception] { Write-Host "Could not download license for $pkg" } } |
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
#!/bin/bash | |
# This script is used to check and update your GoDaddy DNS server to the IP address of your current internet connection. | |
# Special thanks to mfox for his ps script | |
# https://github.com/markafox/GoDaddy_Powershell_DDNS | |
# and https://se.godaddy.com/community/Managing-Domains/Dynamic-DNS-Updates/td-p/7862 | |
# where i found this script | |
# | |
# First go to GoDaddy developer site to create a developer account and get your key and secret | |
# |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Written on 2012-12-12 by Philipp Klaus <philipp.l.klaus →AT→ web.de>. | |
Check <https://gist.github.com/4271012> for newer versions. | |
Slightly adapted to include other RAW formats and to make the tool work in reverse (i.e. remove JPEGs for which no raw can be found.) The script also cleans Sidecar (.xmp) files if present. | |
Moved to python3 (see | |
""" |
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
#!/bin/bash | |
POSTGRES_USER=guac | |
POSTGRES_PASS=guac | |
POSTGRES_DB=guac | |
# create storage for postgres container | |
NEW_VOLUME=false | |
if [[ "" == $(docker volume ls | grep guac-postgres-volume) ]]; then | |
printf "Creating a new volume for guac-postgres...\n" |
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
version: "2.1" | |
networks: | |
internal_network: | |
services: | |
db: | |
restart: always | |
networks: | |
- internal_network | |
build: ./MongoDB | |
environment: |