Categories
Tags
- ALUA
- articles
- awk
- BeaST
- BSDMag
- BSD Now
- C
- cache
- CLI
- coding
- CTL HA
- dual-controller
- empty
- Excel
- expect
- FreeBSD
- games
- GitHub
- gmirror
- High Available
- history
- Hitachi
- HP
- IBM
- interactive tools
- iSCSI
- IT
- linux
- lol
- news
- performance
- ping
- PowerShell
- press mentions
- Python
- quorum
- SAN
- scripts
- security
- shell
- SOCKS
- Storage
- Storwize
- SVC
- Tips & tricks
- UNIX
- VirtualBox
- web
- Windows
- ZFS
Recent Comments
mezzantrop on TS-Warp 1.2.0 is out mezzantrop on TS-Warp 1.2.0 is out Chris Pinnock on TS-Warp 1.2.0 is out Valuable News… on The real terminal screen-saver… mezzantrop on The real terminal screen-saver… Archives
- May 2024
- November 2023
- October 2023
- June 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- October 2022
- September 2022
- August 2022
- June 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- August 2021
- February 2021
- December 2020
- November 2020
- October 2020
- August 2020
- July 2020
- June 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- October 2019
- May 2019
- April 2019
- March 2019
- January 2019
- December 2018
- November 2018
- October 2018
- August 2018
- July 2018
- June 2018
- March 2018
- January 2018
- November 2017
- September 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- November 2015
- October 2015
- September 2015
- July 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
Top Posts & Pages
- A nice way to return string values from functions in Bash
- Short memo on COUNTIFS(), SUMIFS() and VLOOKUP() functions in MS Excel
- Executing a batch of commands on multiple IBM SVC/Storwize storage systems
- Excel formulas syntax
- svcstats.py - Report IBM SVC/Storwize storage system performance statistics in CLI using SMI-S interface
- My article about scripting is included into the "IBM System Storage SAN Volume Controller and Storwize V7000 Best Practices and Performance Guidelines" Redbook
- A single write locks the entire SQLite database for both: reading and writing
- Grouping commands in the Bourne Shell (sh)
- Quick reference for adding and attaching drives in VirtualBox CLI
- Accessing IBM SVC/Storwize devices with Python and SSH
Category Archives: Tips & tricks
Beating eval() slowness in Python
Turned out, eval() function, which evaluates and executes the specified expression, is dramatically slow in Python, as the compilation is done on the fly. Seeking for a way to enhance the performance, I have stumbled at the Stackoverflow discussion which … Continue reading
PAM authentication useful links
Sample PAM Application and Sample PAM Conversation Function from FreeBSD documentation Writing Conversation Functions by Oracle example application from The Linux-PAM Application Developers’ Guide
NoneType issues in chains of inherited dictionaries in Python
There are good hints to avoid errors like: in the brilliant Python tips 1: beware of Python dict.get() post.
A single write locks the entire SQLite database for both: reading and writing
This fact is quite an unpleasant thing for a database with a lot of writes and relative seldom reads like, for example, a small packet capturing tool I write for my router. The classical mechanics of SQLite locking is described … Continue reading
A quick memo on creating virtual machines using VirtualBox CLI
Sorry people, I have to leave it here because at my age I still have trouble organising records in a way that allows me to find notes without being surprised by the cryptic scribbles written on them*. VirtualBox has a … Continue reading
Posted in IRL, OS in the VirtualBox, Tips & tricks
Tagged CLI, UnixWare, VBoxManage, VirtualBox
2 Comments
Printing lines side by side in shell
Everybody knows, there is paste command in every *NIX to print two files side by side or join which is obviously used to join text-files by their key-fields. And there are a lot of examples and tutorials over Internet, so the subject is as … Continue reading
A nice way to return string values from functions in Bash
What can be as trivial as returning a value from a function in a scripting language? For those who has ever dealt with Bash, the answer turns out to be not so obvious. First, there are multiple options to do … Continue reading
Posted in Misc, My projects, Tips & tricks
Tagged Bash, coding, functions, grouping, scripts, shell, subshell, Tips & tricks, UNIX
Leave a comment
Sorting Tumblrs you are following by their last activity
It seems, migration to GitLab stimulated me to code more in unusual for me languages and environments. First, it pushed me to do something in PowerShell: A short script to change audit rules on a file or a directory in … Continue reading
Posted in My projects, Tips & tricks
Tagged Firefox, follow, JavaScript, scripts, social networks, sort, Tips & tricks, Tumblr
Leave a comment
Quickly report alive IPv6 addresses on the network
While searching a robust solution to discover all alive hosts on the local IPv6 subnet, I have found the easiest way except, probably, ndp is to ping … no, not each of them, but the multicast address ff02::1 and then … Continue reading
Posted in Misc, My projects, sp_ping, Tips & tricks
Tagged awk, ICMP, IPv6, multicast, network, ping, scan, scripts
Leave a comment