View vh.sh
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 $? |
View Install gnuradio on macOS
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 |
View github username search
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 |
View soco
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') |
View Microsoft Autoupdate in MacOS v4.xx Update Error
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 |
View PowerShell SMTP sender
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 = "HpOneTouch-Teszt@xxxx.hu" | |
$emailTo = "gyorgy.fleischmann@fnxs.hu" | |
$emailcc="CC" | |
$emailMessage = New-Object System.Net.Mail.MailMessage( $emailFrom , $emailTo ) |
View Linux increase root xfs partition size
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 |
View linux_pv_vg_lv_mkfs
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 |
View Db2 delete archive logs in every 10 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
while :; do find /tsmarchlog/tsminst1/TSMDB1/NODE0000/LOGSTREAM0000/C0000001/ -name '*.LOG' -mmin +1 -exec echo "{}" \; -exec rm -rf {} \; ; date; echo "Sleeping..."; sleep 600; done |
View X after sudo
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