cat /proc/sys/net/bridge/bridge-nf-call-iptables
sysctl vm.swappiness=0
swapoff -a
how to leverage oracle's temping offers
The limits of the free tier say that you can create up to 4 instances.
FROM php:8.0.1-cli-alpine3.13 | |
ARG APPLICATION_PATH=/application | |
ARG CONFIGS_PATH=/docker/php | |
LABEL maintainer="Leonardo Carmo <[email protected]>" | |
# install dependecies | |
RUN apk add --no-cache \ | |
bash \ |
deb http://ports.ubuntu.com/ubuntu-ports focal main restricted universe multiverse | |
deb-src http://ports.ubuntu.com/ubuntu-ports focal main restricted universe multiverse | |
deb http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted universe multiverse | |
deb-src http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted universe multiverse | |
deb http://ports.ubuntu.com/ubuntu-ports focal-backports main restricted universe multiverse | |
deb-src http://ports.ubuntu.com/ubuntu-ports focal-backports main restricted universe multiverse | |
deb http://ports.ubuntu.com/ubuntu-ports focal-security main restricted universe multiverse |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import json | |
from argparse import ArgumentDefaultsHelpFormatter, ArgumentParser | |
from time import localtime | |
import plotly.graph_objects as go | |
def read_from(fpath): |
###################################################### | |
# Laracasts Video Scraper # | |
# # | |
# Author: Eric Bachhuber # | |
# # | |
# Video files will be output to folder 'Laracasts' # | |
# wherever the script is run from. # | |
# # | |
# Possibly violates the terms of service, so use # | |
# at your own risk. # |
#pfSense as an OpenVPN client for specific devices
##Introduction One of the most powerful features of pfSense is it’s ability to direct your data requests through different end-points using NAT rules. pfSense is amazing as an OpenVPN client because it can selectively route any device on the network through the VPN service (i.e., my tablets and TV go through US servers, while my smartphone, VoIP, computers go my local ISP).
This setup becomes extremely handy for use with applications which are not aware of OpenVPN protocol, eg. download managers, torrent clients, etc. Expecting privacy you should be positive that traffic won't go through your ISP's gateway in case of failure on side of VPN provider. And obviously OpenVPN client should automatically reconnect as soon as service goes live again.
Note: This How-To is meant for pfSense 2.1.x. For those using 2.2 Beta, there is a bug that prevents this from working. Read about here in the pfSense forum thread, “[cannot NAT trough OPT1 interface on multiw
If you've been following the instructions in the section "Installing Only In Specific Environments" you'll need to ensure that you update your AppServiceProvider
accordingly, e.g.
public function register()
{
if ($this->app->environment('local') || $this->app->environment('staging')) {
$this->app->register(TelescopeServiceProvider::class);
}
}
ob_start(); | |
print "Hello First!\n"; | |
ob_end_flush(); | |
ob_start(); | |
print "Hello Second!\n"; | |
ob_end_clean(); | |
ob_start(); | |
print "Hello Third\n"; | |
// reusing buffers |