Delete windows updates + command line
There is the example for Update for Outlook that cause it to run in safe mode: wusa.exe /uninstall /kb:3114409 see wusa.exe /? for help.
Linux + Zoneminder VS Windows + Videonet
Just some notices about the headline. I tried both systems and there are my results and thoughts. So, in the beginning I installed Ubuntu 12-14 and Zoneminder + BT867 compatible card. There were 8 cams and I configured motion detection for 2 cams and festival to announce the weather. I had only 0.5 fps for […]
Reading Arduino serial ports in Windows 7 with Python + Pyserial
Copy-pasted from here: http://petrimaki.com/2013/04/28/reading-arduino-serial-ports-in-windows-7/ Here i am going to show you 3 working examples on how to read Arduino serial ports with windows. You are going to need following programs / tools: Arduino UNO Windows 7 Python + Pyserial Installing Python + Pyserial to Windows First you have ton install Python on your computer. This […]
Serial Port Temperature Sensors + Windows
Copy-pasted from here: http://martybugs.net/electronics/tempsensor/software2.cgi Overview On linux, the digitemp application is required to query the temperature sensor. There are various software applications that allow DS18S20 temperature sensors to be queried in Windows, but the easiest is the Windows port of digitemp. Installing digitemp Download digitemp for Windows, and extract digitemp.exe from the zip file. Note […]
MySQLTuner tool
It’s here: http://mysqltuner.com/ Run it and then: mysqlcheck -u root -p –auto-repair –check –optimize –all-databases Go to my.cnf and add: query_cache_size = 268435456 query_cache_type=1 query_cache_limit=1048576 as it recommended.
CentOS + tmpfs
I saw this in a report: /etc/cron.daily/archiveSnort.sh: Out of memory (Needed 3608488 bytes) Just decided to extend tmpfs: Modify /etc/fstab line to look something like this: tmpfs /dev/shm tmpfs size=1g 0 0
Run scripts in background
Just add & in the end: /usr/local/etc/script.sh & Run without user session: nohup script.sh & or nohup script.sh > /dev/null & In autostart scripts (rc.d, init.d) just use &
Powershell + Send html-file as body
Write-Host “Sending Email” $content = (Get-Content “d:\print.htm” | out-string) Send-MailMessage -to “you@test.com” -subject “Print Report” -from “printer@test.com” -body $content -BodyAsHtml -SmtpServer “server” Write-Host “Finished.”
Netsh + portforward
Create: netsh interface portproxy add v4tov4 listenport=1234 listenaddress=192.168.0.2 connectport=22 connectaddress=192.168.0.10 Delete: netsh interface portproxy delete v4tov4 listenport=1234 listenaddress=192.168.0.2
Exchange 2010 + allow users to manage contacts
Copy-pasted from: http://blogs.technet.com/b/rmilne/archive/2013/08/07/creating-rbac-role-to-delegate-contact-management.aspx Building Blocks We will need to permit: Management of Distribution Groups in Active Directory Creation and management of Mail Enabled Contacts in Active Directory Management toolset to manage the above Management of Distribution Groups Exchange 2010 does not allow a user to manage groups that they own by default. All of the […]