If you’re reading this, then you’re not alone. Both the x86 and x64 versions of Firefox 51.0.1 run slow as dog shit and bog the rest of my otherwise fast as hell computer down on a brand new install of Windows. It seems to happen when I’ve got lots of tabs open simultaneously for any length of time, which is always. Continue reading “Mozilla Firefox 51.0.1 Runs Extremely Slow”
Mac OS X – Install Zabbix Agent from Source
This isn’t too complicated, so let’s try to keep this short and sweet. In my case, I was installing version 2.4.7 of the Zabbix Agent at the time, but I’ve made it to where you can download the current version of the source if you want. Continue reading “Mac OS X – Install Zabbix Agent from Source”
Server 2012 – Force a Network Type with PowerShell
Here’s an annoying one that I run into quite frequently. On Windows Server 2012, it appears there’s not a quick and easy way to change the network type for a network connection other than to use PowerShell. The problem that I typically run into, is that firewall rules for a specific program are only set for the “domain” profile, so here’s how to force the network type on some interface. This is just for my own personal reference, but I took this info directly from here. Continue reading “Server 2012 – Force a Network Type with PowerShell”
Batch Script – How to Check if the Current User is a Member of a Group
Here is a batch script, using only DOS commands, to check if the current user is a member of a specific group. The way it is currently written, you can call a batch file containing this code using the CALL command and pass the short NetBIOS domain name (or possibly the computer name if it is a local account) and the group name to search for as arguments, and it will return a “1” if the user is a member of the specified group and “0” if they are not. Just be sure to put quotes around any group name that contains any spaces. Continue reading “Batch Script – How to Check if the Current User is a Member of a Group”
Bash Script – Backup All Databases to Separate Files
Here’s a cheap ass script to tar up and dump all of your MySQL databases to separate files using the Debian system maintenance account. Sure there’s plenty of room for improvement here, but hey, it gets the job done and is perfect for a midnight cron job.
Based off of this with a few of my own customizations.
Continue reading “Bash Script – Backup All Databases to Separate Files”
Raspbian – How to Run X11vnc on Startup
Let’s keep this short and sweet, here’s how to run x11vnc server on startup with your Raspberry Pi running the Raspbian OS. Obviously, if you don’t have x11vnc installed beforehand, then you’re a dumbass blankety blank blank and you should die.
Either SSH into the Pi (as pi) or open up a terminal and do one of the following:
Continue reading “Raspbian – How to Run X11vnc on Startup”
Ultra VNC – Send Custom Keys Workaround and ASCII Reference Chart
Unfortunately, not only is the option considered experimental, but the Ultra VNC documentation on how to “Send Custom Keys” is less than ideal, and remembering the decimal equivalent of each key on the keyboard is simply not an option for me. I currently have no want or need to know this information by heart, so I’m not even going to attempt to do so. So, when desperate times call for desperate measures, it’s time to start thinking on your feet and stop pouting like a little man-girl, you’ve still got options.
Luckily, if your running any newer version of Windows (I guess if you want to call it luck), you’re a slug-headed, loser douche, extraordinaire (present company included, I just wish the Linux desktop environments weren’t so damn slow) that doesn’t care about his or her right to computer privacy…Wait, I mean, luckily, you can use the On-Screen Keyboard as a workaround for this, and you can send whatever custom key combinations you need. Continue reading “Ultra VNC – Send Custom Keys Workaround and ASCII Reference Chart”
Auto Logon to a Workstation on a Windows Domain
There are hundreds of articles on this subject, so I’m not going to spend any time on this. This is just for my own personal reference in the future.
Navigate to the following registry key:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Create/Edit the following keys as string values:
DefaultUserName DefaultPassword DefaultDomainName
Find the key “AutoAdminLogon” and set the value to “1”.
Batch Script – Parse MS Exchange IIS Log File, Filter All External Requests, and Email It
I needed a way to track which Exchange users were remotely retrieving their emails outside of the office on their phones and other email clients, so I pieced together this batch/pseudo VB script that can be ran from the Windows Task Scheduler at midnight. The only dependency/third party app required is the MS Log Parser executable. Also, for the SQL query to filter out the proper internal networks from the log file, you will have to edit the LOCALSUBNET and CHARLENGTH variables.
Continue reading “Batch Script – Parse MS Exchange IIS Log File, Filter All External Requests, and Email It”
Mac OS X – Export Google Chrome Browsing History to CSV File from the Terminal
This post is just for my own personal reference, but you can use it too if you like. Just make sure to change the “UserName” below to whatever that user’s home directory is. I’ve mashed the code together from the following sources, changed it to export in csv format (making it easier to import into Excel or Open Office for further manipulation), made it into a one-liner for sake of ease, put the data in ascending order based on last URL visit date, and converted the dates into human readable format. Continue reading “Mac OS X – Export Google Chrome Browsing History to CSV File from the Terminal”