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 | |
export SYNOPKG_PKGDEST=/volume1/\@appstore/VirtualHere/ | |
/var/packages/VirtualHere/scripts/start-stop-status stop; echo $? | |
> /var/log/virtualhere.log | |
rm /volume1/@appstore/VirtualHere/config.ini | |
/var/packages/VirtualHere/scripts/start-stop-status start; echo $? |
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
brew uninstall gdk-pixbuf librsvg adwaita-icon-theme cppzmq fftw gsl atk gsettings-desktop-schemas hicolor-icon-theme libepoxy gtk+3 berkeley-db aften jack log4cpp portaudio py3cairo pygobject3 qt@5 pyqt@5 pyyaml qwt-qt5 soapysdr soapyrtlsdr fmt spdlog uhd orc cpu_features volk |
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
https://api.github.com/search/users?q=FleXoft+in%3Ausername |
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 soco | |
from soco import SoCo | |
speaker_list = list(soco.discovery.scan_network()) | |
speaker_list[0].player_name | |
speaker_list[0].mute | |
speaker_list[0].mute() | |
speaker_list[0] | |
my_zone = SoCo('192.168.0.2') |
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/launchctl stop /Library/LaunchAgents/com.microsoft.update.agent.plist | |
/bin/launchctl unload -w /Library/LaunchAgents/com.microsoft.update.agent.plist | |
/bin/launchctl load -w /Library/LaunchAgents/com.microsoft.update.agent.plist |
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
$emailSmtpServer = "smtp.xxxx.hu" | |
$emailSmtpServerPort = "25" | |
$emailSmtpUser = "" | |
$emailSmtpPass = "" | |
$emailFrom = "[email protected]" | |
$emailTo = "[email protected]" | |
$emailcc="CC" | |
$emailMessage = New-Object System.Net.Mail.MailMessage( $emailFrom , $emailTo ) |
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
# Base source: https://www.miarec.com/doc/administration-guide/doc1012 | |
fdisk /dev/sda | |
poweroff | |
increase disk size at VMware side | |
fdisk /dev/sda | |
n | |
p |
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
pvcreate /dev/sdc1 | |
vgcreate vtl-media /dev/sdc1 | |
lvcreate -n lv_vtl-media vtl-media --size 1500G | |
mkfs.xfs -L vtl-media /dev/mapper/vtl--media-lv_vtl--media | |
cat /etc/fstab |
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
while :; do find /tsmarchlog/tsminst1/TSMDB1/NODE0000/LOGSTREAM0000/C0000001/ -name '*.LOG' -mmin +1 -exec echo "{}" \; -exec rm -rf {} \; ; date; echo "Sleeping..."; sleep 600; done |
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
xauth add $(xauth -f ~flex/.Xauthority list|tail -1) |
NewerOlder