Neil Sabol's Blog - Information Technology (IT), Bikes, Etc.

   

Find and replace (sed) inside multiple files and directories WITHOUT SSH (shell) access

In the interest of up front honesty, the title of this post is a little misleading. Instead of the Linux commands “find” and “sed”, I will describe a process using WinSCP and PowerShell. If your web host offers SSH/shell access, finding and replacing a word or phrase in many files and directories IS generally accomplished with sed (or find + sed). If your web hosting provider DOES NOT offer SSH access (only FTP/SFTP/FTPS) performing a recursive find and replace inside multiple files and directories requires a little more creativity. Read more...

Microsoft (MS) Flow, Google Voice, and UberGallery: Post images or pictures to a website through text (MMS) message (free)

I have always been intrigued with real time integration of sms/text/mms messages and web applications. What is described in this post is certainly not unique - Flickr offers similar functionality with their Upload by Email functionality and I have seen other services with this feature. However, MS Flow offers additional flexibility in my opinion. For example, your target gallery need not be hosted by Flickr; you can deposit pictures submitted via text/mms to any webserver with FTP(S) or SFTP access. Read more...

Street Rambler (StreetRambler) outdoor elliptical bike replacement parts

I am the proud owner of a “Street Rambler” outdoor elliptical bike. Machines like this can be purchased on eBay or through Alibaba - Street Ramblers are basically a lower cost reproduction of the “Street Strider” elliptical. I suspect the difference in price is at least partially attributed to the quality of the parts and construction. Although it has been relatively reliable, when things go wrong, it is often a challenge to find proper replacement parts. Read more...

Comparing the Kickbike (kick bike) City G4 and Schwinn Shuffle scooter (review)

I had been a recreational cyclist for a long time but got to thinking about weight bearing exercise later last year (2016). This led me down the path of looking for something equally fun (and comparably paced) but weight bearing in nature. Enter the Kick Bike. I recalled seeing a cross between a bicycle and skateboard during my college days. I had no idea what it was at the time (and had honestly forgotten about it) but after a little online research, I discovered that what I saw all those years ago was a kickbike of some sort. Read more...

Microsoft (MS) Flow SFTP connector tips, tricks, and errors

The SFTP connector in Microsoft Flow has quickly become my personal favorite. It is quite robust - I am most pleased with its support of SSH key based authentication and SSH/SFTP ports besides 22 (the default). In light of this, I wanted to share some of my findings in hopes this will be of value to someone else. Quick tips Read on for more detailed information about these tips Read more...

FNBO Direct and PopMoney: Receiving or requesting money (payment)

As an FNBO customer, I was excited to learn that First National Bank of Omaha partnered with PopMoney to facilitate online payments. Recently, occasion arose where I needed to request (via email) that someone else transfer me funds (payment for service). I fired up FNBO Direct online banking and noticed the following: Looked promising (especially the “not seeing a payment you are expecting” bit), but as it turns out there is no way to request a PopMoney payment through FNBO Direct online banking. Read more...

Tuning Apache (httpd) mpm_worker under cPanel WHM for large (high end) virtual server

Over the last several years, I’ve worked a lot with cPanel (phenomenal product if you are in the market for a web hosting control panel - easy for sysadmins and developers). I’ve run a variety of web workloads on the platform and it never ceases to amaze me (and you cannot beat the EDU/non-profit licensing). At one point, I was tasked with tuning apache on a cPanel server with a slightly different work load (1 very heavily trafficked application) and was provided with a high performance virtual machine (example setup: 4 CPUs, 12 GB memory) to accommodate. Read more...

Rear tire replacement: Street Rambler (like Street Strider) outdoor elliptical bike

The Shimano internal hub shifter (Nexus 3 with SL-3S42 bell crank) and roller brake (IM31-R) on my Street Rambler was a new configuration for me (I’ve dealt with standard bike tire changes regularly) and I was slightly concerned about removing and reattaching the cables and connectors for the hub shifter and rollerbrake (and having a functional outdoor elliptical afterward). I was pleasantly surprised at how straightforward the process was and figured I would share. Read more...

Deleting specific log files by extension older than X days using PowerShell

Over the weekend, a colleague of mine approached me and asked about a method to delete log files over a specific age with a specific file extension on Windows Server. This sounded like an excellent task for PowerShell and the Windows Task Scheduler. A quick Google search yielded many options. The sticking point for this use case was the fact that the log folder contained various logs (different file names and extensions) for various purposes. Read more...