So HAProxy is primalery a load balancer an proxy for TCP and HTTP. But it may act as a traffic regulator. It may also be used as a protection against DDoS and service abuse, by maintening a wide variety of statistics (IP, URL, cookie) and when abuse is happening, action as denying, redirecting to other backend may undertaken ([haproxy ddos config], [haproxy ddos])
#!/bin/bash | |
# remove all blank lines in go 'imports' statements, | |
# then sort with goimports | |
if [ $# != 1 ] ; then | |
echo "usage: $0 <filename>" | |
exit 1 | |
fi | |
Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.
And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.
If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.
Just run this from your Mac terminal and it'll drop you in a container with full permissions on the Docker VM. This also works for Docker for Windows for getting in Moby Linux VM (doesn't work for Windows Containers).
docker run -it --rm --privileged --pid=host justincormack/nsenter1
more info: https://github.com/justincormack/nsenter1
HTTP_PROXY=http://10.20.4.15:3128 | |
http_proxy=http://10.20.4.15:3128 | |
HTTPS_PROXY=http://10.20.4.15:3128 | |
https_proxy=http://10.20.4.15:3128 | |
NO_PROXY=localhost,10.20.0.126,127.0.0.1,192.168.99.100,10.0.2.15,172.17.0.1,192.168.12.212,192.168.212.65,192.168.212.66,.udistrital.edu.co,.udistritaloas.edu.co,.xip.io | |
no_proxy=localhost,10.20.0.126,127.0.0.1,192.168.99.100,10.0.2.15,172.17.0.1,192.168.12.212,192.168.212.65,192.168.212.66.udistrital.edu.co,.udistritaloas.edu.co,.xip.io | |
export HTTP_PROXY | |
export http_proxy | |
export HTTPS_PROXY | |
export https_proxy |
node { | |
echo 'Results included as an inline comment exactly how they are returned as of Jenkins 2.121, with $BUILD_NUMBER = 1' | |
echo 'No quotes, pipeline command in single quotes' | |
sh 'echo $BUILD_NUMBER' // 1 | |
echo 'Double quotes are silently dropped' | |
sh 'echo "$BUILD_NUMBER"' // 1 | |
echo 'Even escaped with a single backslash they are dropped' | |
sh 'echo \"$BUILD_NUMBER\"' // 1 | |
echo 'Using two backslashes, the quotes are preserved' | |
sh 'echo \\"$BUILD_NUMBER\\"' // "1" |
#!/usr/bin/env ruby | |
require 'aws-sdk' | |
require 'pry' | |
require 'awesome_print' | |
require 'domainatrix' | |
# ------------------------------------------------------------------------------ | |
# Credentials | |
# ------------------------------------------------------------------------------ |
#!/usr/bin/env ruby | |
require 'aws-sdk' | |
require 'pry' | |
require 'awesome_print' | |
# ------------------------------------------------------------------------------ | |
# Credentials | |
# ------------------------------------------------------------------------------ | |
# pick up AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY by default from |
ffmpeg -f gif -i infile.gif outfile.mp4 |
// You can edit this code! | |
// Click here and start typing. | |
package main | |
import "fmt" | |
import "runtime" | |
import "strings" | |
func identifyPanic() string { | |
var name, file string |