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
shader_type canvas_item; | |
uniform sampler2D noise_texture: repeat_enable, filter_nearest; | |
uniform sampler2D screen_texture: hint_screen_texture, repeat_disable, filter_nearest; | |
uniform vec2 position = vec2(0,0); | |
uniform float move_x = 1.0; | |
uniform float move_y = 1.0; | |
void vertex() { | |
// Called for every vertex the material is visible on. | |
} |
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
extends Node | |
var debug: bool = OS.has_feature("debug") | |
@onready var panel: Panel = Panel.new() | |
@onready var canvas_layer: CanvasLayer = CanvasLayer.new() | |
@onready var rich_text_label: RichTextLabel = RichTextLabel.new() | |
# @onready var theme: Theme = load("res://SurvivalScape.theme") # Your custom theme file | |
func _ready() -> void: |
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" |
NewerOlder