To use:
- Download both files to $HOME directory
chmod +x
both files- Every time when you create a new terminal, run
source $HOME/bashrc
- Use like
$HOME/pget minizip libgtkglext1
alert("test"); |
var qmpkeys={ | |
19:"pause", | |
16:"shift",//no shift_r | |
17:"ctrl",//no ctrl_r | |
46:"delete", | |
45:"insert", | |
27:"esc", | |
37:"left", | |
38:"up", | |
39:"right", |
To use:
chmod +x
both filessource $HOME/bashrc
$HOME/pget minizip libgtkglext1
# ALSO ADD YOUR SERVER'S PUBLIC IP WHERE IT SAYS "PUBLIC_IP_HERE" (remove the "#" too) TO PREVENT LOOPBACK!! | |
# by default, denies all ipv6 connections, because I am lazy | |
me.example.com { | |
handle /proxy/* { | |
@self remote_ip 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 ::/0 # PUBLIC_IP_HERE | |
respond @self "Not today..." { | |
close | |
} | |
@valid path_regexp proxy ^/proxy/(https?|wss?)[:;]/+([a-zA-Z0-9.-]+)(?:[:;](\d{1,5}))?(.*)$ |
const { joinVoiceChannel, createAudioPlayer, createAudioResource, StreamType, NoSubscriberBehavior } = require('@discordjs/voice'); | |
const { spawn } = require('child_process'); | |
const fs = require('fs'); | |
const fetch = (...args) => import('node-fetch').then(({default: fetch}) => fetch(...args)); | |
const { Readable } = require('stream'); | |
const { Buffer } = require('buffer'); |
window.music = (function () { | |
let audio = new Audio(); | |
audio.volume = 0.25; | |
let songs = [ "CW6CMFPAsF4", "gz1xq2qJnHs", "RUEWIG8zoa0", "n02zTn2d3rY", "FoFqBB0r9OI", "Ugb7GUtiyZ0", "3UFyc7zN9KY", "V6N_rL4fh6I", "iBZS6ad3Tlk", "Mnb2RhXL-nM", "lidx_2d4YOA", "ETQJZHYlc3g", "kRpRoTaNni0", "ACy5tHoNUoA", "OKoA2ppQMkw", "-jcOtAuGZC4", "-cJFVNZC4h8", "yLFX_7SH2tY", "oP6wOte3wZU", "MT7ssDlcN_c", "dOu3APclRkU", "CElWZz_oCsA", "8wr8eqro_OI", "OlLUtndzw7A", "HBYS5mBHie4", "5HxGK3DTUBQ", "_9qUu8IeabE", "QaRbalghKl4", "PtjgNhXWr2U", "OqJi_n3AcV4", "WFFF-jMyFaQ", "FD56t_0B9ig", "x6EATApss4k", "vLv3r1jtnmc", "VLbMXG8lvjI", "-5h9Q5PMHkw", "M0opHPn2bSQ", "XbuqB3uB6DI", "ZCJo8CDyqlQ", "A1-fM0s1Yt0", "zfKvnd-f4fA", "zsLT3JqfTn0", "YZlclPLX1Hw", "AYdyRPIo4ZA", "loeGmoYr3s4", "0qhoqXTUQlY", "7KtwWWJqDrM", "uIk_jGypR24", "G9z_DmhSKjM", "IFWYSOsAuL8", "DhUieLpc16A", "b9W22zhQdkA", "lpm7-aEXD7I", "YIp1S0VfJVI", "BSC6d81pvwE", "aZlOBCXgIVg", "sG2yDNSSwaY", "RiVZCDq--m4", "-NXEcmszXzQ", "N2SW_MWBa6w", "2k5dqgNT37g", "T0cGZD15UaA", " |
https://code-maven.com/slides/linux/tmux-multiple-session
tmux new -s sample
-- makes a new session called "sample"
tmux a -t sample
-- attach to the session named "sample"
CTRL+B
then press D
-- detach from a session
tmux ls
-- list current tmux sessions
CTRL+B
then press X
then press y
-- terminate a session
#!/bin/bash | |
if [ $# -eq 0 ]; then | |
dnf install -y --disableplugin=subscription-manager make git | |
dnf clean all --disableplugin=subscription-manager | |
curl -L -o ./miniconda.sh -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh | |
chmod +x ./miniconda.sh | |
./miniconda.sh -b -p /opt/conda | |
rm ./miniconda.sh |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>fard</title> | |
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> | |
<link rel="preconnect" href="https://fonts.googleapis.com"> | |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet"> | |
<style> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>fard</title> | |
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> | |
<link rel="preconnect" href="https://fonts.googleapis.com"> | |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet"> | |
<style> |