- ingnore current wife network
iwgetid --ap --raw >> /etc/theta_wg/ignore.txt
- Download the tray icone
wget https://dashboard.snapcraft.io/site_media/appmedia/2018/11/unnamed.png -O /root/wg.png
| upload=true&script=true&cardinfo= | |
| !!################################ | |
| !!ALSA Information Script v 0.5.1 | |
| !!################################ | |
| !!Script ran on: Mon Oct 24 19:23:47 UTC 2022 | |
| !!Linux Distribution | |
| !!------------------ |
iwgetid --ap --raw >> /etc/theta_wg/ignore.txt
wget https://dashboard.snapcraft.io/site_media/appmedia/2018/11/unnamed.png -O /root/wg.png
| #/bin/bash | |
| PASSWORD='ilo password' | |
| USERNAME="william" | |
| ILOIP="192.168.1.45" | |
| SPEED="100" | |
| sshpass -p "$PASSWORD" ssh $USERNAME@$ILOIP -o KexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc "fan p 0 max $SPEED" | |
| sshpass -p "$PASSWORD" ssh $USERNAME@$ILOIP -o KexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc "fan p 1 max $SPEED" | |
| sshpass -p "$PASSWORD" ssh $USERNAME@$ILOIP -o KexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc "fan p 2 max $SPEED" |
| 🖥️ dl380-0 📁 ~ 🗓 Tue Nov 02 | |
| 🕘 09:41 PM root# cat /etc/network/interfaces | |
| # network interface settings; autogenerated | |
| # Please do NOT modify this file directly, unless you know what | |
| # you're doing. | |
| # | |
| # If you want to manage parts of the network configuration manually, | |
| # please utilize the 'source' or 'source-directory' directives to do | |
| # so. | |
| # PVE will preserve these directives, but will NOT read its network |
| agent: 1 | |
| boot: order=virtio0;ide2;net0 | |
| cores: 1 | |
| cpu: kvm64,flags=+aes | |
| ide2: stuff-prox:iso/linuxmint-20.2-mate-64bit.iso,media=cdrom,size=2044M | |
| memory: 4096 | |
| name: mint21-ldap | |
| net0: virtio=CA:B5:71:43:A2:B6,bridge=vmbr1,firewall=1 | |
| numa: 0 | |
| ostype: l26 |
router.| # William Mantly | |
| # MIT | |
| 'use strict'; | |
| const process_type = { | |
| number: function(key, value){ | |
| if(key.min && value < key.min) return `is to small, min ${key.min}.` | |
| if(key.max && value > key.max) return `is to large, max ${key.max}.` | |
| }, |
| #!/bin/bash | |
| chmod +x /var/www/nextcloud/occ | |
| sudo -u www-data /var/www/nextcloud/occ $@ |
| #!/usr/bin/env bash | |
| # William Mantly <wmantly@gmail.com> | |
| # MIT License | |
| # https://github.com/wmantly | |
| ME="$(basename "$(test -L "$0" && readlink "$0" || echo "$0")")" | |
| if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then | |
| echo "Usage: $ME [domain] [cert]" | |
| echo "Usage: $ME chat.theta42.com cert_pem" |
| 'use strict'; | |
| const Table = require('../utils/redis_model'); | |
| const UUID = function b(a){return a?(a^Math.random()*16>>a/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,b)}; | |
| class Token extends Table{ | |
| static _key = 'token'; | |
| static _keyMap = { | |
| 'created_by': {isRequired: true, type: 'string', min: 3, max: 500}, |