Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
diff --git a/frmts/arg/argdataset.cpp b/frmts/arg/argdataset.cpp | |
index 5a7e646..c40101a 100644 | |
--- a/frmts/arg/argdataset.cpp | |
+++ b/frmts/arg/argdataset.cpp | |
@@ -55,6 +55,10 @@ static float CPLNaN(void) | |
# endif | |
#endif | |
+#ifndef error_ptr | |
+#define error_ptr(error) ((void*)error) |
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 -e | |
# Usage: | |
# | |
# 1. set $CIRCLE_API_TOKEN | |
# 2. run `./trigger-build <account> <oroject> [<branch>]` | |
# | |
# For https://github.com/iambob/myfirstproject: | |
# | |
# trigger_build iambob myfirstproject |
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 -x | |
_JQ_FILTER='.ds | .dynamic | .["instance-identity"] | .document' | |
_INSTANCE_DATA=/var/run/cloud-init/instance-data.json | |
export _instance_doc=$(jq "$_JQ_FILTER" $_INSTANCE_DATA) | |
for key in $(echo $_instance_doc | jq -r 'keys|.[]'); do | |
value=$(echo $_instance_doc | jq -r .$key) | |
declare -x _AWS_${key^^}=${value} | |
done |
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
$(document).ready(function() { | |
$("#pics iframe").each(function(index) { | |
var ratio = $(this).height() / $(this).width(); | |
var origHeight = $(this).height(); | |
var origWidth = $(this).width(); | |
var self = this; | |
// bind to window with closure that references the | |
// iframe since the iframe doesn't get resize events | |
// until (you know) we resize it. | |
$(window).resize(function() { |
OlderNewer