1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv
to manually rebuild the font cache
<?php | |
namespace AppBundle\Entity; | |
/** | |
* @package AppBundle\Entity | |
* @ORM\Entity() | |
* @ORM\Table() | |
* @ORM\Cache(usage="NONSTRICT_READ_WRITE") | |
*/ |
variables: | |
REGISTRY_URL: registry.lekode.com:5000 | |
IMAGE_NAME: app | |
BUILD_CODE_IMAGE: $REGISTRY_URL/$IMAGE_NAME:$CI_COMMIT_REF_NAME | |
LATEST_CODE_IMAGE: $REGISTRY_URL/$IMAGE_NAME:latest | |
stages: | |
- test | |
- install | |
- build |
1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv
to manually rebuild the font cache
# coding=utf-8 | |
import numpy as np | |
import matplotlib.pyplot as plt | |
from scipy.spatial import Voronoi | |
from shapely.geometry import Polygon | |
def voronoi_finite_polygons_2d(vor, radius=None): | |
""" | |
Reconstruct infinite voronoi regions in a 2D diagram to finite | |
regions. |
#!/bin/bash | |
# This script will extract the certificate and key from an .ovpn file | |
# into their own files, which makes it possible to use them to configure | |
# the VPN using Ubuntu's network manager | |
# Usage example: | |
# >> ovpnconvert username.dev.ovpn | |
# You can keep following these instructions here: |
Direct copy of pre-encoded file:
$ ffmpeg -i filename.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8
obs --startrecording --startstreaming | |
# For OBS Studio, | |
# --collection [scene collection name], | |
# --profile [profile name], | |
# --scene [scene name], | |
# --startstreaming, | |
# --startrecording. | |
# https://obsproject.com/forum/threads/obs-studio-command-line-parameters.56185/ |
import numpy as np | |
from sklearn.datasets import make_moons | |
from sklearn.cross_validation import train_test_split | |
n_feature = 2 | |
n_class = 2 | |
def make_network(n_hidden=100): |
By default when Nginx starts receiving a response from a FastCGI backend (such as PHP-FPM) it will buffer the response in memory before delivering it to the client. Any response larger than the set buffer size is saved to a temporary file on disk. This process is also explained at the Nginx ngx_http_fastcgi_module page document page.
Since disk is slow and memory is fast the aim is to get as many FastCGI responses passing through memory only. On the flip side we don't want to set an excessively large buffer as they are created and sized on a per request basis (i.e. it's not shared memory).
The related Nginx options are:
fastcgi_buffering
appeared in Nginx 1.5.6 (1.6.0 stable) and can be used to turn buffering completely on/off. It's on by default.fastcgi_buffer_size
](http://nginx.org/en/// Add on element with overflow | |
-webkit-mask-image: -webkit-radial-gradient(white, black); |