This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. Open the browser developper console on the network tab | |
// 2. Start the video | |
// 3. In the dev tab, locate the load of the "master.json" file, copy its full URL | |
// 4. Run: node vimeo-downloader.js "<URL>" | |
// 5. Combine the m4v and m4a files with mkvmerge | |
const fs = require('fs'); | |
const url = require('url'); | |
const https = require('https'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import padasip as pa | |
import matplotlib.pylab as plt | |
# prep data | |
N = 200 # the overall time series size | |
n = 5 # size of sample we want to feed into the filter | |
s = np.random.random(N) # generate the source input | |
d = np.zeros(N) # initialize the target array | |
for k in range((n-1), N): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3 Searching | |
# | |
# --------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Modify this file accordingly for your specific requirement. | |
# http://www.thegeekstuff.com | |
# 1. Delete all existing rules | |
iptables -F | |
# 2. Set default chain policies | |
iptables -P INPUT DROP | |
iptables -P FORWARD DROP | |
iptables -P OUTPUT DROP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Minecraft Java Edition Service | |
After=network.target | |
[Service] | |
Type=Simple | |
WorkingDirectory=/opt/minecraft/java-server | |
ExecStart=/usr/bin/java -Xmx2048M -Xms2048M -jar minecraft-1.14.4-server.jar nogui | |
TimeoutStopSec=20 | |
Restart=on-failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See this wiki page for more info: | |
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info | |
# | |
#/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:01/power_supply/C1B3 | |
#BATTERY_CAPACITY=$(cat /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:01/power_supply/C1B3/capacity) | |
#BATTERY_STATUS=$(cat /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:01/power_supply/C1B3/status) | |
#echo "Battery Capacity = $BATTERY_CAPACITY, Battery Status = $BATTERY_STATUS" | |
print_info() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set t_Co=256 | |
set termguicolors | |
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum" | |
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" | |
set background=dark " Setting dark mode | |
syntax on | |
colorscheme deus | |
let g:deus_termcolors=256 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Coredns Service | |
After=network.target | |
[Service] | |
User=root | |
Group=root | |
Type=Simple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Clean Up Calibre Import Directory | |
After=network.target | |
[Service] | |
Type=oneshot | |
User=calibre | |
Group=calibre | |
ExecStart=/usr/bin/rm -f /home/calibre/mnt/downloads/books/*.cbz | |
ExecStart=/usr/bin/rm -f /home/calibre/mnt/downloads/books/*.cbr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] Description=Minecraft Bedrock Service After=network.target [Service] Type=Simple |
NewerOlder