Category: Scripts

Instantly populate a FileZilla fzdefaults.xml file and distribute

A group of users needed to change from one FTP client application to another. There was no conversion available for the original FTP application, only a spreadsheet that had been maintained. There was a need to bulk add a couple of hundred ftp accounts into a new FTP client. The selected FTP client is FileZilla. A little known tidbit about…

Read More »

Setup JBoss on Ubuntu 8.1.0 Server Edition

A recent task was to setup a JBoss Application Server on a Linux box. I created an Ubuntu 8.10 server virtual machine on a VMware Workstation. This was a fresh install of the core operating system only, no optional installation packages were added during the installation. I started from scratch, as too many guides make too many assumptions in their…

Read More »

Autorun JBoss on Red Hat Enterprise Linux 5 (RHEL5) Server

You already have JBoss ready and operational. JBoss can be started through a command line or through a shell script that you have created; however, these steps are manual and an automated approach is desired. The goal is to automate JBoss as a service or daemon. There are many, many tutorials that are all over the internet that offer scripts…

Read More »

Create a service for JIRA on CentOS 5 or RHEL 5

Atlassian JIRA is a bug and issue tracker. Atlassian JIRA lets you priorities, assign, track, report and audit your ‘issues,’ whatever they may be — from software bugs and help-desk tickets to project tasks and change requests. After installing JIRA, on a CentOS 5.2 Linux installation, I wanted to automate the starting and stopping of JIRA by creating a service….

Read More »

WordPress – Global Translator Plugin Fix

Global Translator is a free and open source WordPress Plugin which is able to automatically translate your blog into different languages. After activating the Global Translator plugin, it is displayed under the Admin Settings as Global Translator. However, the link is incorrect and will not display. The link selects an absolute path that is incorrect. https://it.megocollector.com/wp-admin/:/…/it/wp-content/plugins/global-translator/options-translator.php The plugin is still…

Read More »

SQL Query to find duplicate rows

I needed a SQL query that would parse through hundreds of thousands of records and list duplicate content. I found a SQL query that would work and made my own modifications to it so that the query may return the desired results. This is one of those things I will not remember so here is the script. source Even though…

Read More »

CentOS 5.2 Linux install error on VMWare

Before, I continue, I want to preface this with I am a novice with Linux. Having played with Ubuntu versions 6 through 8, I never really could get into this particular distro of Linux as I understand that all root activity must be performed in a terminal windows with a prefix of sudo. I recently downloaded Red Hat Enterprise 5…

Read More »

Setup JBoss on Red Hat Enterprise Linux 5 (RHEL5) Server

A recent task required an installation and setup of a JBoss Application Server on a Linux box. I originally selected the Ubuntu 8.0.4 LTS Server Edition for this task since I have had a little more experience with Ubuntu. I have graduated to Red Hat Enterprise Linux 5.2 (RHEL) and CentOS 5.2. I created A RHEL virtual machine with VMware…

Read More »

Innounp, Inno Setup Unpacker 0.23 (Build: 080824) supports INNO Setup 5.2.3

INNO Setup is a free installer for Windows programs available at JRSoftware. There is no official unpacker – the only method of getting the files out of the self-extracting executable is to run it. An open source utility called innounp.exe is maintained at Sourceforge. Sourceforge has maintained version 0.19 online for over a year, however, 0.20 also exists from Sourceforge,…

Read More »

WordPress LDAP Authentication

I wanted to enable LDAP in an instance of WordPress 2.6.2. To do this was not as simple as I had hoped. I spent a little over an hour trying to implement something that seemed to be self evident. After some research and testing and once all the pieces were identified and correctly configured, I finally got it working. The…

Read More »

Disable firewall on Red Hat Enterprise Linux (RHEL) Server

Using a Windows box with Putty to install and execute jboss with it’s own Tomcat instance using the default port of 8080 on a fresh built Red Hat Enterprise Linux box, everything looked to be fully operational; however, I could not access the web address from a remote box. I quickly realized that the firewall was fully operational (from previous…

Read More »

Decoding the obfuscated base64 php

WordPress is quite versatile. The ability to customize, tweak, manipulate code, and or change plugins and themes are among the top reasons that it is so popular today. However, there are those who maliciously and intentionally add code that generally cannot be changed. This code is often encrypted or obfuscated so that it may be masked as legitimate code. Often…

Read More »

Setup JBoss on Ubuntu 8.0.4 LTS Server Edition

A recent task was to setup a JBoss Application Server on a Linux box. I had selected Ubuntu 8.0.4 LTS Server Edition for this task. I created an Ubuntu virtual machine on a VMware Workstation. This was a fresh install and the only optional installation package added during the installation was LAMP, which should have nothing to do with the…

Read More »

Apply SP1 to Windows Vista and lose search

Ever since there has been a Microsoft Windows there has been some sort of easily accessible search feature. All the way through the ever troublesome Microsoft Windows Vista. However, after applying service pack 1 to Microsoft Vista, the search is removed from all the context menus. According to one source, the removal of the contextual search is as a result…

Read More »

WordPress – How to Move Blog to New Domain or Location

In most cases, the host of a WordPress installation is not the same as the test installation. In the case of testing plugins, themes, and WordPress versions, an exact installation of the original WordPress install would be the best scenario. In other cases, a WordPress installation hosted by an ISP may need to be copied to another ISP. A name…

Read More »

Webtrends SDC Tagging

A method to see what SDC is sending to the SDC server copy and paste the following script into the address bar and press enter. To make a printable view The article also suggests, that if the above javascript does not return any results, use the following code for earlier versions of SDC tagging. javascript:alert(gImages[0].src); javascript:document.write(gImages[0].src); Note: I have tested…

Read More »

IIS Logs – A script to decompress 1000’s easily.

I needed a way to decompress a folder of gzipped IIS logs so that I may run Microsoft Log Parser against them. Instead of using Windows Explorer to select all the files and put into memory to attempt to extract, it is more feasable to run a command line script to select each file one by one, extract it, and…

Read More »