Execute the following commands to install Node, npm, git, Java, Ionic, Cordova and Angular CLI:
cd ~
sudo apt update
sudo apt upgrade
#!/bin/sh | |
sudo dnf install -y wget p7zip curl | |
[[ ! -d ~/.fonts ]] && mkdir -p ~/.fonts | |
wget "$(curl "https://www.recursive.design" | grep -o 'https://github.com/.*.zip' | head -n1)" -O /tmp/recursive-fonts.zip | |
( cd ~/.fonts ; 7za e -y -r -i\!*.ttf /tmp/recursive-fonts.zip ) |
# https://gitlab.com/help/ci/quick_start/README | |
# https://docs.gitlab.com/ee/ci/introduction/ | |
# https://docs.gitlab.com/ee/ci/yaml/ | |
image: dpolyakov/docker-node-latest-with-rsync:latest | |
# before_script: | |
# - apt-get update -qq | |
# - apt-get install -qq git |
QEMU requires brew in OSX, so we need to install brew first.
To install brew we need to have the developer tools enabled in our system. In order to install those tools, we have two options.
xcode-select --install
list = [ | |
"https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt", | |
"https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts", | |
"https://v.firebog.net/hosts/static/w3kbl.txt", | |
"https://raw.githubusercontent.com/matomo-org/referrer-spam-blacklist/master/spammers.txt", | |
"https://someonewhocares.org/hosts/zero/hosts", | |
"https://raw.githubusercontent.com/VeleSila/yhosts/master/hosts", | |
"https://winhelp2002.mvps.org/hosts.txt", | |
"https://v.firebog.net/hosts/neohostsbasic.txt", | |
"https://raw.githubusercontent.com/RooneyMcNibNug/pihole-stuff/master/SNAFU.txt", |
{ | |
/tool fetch url=https://curl.haxx.se/ca/cacert.pem | |
/certificate import file-name=cacert.pem passphrase=”” | |
/ip firewall layer7-protocol | |
add name=security.cloudflare-dns.com regexp=security.cloudflare-dns.com | |
/ip dns | |
set allow-remote-requests=yes cache-max-ttl=1h servers=1.1.1.2,1.0.0.2,2606:4700:4700::1112,2606:4700:4700::1002 use-doh-server=https://security.cloudflare-dns.com/dns-query verify-doh-cert=yes | |
/ip firewall filter | |
add action=drop chain=output comment="drop dns output if not looking for cloudflare DOH servers." dst-port=53 layer7-protocol=!security.cloudflare-dns.com out-interface-list=WAN protocol=tcp | |
add action=drop chain=output comment="drop dns output if not looking for cloudflare DOH servers." dst-port=53 layer7-protocol=!security.cloudflare-dns.com out-interface-list=WAN protocol=udp |
// modifys contact form 7's default select value of --- to Please select... | |
function my_wpcf7_form_elements($html) { | |
$text = 'Please select...'; | |
$html = str_replace('<option value="">---</option>', '<option value="">' . $text . '</option>', $html); | |
return $html; | |
} | |
add_filter('wpcf7_form_elements', 'my_wpcf7_form_elements'); | |
// Modify multiple selects | |
function my_wpcf7_form_elements($html) { |
Dear all Github friends,
I moved this gist to the Github repository.
Following this repository https://github.com/nijicha/install_nodejs_and_yarn_homebrew
Related tutorial: https://code64.de/visionerdy/wordpress-backups/
<?php | |
/** | |
* Abstract class which has helper functions to get data from the database | |
*/ | |
abstract class Base_Custom_Data | |
{ | |
/** | |
* The current table name | |
* | |
* @var boolean |