View # perl - 2020-04-20_19-14-27.txt
Homebrew build logs for perl on Ubuntu 16.04.6 LTS | |
Build date: 2020-04-20 19:14:27 |
View # perl - 2020-04-11_22-16-42.txt
Homebrew build logs for perl on Ubuntu 16.04.6 LTS | |
Build date: 2020-04-11 22:16:42 |
View excludes.txt
# | |
# note: this is run with the option `--one-file-system`, so it takes care | |
# of /dev, /sys, /proc, /media. Otherwise add those paths to this list. | |
# restic exclude patterns | |
*.!Sync | |
*.Cache | |
*.SyncOld | |
*.SyncPart | |
*.SyncTemp | |
*.bak |
View # libproxy - 2018-10-27_16-27-17.txt
Homebrew build logs for libproxy on Ubuntu 16.04.5 LTS | |
Build date: 2018-10-27 16:27:17 |
View example.py
#!/usr/bin/env python3 | |
""" | |
Usage: | |
example.sh [options] | |
example.sh ( -h | --help ) | |
example.sh ( --version ) | |
Options: | |
-a, --all An optional flaag. | |
-b Another optional flag. |
View scoping.sh
#!/bin/bash | |
function hello() { | |
local fname="$1" | |
echo "Ciao, $fname" | |
} | |
echo "Ereditato dal terminale" | |
echo "\$USER: $USER" |
View signal.sh
#!/usr/bin/env bash | |
# shellcheck disable=SC2128 | |
SOURCED=false && [ "$0" = "$BASH_SOURCE" ] || SOURCED=true | |
if ! $SOURCED; then | |
set -euo pipefail | |
IFS=$'\n\t' | |
fi | |
mypid="$$" |
View esempio.sh
#!/usr/bin/env bash | |
# shellcheck disable=SC2128 | |
SOURCED=false && [ "$0" = "$BASH_SOURCE" ] || SOURCED=true | |
debug=false | |
parallel=false | |
query='' | |
topic='' | |
read -rd '' docstring <<EOF |
View tsp.h
#ifndef TSP_H | |
#define TSP_H | |
#ifdef __cplusplus | |
// C++ code | |
using namespace std; | |
namespace helpers { | |
long long get_elapsed_time(void); | |
bool has_reached_timeout(void); |
View histo_timestamps.py
#!/usr/bin/env python | |
import argparse | |
import arrow | |
from matplotlib import pyplot as plt | |
from matplotlib import dates as mdates | |
def get_args(): | |
description=('Make an histogram from a list of timestamps') |
NewerOlder