This tutorial is for Ubuntu & Squid3. Use AWS, Google cloud, Digital Ocean or any services with Ubuntu to follow this tutorial.
sudo apt-get update
sudo apt-get install squid3
sudo apt-get install apache2-utils
package iterator | |
type Iterator interface { | |
Next() (value interface{}, done bool, err error) | |
} |
{ | |
"properties" : { | |
"name" : "Ayer", | |
"geometry" : { | |
"lat" : 42.56, | |
"lng" : -71.58 | |
}, | |
"city" : "Ayer", | |
"state" : "MA", | |
"zipcode" : "01432" |
RUN \ | |
curl -sfLO http://www.imagemagick.org/download/ImageMagick-6.9.0-4.tar.gz && \ | |
echo 'cf51a1c6ebf627c627a8e6ac20aecce5f1425907c2cdb98c5a60f329c5c6caf2 ImageMagick-6.9.0-4.tar.gz' | sha256sum -c - && \ | |
tar -xzf ImageMagick-6.9.0-4.tar.gz && \ | |
cd ImageMagick-6.9.0-4 && \ | |
./configure --prefix /usr/local && \ | |
make install && \ | |
cd .. && \ | |
rm -rf ImageMagick* |
const mdColors = [ | |
'#F44336', | |
'#FFEBEE', | |
'#FFCDD2', | |
'#EF9A9A', | |
'#E57373', | |
'#EF5350', | |
'#F44336', | |
'#E53935', | |
'#D32F2F', |
# Inspired by: https://towardsdatascience.com/the-one-pytorch-trick-which-you-should-know-2d5e9c1da2ca. | |
# Monkey patching idea suggested by @kklemon here: | |
# https://gist.github.com/airalcorn2/50ec06517ce96ecc143503e21fa6cb91?permalink_comment_id=4407423#gistcomment-4407423. | |
import torch | |
from torch import nn | |
def patch_attention(m): |
# action.yml | |
name: 'Hello World' | |
description: 'Run tests' | |
runs: | |
using: 'docker' | |
# this corresponds to the location of the dockerfile, relative to your action's folder (automatic-tests here) | |
image: '../../../Dockerfile' |
def versionMajor = 1 | |
def versionMinor = 1 | |
def versionPatch = 3 | |
def versionBuild = 0 | |
buildscript { | |
repositories { | |
mavenCentral() | |
// maven { url 'https://maven.fabric.io/public' } |
name: CI | |
# this will fire the action on any push to the master branch, you can modify the branch or adapt it to be fired on other events (eg. pull requests) | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: |
PHP Version : 8.0 Wordpress version : 5.7.2 Caddy version : v2.4.3
This one is outdated: please check the offical guide here