Let's call the container docker_test1
.
$ sudo lxc-create -t download -n docker_test1
...
Follow the prompts on the screen to set up the new container.
#! /usr/bin/env nix-shell | |
#! nix-shell -i bash -p patchelf | |
## Pass the github copilot agent as first parameter. | |
## Example: /home/luis/.local/share/JetBrains/CLion2023.1/github-copilot-intellij/copilot-agent/bin/copilot-agent-linux | |
binaryLocation="$1" | |
cp "${binaryLocation}" "${binaryLocation}.bak" |
#!/usr/local/bin/ruby | |
# encoding: UTF-8 | |
require 'rubygems' | |
gem 'mechanize' | |
gem 'main' | |
gem 'highline' | |
gem 'money' | |
gem 'change_watcher' |
# | |
# Get FreeOTP backup json file and create the QRCode to import into other apps | |
# | |
# python <this-script> </path/to/freeotp/backup/file.json> | |
# | |
import ctypes | |
import base64 | |
import sys | |
import json |
2019-01-29 09:42:17,188 DEBG received SIGCLD indicating a child quit, | |
2019-01-29 09:42:18,192 INFO spawned: 'heartbeats' with pid 7844, | |
2019-01-29 09:42:19,194 INFO success: heartbeats entered RUNNING state, process has stayed up for > than 1 seconds (startsecs), | |
2019-01-29 09:42:40,612 DEBG 'uwsgi' stdout output:, | |
[pid: 1913|app: 0|req: 3399/5933] 127.0.0.1 () {38 vars in 438 bytes} [Tue Jan 29 09:42:40 2019] GET /api/config => generated 690 bytes in 3 msecs (HTTP/1.1 200) 6 headers in 180 bytes (1 switches on core 0), | |
, | |
2019-01-29 09:42:40,616 DEBG 'nginx' stdout output:, | |
ip=\- [\29/Jan/2019:09:42:40 +0000] "\GET /api/config HTTP/1.1" \200 \690 "\-" "\python-requests/2.21.0", | |
2019/01/29 09:42:40 [info] 72#72: *13092 client 127.0.0.1 closed keepalive connection, | |
, |
#!/bin/sh | |
# | |
# Author: Luis Felipe Domínguez Vega <[email protected]> | |
# | |
# Program to use with the rate software to send to InfluxDB the | |
# rate of each IP on interface | |
# | |
# rate_to_influx <influxdb_url> <influxdb_database> <local_network> <interface> | |
# rate_to_influx http://127.0.0.1:8086 network 192.168.0.0/24 re1 |
02-26 09:28:07.895 5234 5234 D DCT-0/1 : buildWaitingApns: adding prefer apn which Bearer is perfectly matched =[ApnSettingV3] desoftmtz, 28, 36801, desoftmtz, 10.11.1.2, , , , 8898, 3, default | dun, IP, IP, true, 0, 18180, 0, false, 20, 0, 300, 0, , ffffffffffffffffff, false | |
02-26 09:28:07.897 5234 5234 D RetryManager: [default] mInterApnDelay = 5000, mFailFastInterApnDelay = 3000 | |
02-26 09:28:07.897 5234 5234 D RetryManager: [default] configure: 'max_retries=infinite,default_randomization=2000,5000,10000,20000,40000,80000:5000,160000:5000,320000:5000,640000:5000,1280000:5000,1800000:5000' | |
02-26 09:28:07.898 5234 5234 D RetryManager: [default] configure: not empty | |
02-26 09:28:07.898 5234 5234 D RetryManager: [default] configure: strArray[0]='max_retries=infinite' | |
02-26 09:28:07.898 5234 5234 D RetryManager: [default] configure: splitStr[0]='max_retries' | |
02-26 09:28:07.898 5234 5234 D RetryManager: [default] configure: splitStr[1]='infinite' | |
02-26 09:28:07.898 5234 5234 D RetryManager: [defaul |