plot for [i=0:5] 'degree_distribution_step:'.i.'_delta:5' title 'Degree step '.i ps 2
ps=point size
/* | |
* __________________________________________________________________________________________________________________ | |
* | | | | |
* | ________ ___ ________ ________ ___ __ ___ ___ ___ ___ ________ ________ ___ __ | | |
* | |\ __ \|\ \ |\ __ \|\ ____\|\ \|\ \ |\ \|\ \|\ \ |\ \|\ __ \|\ ____\|\ \|\ \ | | |
* | \ \ \|\ /\ \ \ \ \ \|\ \ \ \___|\ \ \/ /|\ \ \\\ \ \ \ \ \ \ \ \|\ \ \ \___|\ \ \/ /|_ | | |
* | \ \ __ \ \ \ \ \ __ \ \ \ \ \ ___ \ \ __ \ \ \ __ \ \ \ \ __ \ \ \ \ \ ___ \ | | |
* | \ \ \|\ \ \ \____\ \ \ \ \ \ \____\ \ \\ \ \ \ \ \ \ \ \|\ \\_\ \ \ \ \ \ \ \____\ \ \\ \ \ | | |
* | \ \_______\ \_______\ \__\ \__\ \_______\ \__\\ \__\ \__\ \__\ \__\ \________\ \__\ \__\ \_______\ \__\\ \__\ | | |
* | \|_______|\|_______|\|__|\|__|\|_______|\|__| \|__|\|__|\|__|\|__| |
# inspired by https://selivan.github.io/2020/02/25/removing-bloatware-from-xiaomi-miui-android.html | |
pm uninstall --user 0 com.xiaomi.mipicks #GetApps - app store like Google Play from Xiaomi. The most annoying one, periodically shows advertisement. | |
pm uninstall --user 0 com.miui.msa.global #MIUI Ad Services - also responsible for showing ads. | |
pm uninstall --user 0 com.miui.cloudservice #Cloud | |
pm uninstall --user 0 com.miui.cloudbackup #Cloud Backup | |
pm uninstall --user 0 com.xiaomi.glgm #Games | |
pm uninstall --user 0 com.xiaomi.payment #Mi Credit | |
pm uninstall --user 0 cn.wps.xiaomi.abroad.lite #Mi DocViewer(Powered by WPS Office) | |
pm uninstall --user 0 com.xiaomi.midrop #Mi ShareMe | |
pm uninstall --user 0 com.miui.yellowpage #Mi YellowPages |
#!/bin/bash | |
echo Setup bitcoin full node. | |
echo Specify bitcoin version, e.g. 22.0: | |
read version | |
echo Install bitcoin-core version $version | |
#Download bitcoin-core: | |
wget https://bitcoincore.org/bin/bitcoin-core-$version/bitcoin-$version-x86_64-linux-gnu.tar.gz | |
#Download the list of cryptographic checksums: | |
wget https://bitcoincore.org/bin/bitcoin-core-$version/SHA256SUMS | |
#Download the signatures attesting to validity of the checksums: |
#!/bin/bash | |
sudo apt install git | |
cd | |
git clone https://github.com/ElementsProject/elements.git | |
sudo apt-get update | |
sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev | |
sudo apt-get install libboost-all-dev | |
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler imagemagick librsvg2-bin | |
sudo apt-get install libqrencode-dev autoconf openssl libssl-dev libevent-dev |
``` | |
mdadm --detail /dev/mdX | |
``` | |
``` | |
mdadm --stop /dev/mdX | |
``` | |
``` | |
mdadm --assemble --force /dev/mdX /dev/sda /dev/sdb /dev/sdc /dev/sdd |
#!/usr/bin/env python | |
# put this file in /usr/local/bin | |
# vtt2srt my_subtitle.vtt | |
import os, re, argparse | |
parser = argparse.ArgumentParser() | |
parser.add_argument("filename", help=".vtt file") | |
args = parser.parse_args() | |
input_path_filename = args.filename |
Here is a brief description of what the Bash command I provided does:
This command allows you to download multiple videos from an input batch file by adding the season number and index of each video to the filename prefix.
Note: this command will only work if the yt-dlp command is installed on your system. If it is n
function check_limit() { | |
// Get the active sheet | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
// Get the range of the selected column | |
var data = sheet.getDataRange().getValues(); | |
// Count the rows | |
var numRows = data.length; | |
var startRow = 4; | |
var limitCol = 3; | |
// Save the selected the Column |