Skip to content

Instantly share code, notes, and snippets.

@ag4ve
ag4ve / compose.yml
Last active January 25, 2024 00:33
Docker compose environment/build-args table
---
# cli: export | build-arg
# compose: environment | args | args override env
# docker: ENV | ARG | ENV=ARG
#
# environment:
# ENV_ENV_ENV, ENV_ENV_ARG, ENV_ENV_ETOA
# ARG_ENV_ENV, ARG_ENV_ARG, ARG_ENV_ETOA
# build args:
# ENV_ARG_ENV, ENV_ARG_ARG, ENV_ARG_ETOA
[
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "LineString",
"coordinates": [
[
-76.5966796875,
36.94989178681327
#!/usr/bin/env perl
use strict;
use warnings;
use Data::Dumper;
use Text::CSV;
my $csv = Text::CSV->new({binary => 1, always_quote => 1})
or die "Can not use CSV: " . Text::CSV->error_diag();
#!/usr/bin/env perl
use strict;
use warnings;
use Data::Dumper;
use Digest::MD5 qw(md5_base64);
use Text::CSV;
my $csv = Text::CSV->new({binary => 1, always_quote => 1})
import os
import subprocess
import pprint
pp = pprint.PrettyPrinter(indent = 4)
class FileAttrList:
"""
Create a list of files and directories and their attributes and libraries
The file list should be an array of an arrays with:
* IMPORTANT: 9 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
Calculating dependencies .... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-util/schroot-1.6.5-r1
* schroot_1.6.5.orig.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
#!/usr/bin/perl
use strict;
use warnings;
#use Carp::Always;
use Data::Dumper;
use Try::Tiny;
use DateTime;
info: HTTP GET /favicon.ico httpVersion=1.1, host=localhost:3000, connection=kee
p-alive, accept=*/*, user-agent=Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWeb
Kit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3, accept-encoding=gz
ip,deflate,sdch, accept-language=en-US,en;q=0.8, accept-charset=ISO-8859-1,utf-8
;q=0.7,*;q=0.3, cookie=connect.sid=s%3AfFmx5xTQd%2F1%2Ba1Gcpp%2FB1YrW.UKvZYwo6Dd
y7q28fQi3RLXHRP2IxvAf%2FmhYvBGEL6l8, url=/favicon.ico, method=GET, originalUrl=/
favicon.ico,
Error: Cannot find module 'undefined'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
@ag4ve
ag4ve / gist:3748799
Created September 19, 2012 10:00
static file error
Error: ELOOP, stat '/home/swilson/node/fr/public/css/slick.grid.css'
Error: ELOOP, stat '/home/swilson/node/fr/public/js/slick.grid.js'
Error: ELOOP, stat '/home/swilson/node/fr/public/js/slick.core.js'
info: HTTP GET /js/jquery.event.drag-2.0.min.js httpVersion=1.1, host=localhost:
3000, connection=keep-alive, referer=http://localhost:3000/index.html, accept=*/
*, user-agent=Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.3 (KHTML,
like Gecko) Chrome/6.0.472.63 Safari/534.3, accept-encoding=gzip,deflate,sdch, a
ccept-language=en-US,en;q=0.8, accept-charset=ISO-8859-1,utf-8;q=0.7,*;q=0.3, co
okie=connect.sid=s%3AnB1AHCD1YPZchKXoA9VapeLl.4kMAiplqr56trM6gMtpnju3VeqI%2B2nrZ
sDnqrPs5YXo, url=/js/jquery.event.drag-2.0.min.js, method=GET, originalUrl=/js/j
@ag4ve
ag4ve / gist:3742798
Created September 18, 2012 12:14
trace and code snip
**** fr.js *****
log: function () { [native code] }
info: function () { [native code] }
warn: function () { [native code] }
error: function () { [native code] }
dir: function () { [native code] }
time: function () { [native code] }
timeEnd: function () { [native code] }
trace: function () { [native code] }
assert: function () { [native code] }