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 bash | |
# ssh into a running Virtual Box guest machine | |
if [[ $# == 0 || $1 == -h || $1 == -? || $1 == --help ]] ; then | |
echo | |
echo usage: $(basename $0) '[<username>@]<machinename>' | |
echo | |
echo 'ssh into Virtual Box <machinename>, optionlly using <username>' | |
exit 1 |
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
$(function(){ | |
var api_key = 'your api key'; | |
function get_data() { | |
$.jsonp({ | |
"callbackParameter": 'callback', | |
"url": "http://api.trove.nla.gov.au/result?q= &zone=book,article,collection,picture,map,music&facet=format&n=0&encoding=json&key=" + api_key, | |
"timeout": 20000, | |
"success": function(results) { | |
process_results(results); |