Skip to content

Instantly share code, notes, and snippets.

View tyrrminal's full-sized avatar

Mark Tyrrell tyrrminal

View GitHub Profile
@tyrrminal
tyrrminal / <project>-shim.sh
Created June 29, 2022 16:47
PerlNavigator for docker-on-remote use
#!/usr/bin/env bash
exec docker run \
--rm `# Delete container after running` \
-i `# Run interactively (allow pipes)` \
-v "${HOME}/.vscode-server/extensions":"${HOME}/.vscode-server/extensions" `# Link PerlNavigator resources into container` \
-v `pwd`:`pwd` `# Link source code into container` \
-v "${HOME}/srv/perl5/lib/perl5:/development/perl5/linting" `# Link local::lib with just Perl::Tidy and Perl::Critic into container` \
-v `pwd`/.perltidyrc:/cfg/perltidyrc `# Link PerlTidy and PerlCritic configs into container` \
-v `pwd`/.perlcriticrc:/cfg/perlcriticrc \
--entrypoint perl `# Run perl command inside container` \
@tyrrminal
tyrrminal / usaCities.json
Last active November 9, 2018 20:00 — forked from Lwdthe1/usaCities.js
JSON of 5,950+ USA Cities and Their States
[
{"city": "Abbeville", "state": "Louisiana"},
{"city": "Aberdeen", "state": "Maryland"},
{"city": "Aberdeen", "state": "Mississippi"},
{"city": "Aberdeen", "state": "South Dakota"},
{"city": "Aberdeen", "state": "Washington"},
{"city": "Abilene", "state": "Texas"},
{"city": "Abilene", "state": "Kansas"},