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
{ | |
"VOIPEnabled": true, | |
"VOIPIssuer": "", | |
"VOIPSecret": "", | |
"VOIPAppUserId": "", | |
"VOIPAppUserPwd": "", | |
"VOIPVivoxDomain": "", | |
"VOIPAPIEndpoint": "", | |
"VOIPConversationalDistance": 14, | |
"VOIPAudibleDistance": 40, |
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
#!/bin/bash | |
# Launch Commcell GUI on Linux | |
if [ "$EUID" -ne 0 ] | |
then | |
echo "Must run as root (sudo)" | |
notify-send "Must run as root (sudo)" | |
exit | |
fi |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "CV TestCase", | |
"type": "python", | |
"request": "launch", | |
"program": "D:\\Program Files\\Commvault\\ContentStore\\Automation\\CVAutomation.py", | |
"args": [ | |
"-tc", "${fileBasenameNoExtension}", |
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
# Script is designed to output all Hyper-V Virtual Machine | |
# Config file location and disks | |
$VMs = Get-VM | |
Foreach ($VM in $VMs) | |
{ | |
Write-Output $VM.Name | |
Write-Output "---" | |
Write-Output $VM.ConfigurationLocation | |
Write-Output $VM.HardDrives.Path | |
Write-Output "" |
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
#!/bin/sh | |
#/etc/periodic/15min/motd | |
UPTIME_DAYS=$(expr `cat /proc/uptime | cut -d '.' -f1` % 31556926 / 86400) | |
UPTIME_HOURS=$(expr `cat /proc/uptime | cut -d '.' -f1` % 31556926 % 86400 / 3600) | |
UPTIME_MINUTES=$(expr `cat /proc/uptime | cut -d '.' -f1` % 31556926 % 86400 % 3600 / 60) | |
cat > /etc/motd << EOF | |
%--------------------------------------------------------------% | |
Hostname: `hostname`.`dnsdomainname` |
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
#!/bin/sh | |
UPTIME_DAYS=$(expr `cat /proc/uptime | cut -d '.' -f1` % 31556926 / 86400) | |
UPTIME_HOURS=$(expr `cat /proc/uptime | cut -d '.' -f1` % 31556926 % 86400 / 3600) | |
UPTIME_MINUTES=$(expr `cat /proc/uptime | cut -d '.' -f1` % 31556926 % 86400 % 3600 / 60) | |
cat > /etc/motd << EOF | |
%--------------------------------------------------------------% | |
Hostname: `hostname`.`dnsdomainname` | |
Uptime: $UPTIME_DAYS days, $UPTIME_HOURS hours, $UPTIME_MINUTES minutes |
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 time | |
import logging | |
import threading | |
import pymsteams | |
from django.apps import apps | |
class Bot: | |
threadName = "-BOT" |
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
# Get autoconfig status and store as variable $Status | |
$Status = netsh.exe wlan show autoconfig | |
# Switch autoconfig status | |
if ($Status -like '*enabled*') { | |
Write-Host "Disabling autoconfig" | |
netsh.exe wlan set autoconfig enabled=no interface="Wi-Fi 4" | |
} else { | |
Write-Host "Enabling autoconfig" | |
netsh.exe wlan set autoconfig enabled=yes interface="Wi-Fi 4" |
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
<lootlist> | |
<loot itemname="T2_WOOD" itemamount="1" weight="1889" labourerfame="2" /> | |
</lootlist> | |
<lootlist> | |
<loot itemname="T3_WOOD" itemamount="1" weight="1889" labourerfame="2" /> | |
</lootlist> | |
<lootlist> | |
<loot itemname="T4_WOOD" itemamount="1" weight="1889" labourerfame="5" /> | |
<loot itemname="T4_WOOD_LEVEL1" itemenchantmentlevel="1" itemamount="1" weight="100" labourerfame="5" /> | |
<lootlist> |
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
<!--LABOURER JOURNALS--> | |
<journalitem uniquename="T2_JOURNAL_WOOD" tier="2" maxfame="300" baselootamount="38" shopcategory="products" shopsubcategory1="journal" weight="0.15" unlockedtocraft="true" uiatlas="RefItemAtlas" craftfamegainfactor="0"> | |
<craftingrequirements silver="1000" time="0" swaptransaction="true" /> | |
<famefillingmissions> | |
<gatherfame mintier="2" value="300"> | |
<validitem id="T2_WOOD" /> | |
<validitem id="T3_WOOD" /> | |
<validitem id="T4_WOOD" /> | |
<validitem id="T4_WOOD_LEVEL1" /> | |
<validitem id="T4_WOOD_LEVEL2" /> |
NewerOlder