sudo apt-get update && sudo apt-get upgrade
sudo apt-get install software-properties-common \
nginx wget zip unzip git curl certbot python3-pip \
python3-dev python3-venv redis-server mariadb-server \
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install software-properties-common \
nginx wget zip unzip git curl certbot python3-pip \
python3-dev python3-venv redis-server mariadb-server \
#EXTM3U | |
#EXTINF:0,RadioMv.com | Russian Christian Music | |
http://ru-music.radiomv.co:1918 | |
#EXTINF:0,RadioMv.com | Russian Christian Radio | |
http://ru-high.radiomv.co:2204 | |
#EXTINF:0,RadioMv.com | English Christian Radio | |
http://en-high.radiomv.co:2102 | |
#EXTINF:0,Детское Христианское Радио | |
http://live.detskoeradio.org/radio/8010/radio.mp3 | |
#EXTINF:0,Радио Голос Мира | Чтение Библии |
<?php | |
// add this code to a custom plugin | |
add_filter( 'woocommerce_rest_prepare_product_object', 'wc_app_add_custom_data_to_product', 10, 3 ); | |
// filter the product response here | |
function wc_app_add_custom_data_to_product( $response, $post, $request ) { | |
// in this case we want to display the short description, so we copy it over to the description, which shows up in the app | |
$response->data['description'] = $response->data['short_description']; | |
return $response; |
### Flutter Generated | |
# Miscellaneous | |
*.class | |
*.lock | |
*.log | |
*.pyc | |
*.swp | |
.DS_Store | |
.atom/ |
# Editors | |
.vscode/ | |
.idea/ | |
# Vagrant | |
.vagrant/ | |
# Mac/OSX | |
.DS_Store |
Consider supporting my work by purchasing the course this tutorial is a part of i.e. VSCode Power User →
Local by FlyWheel
WordPress install is a custom install# On the host | |
============= | |
lxc config set openvpn raw.lxc 'lxc.cgroup.devices.allow = c 10:200 rwm' | |
lxc config device add openvpn tun unix-char path=/dev/net/tun | |
# In the container | |
================== | |
1. mknod /dev/net/tun c 10 200 |
When the shared files on Google Drive is downloaded, it is necessary to change the download method by the file size. The boundary of file size when the method is changed is about 40MB.
filename="### filename ###"
fileid="### file ID ###"
curl -L -o ${filename} "https://drive.google.com/uc?export=download&id=${fileid}"
adb shell content query --uri content://settings/secure --where "name=\'android_id\'" | |
adb shell content delete --uri content://settings/secure --where "name=\'android_id\'" | |
adb shell content insert --uri content://settings/secure --bind name:s:android_id --bind value:s:7373de1e9e9670c2 |
import is from './is-util'; | |
/** | |
* Either Monad class (from Functional Programming in JavaScript) | |
*/ | |
class Either { | |
constructor(value) { | |
this._value = value; | |
} | |
get value () { |