Skip to content

Instantly share code, notes, and snippets.

View davidkaufman's full-sized avatar

David Kaufman davidkaufman

View GitHub Profile
@davidkaufman
davidkaufman / plenv-venv
Created May 29, 2024 21:17 — forked from indraniel/plenv-venv
a "virtualenv"-like solution for perl / plenv
#!/usr/bin/env perl
# prior art:
# https://bitbucket.org/jtopjian/penv/src/20bcd9049c95/penv.pl
# https://github.com/stoned/pll/blob/master/pll
use strict;
use warnings;
use Config;
@davidkaufman
davidkaufman / HOWTODMG.md
Created May 29, 2024 21:16 — forked from jadeatucker/HOWTODMG.md
How to create a "DMG Installer" for Mac OS X

Creating a "DMG installer" for OS X

A DMG Installer is convenient way to provide end-users a simple way to install an application bundle. They are basically a folder with a shortcut to the Applications directory but they can be customized with icons, backgrounds, and layout properties. A DMG file (.dmg) is a Mac OS X Disk Image file and it is used to package files or folders providing compression, encryption, and read-only to the package.

##Creating the DMG file #Disk Utility

@davidkaufman
davidkaufman / convert_mysql_to_sqlite3.sh
Created May 29, 2024 21:14 — forked from grfiv/convert_mysql_to_sqlite3.sh
convert a mysql database to sqlite3
#!/bin/bash
#
# convert a mysql database to sqlite3
#
#see https://stackoverflow.com/questions/5164033/
# export-a-mysql-database-to-sqlite-database
mysql_host=localhost
mysql_user=george
#mysql_passwd=****************
@davidkaufman
davidkaufman / 2023-data.json
Created April 10, 2023 03:37
School Shooting Data
[
{
"date": "2023-04-09T00:00:00.000Z",
"killed": "2",
"wounded": "3",
"city": "Orlando",
"state": "FL",
"names": ["Gunman unknown"],
"sources": [
"https://www.wesh.com/article/orlando-shooting-lescot-lane/43548486",
Verifying my Blockstack ID is secured with the address 1DeWbmw88umqoCyv4qgdL1yx79SdV8Mncy https://explorer.blockstack.org/address/1DeWbmw88umqoCyv4qgdL1yx79SdV8Mncy