wget -v -O myfile.tgz -L https://xxxx.box.com/shared/static/xxxxx.tgz
NetApp Ontap Command line help
NetApp Commandline Cheatsheet
This is a quick and dirty NetApp commandline cheatsheet on most of the common commands used, this is not extensive so check out the man pages and NetApp documentation. I will be updating this document as I become more familar with the NetApp application.
Email Notification for specific Windows Application Event ID
I wanted to get notified for specific Windows Application Event log ID would appears; As unfortunately the Application does have such of feature/mechanism.
Continue reading “Email Notification for specific Windows Application Event ID”
Update and fetch data MySql records using python
I have decided to look further into python in order to progressively move some of my bash scripts, using python instead.
Some scripts (initially in bash) that I have used to update MySQL content, so below some examples of mechanisms used in python.
Continue reading “Update and fetch data MySql records using python”
Log rotation in bash
This is a little bash script that rotate logs as when the file reach a specified limit.
Monitor wlan0 Interface (Wireless) to avoid disconnection from Raspberry Pi
I had implemented my raspberry pi to use wireless network, unfortunately the connection might after a while disconnect, the only option that I have found was to run a script that check the connection and re-connect if network is down.
Continue reading “Monitor wlan0 Interface (Wireless) to avoid disconnection from Raspberry Pi”
Your Lotto numbers in python
I have written a little script which generate number for your next lotto ticket.
Schedule it in the crontab to get your number each day you do need it.
Synology restart Mail Server
I am including the command line that would allow to stop the Mail station (Roundcube) component and Mail Server (Postfix)
- /usr/syno/bin/synopkg stop \M\a\i\l\S\t\a\t\i\o\n;
- /usr/syno/bin/synopkg stop \M\a\i\l\S\e\r\v\e\r;
For starting, replace stop with start.
Reset root password on Synology (DSM 6.0.x)
After getting the DSM 6.0 upgrade, I could not login as root using SSH.
Even if I could prior the upgrade.
Continue reading “Reset root password on Synology (DSM 6.0.x)”
Allow Ping ICMP in Powershell Windows 2012
Continue reading “Allow Ping ICMP in Powershell Windows 2012”