When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}
FreeSWITCH is a software defined telecom stack that runs on any commodity hardware. FreeSWITCH can handle voice, video and text communication and support all popullar VoIP protocols. FreeSWITCH is flexible and modular, and can be used in any way you can imagine
This guide demonstrates how to get it install FreeSWITCH and get it up and running on a Ubuntu 20.04 LTS machine
To follow along with this guide, you need one Ubuntu 20.04 LTS server which has prerequisite packages installed and configured. In order to install required packages issue following command
#!/usr/bin/env bash | |
set -x | |
main_if=ens33 | |
ping_count=1 | |
echo 1 > /proc/sys/net/ipv4/ip_forward || exit 1 | |
ip netns del ns1 > /dev/null 2>&1 |
import json | |
import requests | |
import pickle as pkl | |
call='https://api.stackexchange.com/2.2/tags?page={page}&order=desc&sort=popular&site={site}' | |
startFromPage=1 | |
def get(url): | |
r=requests.get(url) | |
if r.status_code!=200: | |
return False |
import numpy as np | |
import tensorflow as tf | |
from keras.callbacks import TensorBoard | |
from keras.layers import Input, Dense | |
from keras.models import Model | |
def write_log(callback, names, logs, batch_no): | |
for name, value in zip(names, logs): | |
summary = tf.Summary() |
#!/usr/bin/env bash | |
# set -x | |
if [[ $EUID -ne 0 ]]; then | |
echo "You must be root to run this script" | |
exit 1 | |
fi | |
# Returns all available interfaces, except "lo" and "veth*". |
#!/bin/bash | |
# Blocks until there is internet access | |
# Accepts optional parameters: host and retry limit | |
# Return non-zero if we try to exceed the retry limit | |
# Return zero if we have internet within the retry limit | |
# Usage: /pingblock.sh google.com 30 | |
host=${1:-8.8.8.8} | |
max_tries=${2:-15} | |
num=0 |
Download Google Drive files with WGET | |
Example Google Drive download link: | |
https://docs.google.com/open?id=[ID] | |
To download the file with WGET you need to use this link: | |
https://googledrive.com/host/[ID] | |
Example WGET command: |