Skip to content

Instantly share code, notes, and snippets.

View rundel's full-sized avatar

Colin Rundel rundel

View GitHub Profile
@rundel
rundel / test.R
Created February 23, 2024 15:34
Testing 1 2 3 ...
print('hello world')
import asyncio
import tornado.web
class MainHandler(tornado.web.RequestHandler):
def get(self):
self.write("Hello, world")
def make_app():
return tornado.web.Application([
class Quarto < Formula
desc "Scientific and technical publishing system built on Pandoc"
homepage "https://www.quarto.org/"
version "0.9.504"
url "https://github.com/quarto-dev/quarto-cli/releases/download/v#{version}/quarto-#{version}-macos.tar.gz"
sha256 "1f219c7d82d10d561bbab573ebe8f2990a26d37817bb990a04fe9fa48c843244"
license "GPL-2.0-or-later"
def install
prefix.install Dir["*"]
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: gdal_test [17990]
Path: /Users/USER/*/gdal_test
Identifier: gdal_test
Version: ???
Code Type: ARM-64 (Native)
Parent Process: Exited process [17986]
@rundel
rundel / test.R
Created October 7, 2021 17:08
Testing 1,2,3,...
print('hello world')
@rundel
rundel / test.R
Created October 7, 2021 14:36
Testing 1 2 3 ...
print('hello world')
#!/bin/bash
tftpdir="/var/lib/tftpboot/default/"
vmlinuz="$tftpdir/fedora/27/x86_64/vmlinuz"
initrd="$tftpdir/fedora/27/x86_64/initrd.img"
sudo /usr/bin/scp cr173@foreman.stat.duke.edu:$vmlinuz /mnt/boot/ks_vmlinuz
sudo /usr/bin/scp cr173@foreman.stat.duke.edu:$initrd /mnt/boot/ks_initrd.img
@rundel
rundel / gist:c7d31b0dc8bd63193058af3a82719cbb
Created March 21, 2018 17:31
valgrind output using proj 5.0.0 with gdal 1.11.5
$ valgrind ogr2ogr -t_srs EPSG:4326 proj2.shp proj.shp
==79476== Memcheck, a memory error detector
==79476== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==79476== Using Valgrind-3.14.0.GIT and LibVEX; rerun with -h for copyright info
==79476== Command: ogr2ogr -t_srs EPSG:4326 proj2.shp proj.shp
==79476==
--79476-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option
--79476-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 2 times)
--79476-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 4 times)
--79476-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 8 times)
MULTIPOLYGON (((-76.5442733764648 34.5878295898438, -76.5551452636719 34.6106605529785, -76.5377502441406 34.6139221191406, -76.4844818115234 34.6976318359375, -76.4322967529297 34.760684967041, -76.3746795654297 34.8128700256348, -76.2877044677734 34.877010345459, -76.4692611694336 34.6932830810547, -76.5442733764648 34.5878295898438)), ((-76.0170059204102 35.0694351196289, -75.9756927490234 35.1161842346191, -75.8539352416992 35.1672821044922, -75.7637023925781 35.1922836303711, -75.8115386962891 35.1640205383301, -75.9039459228516 35.1324920654297, -76.0028762817383 35.0694351196289, -76.0170059204102 35.0694351196289)), ((-76.0271682739258 36.5567169189453, -75.998664855957 36.5566520690918, -75.9119186401367 36.5425300598145, -75.9248046875 36.4739761352539, -75.9772796630859 36.4780158996582, -75.9762878417969 36.5179252624512, -76.0271682739258 36.5567169189453)), ((-75.4912185668945 35.6704978942871, -75.5336227416992 35.768856048584, -75.4569778442383 35.6173973083496, -75.5262985229492 35.2279167175
@rundel
rundel / libspatialite.patch
Created November 13, 2017 01:35
Patch for libspatialite to support lwgeom >= 2.2
diff --git a/src/gaiageo/gg_lwgeom.c b/src/gaiageo/gg_lwgeom.c
index 0ae8e71..328a5bc 100644
--- a/src/gaiageo/gg_lwgeom.c
+++ b/src/gaiageo/gg_lwgeom.c
@@ -90,29 +90,29 @@ splite_lwgeom_version (void)
static void
lwgaia_noticereporter (const char *fmt, va_list ap)
{
- char *msg;
- if (!lw_vasprintf (&msg, fmt, ap))