Skip to content

Instantly share code, notes, and snippets.

View KenwoodFox's full-sized avatar
💽
wstool update -t src

KenwoodFox KenwoodFox

💽
wstool update -t src
View GitHub Profile
# iocage fstab plex -l
+-------+---------------------------------------------------------------------------------------------------------------------------------------------------+
| INDEX | FSTAB ENTRY |
+=======+===================================================================================================================================================+
| 0 | /mnt/SafeVolume/iocage/releases/11.2-RELEASE/root/bin /mnt/SafeVolume/iocage/jails/plex/root/bin nullfs ro 0 0 |
+-------+---------------------------------------------------------------------------------------------------------------------------------------------------+
| 1 | /mnt/SafeVolume/iocage/releases/11.2-RELEASE/root/boot /mnt/SafeVolume/iocage/jails/plex/root/boot nullfs ro 0 0 |
+-------+-------------------------------------------
import discord
import asyncio
import games.poker
import logging as log
log.basicConfig(filename='last_run.log',level=log.INFO) # Setup logging
class CRTC_GameBot:
def __init__(self):
self.client = discord.Client()
import discord
import asyncio
import games.poker
import logging as log
log.basicConfig(filename='last_run.log',level=log.INFO) # Setup logging
current_game = None # initalize with a null game
client = discord.Client()
@client.event
import discord
import asyncio
import games.poker
import logging as log
log.basicConfig(filename='last_run.log',level=log.INFO) # Setup logging
current_game = None # initalize with a null game
client = discord.Client()
@client.event
#show interfaces gigabitEthernet 1/0/1 switchport
Name: Gi1/0/1
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
RackA#show interfaces gigabitEthernet 1/0/1 switchport
Name: Gi1/0/1
Switchport: Enabled
Administrative Mode: dynamic auto
Operational Mode: static access
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
RackA#show running-config interface gigabitEthernet 1/0/47
Building configuration...
Current configuration : 90 bytes
!
interface GigabitEthernet1/0/47
switchport access vlan 11
switchport mode access
end
SafeVolume (old)
# iocage start plex
No default gateway found for ipv6.
* Starting plex
+ Started OK
+ Using devfs_ruleset: 5
+ Configuring VNET OK
+ Using IP options: vnet
+ Starting services OK
+ Executing poststart OK
# diff -ruN /mnt/SafeVolume/iocage/jails/plex/config.json /mnt/ArchiveVolume/iocage/jails/plex/config.json
--- /mnt/SafeVolume/iocage/jails/plex/config.json 2020-04-23 20:23:19.324576483 -0400
+++ /mnt/ArchiveVolume/iocage/jails/plex/config.json 2020-04-23 10:39:58.836760053 -0400
@@ -68,7 +68,7 @@
"jail_zfs": 0,
"jail_zfs_dataset": "iocage/jails/plex/data",
"jail_zfs_mountpoint": "none",
- "last_started": "2020-04-24 00:23:18",
+ "last_started": "2020-04-23 14:39:58",
"localhost_ip": "none",
# zfs list | grep iocage/jails/plex
ArchiveVolume/iocage/jails/plex 5.99G 2.26T 368K /mnt/ArchiveVolume/iocage/jails/plex
ArchiveVolume/iocage/jails/plex/root 5.99G 2.26T 5.99G /mnt/ArchiveVolume/iocage/jails/plex/root
SafeVolume/iocage/jails/plex 4.75G 534G 184K /mnt/SafeVolume/iocage/jails/plex
SafeVolume/iocage/jails/plex/root 4.75G 534G 4.30G /mnt/SafeVolume/iocage/jails/plex/root