Blog

AWS CLOSE_WAIT socket problems!

A buildup of sockets in CLOSE_WAIT state may indicate an application programming error. A CLOSE_WAIT socket is a socket in which the connection has received a FIN and has yet to be closed by the application. In this state, it is the responsibility of the application to close the socket, although the operating system will…
Read more

Excel – Lookup value in column and return value from another column

You can build a lookup that allows you to specify the lookup column and return value column completely independently, and also control of the nature of the approximate match, if not exact. Here is the full function: =INDEX(Return_value_range, MATCH(Lookup_value, Lookup_value_range, Match_type)) Return_value_range – The range that holds the return values Lookup_value – The value you…
Read more

Go Daddy and PHP.ini file.

If you are using GoDaddy and hosting Linux with them, you may be needing to modify the PHP.ini configuration file. The PHP initialization files can manage form, server, and environmental variables as well as server-side cookies, temporary directories, error display, and error logging. First, you need to know how to modify it (or where to…
Read more

Linux Helpful Commands

Here is a list of some helpful Linux commands (all these commands assume you are a ROOT user): Need to search all your files, on your server for a word(s)? grep -r "SEARCH WORDS HERE" . Tip: make sure to end with the "." as it is the wild card that will search all file…
Read more

How to clone a hard drive to a new solid state disk (SSD)

Installing a solid-state drive (SSD) is one of the best upgrades you can make to your computer, but migrating your Windows installation can be tricky, because your data might not all fit on the drive. Here's how to install an SSD without reinstalling Windows from scratch, and moving all your personal files and programs.  Basically,…
Read more

FTP PowerShell Script

Automated PS script to run a FTP via Windows Task Scheduler using: Powershell.exe -ExecutionPolicy Bypass -command ".'C:path\to\SCRIPTNAME.ps1' optional argument -WindowStyle Hidden For console testing, use Set-ExecutionPolicy RemoteSigned   or --bypass   [sourcecode language="plain"] # Location where csv file is to be created, with results from query. $dir = Get-ChildItem -Path "PATH TO DIRECTORY HERE" | Sort-Object…
Read more

Transferring a WordPress Site

If you are needing to transfer an entire WordPress site (entire meaning EVERYTHING) than here is the plugin you need! https://wordpress.org/plugins/duplicator/ Install it, activate it. Go and make a backup/transfer of your entire site Upload the 2 files it creates, installer.php and the backup zip file to your new site Go to your new site…
Read more

How To Modify An Existing DHCP Scope and Subnet

After searching through a lot of tutorials and  how-to's I created a step-by-step tutorial of how to change a DHCP scope.  Probably because you are running out of IP's to had out from your DHCP server.  First here is a IP Subnet Calculator. CMD: netsh dhcp server \\”Server name” scope “scope subnet name” dump>c:\dhcp.txt Take…
Read more

Logon screen turns black in Windows Server 2012 R2

When you try to log on to a Windows Server 2012 R2-based computer, the logon screen turns black after you enter the credentials. Then, the computer becomes unresponsive. Note: The computer is unresponsive even if you press CTRL+ALT+DEL Here is the fix: https://support.microsoft.com/en-us/kb/2897632 This issue occurs because an error occurs when the system tries to…
Read more