AWStats Remove Unwanted Stats and Domains

AWStats which comes packaged with CPanel is an Apache and other log parser to convert the log files from the web server into usable statistics. The reason AWStats is better than some “Real Time” stat systems is that the “Real Time Stat Systems” require JavaScript and often people can opt-out of them so they won’t appear in the stats. For instance, Google Analytics allows users to opt-out of being tracked. Or if the visitor doesn’t have JavaScript enabled, visitor won’t be tracked. Although Google Analytics has those “problems” it’s still useful, but we are here for AWStats.

Twitter API 1.1 Get Tweets

Twitter for a while have been pushing users to move to version 1.1 of their API. And now they are forcing you to since 1.0 has been taken down. For a lot of users this doesn’t matter since they use WordPress plugins or others of the sort. I liked using jsonp to pull tweets and not worry about it.

I put a little bit of time creating a simple PHP Twitter Library to pull your most recent tweet or tweets. This only works for Public Users and uses the Application Authorization method described below.

Creating Better Google Drive Spreadsheets

If you use Google Drive Spreadsheets and work with a lot of data, or just need a better way to quickly look at the data the following tutorial is for you. Even if you are unsure if you want to use Google Drive the follow tutorial will give you an idea of some of the tools Google Drive provides in its spreadsheet editor. If you don’t wish to read through all the steps you can view the video on the bottom of the screen that will go over all of the features below and how to do them.

Installing Linux with Flash Drive

Installing Linux or testing linux using a flash drive or thumb drive is very simple and fast. The reason you should use a flash drive to install linux is because you can try out a ton of versions of linux without continuing burning cd’s and dvd’s. There are of course a few requirements but nearly every computer since 2002 will be able to follow these steps.

The Requirements

  • 1GB or Larger Flash Drive
  • Computer with the ability to boot using USB / Flash Drive (nearly every computer)
  • Administrator Access to Format Flash Drive and run LiLi
  • Linux Live USB Creator (also known as LiLi) - Download LiLi

The Process

Now that you hopefully have everything above we can get started. Just to make sure, have LiLi installed. I’ve had issues with the portable version of it, so I suggest just installing it.

Visual Styles in Win32 API C GCC MinGW

If you are starting with GUI (Graphical User Interface) programming you may be having some issues with the styles not appear how they are “suppose to”. Buttons may look very old using the “3D Style” and not using the glowing gradient pulsing buttons we are so use to in modern Operating Systems such as Vista, Windows 7 and 8. Below I will explain how to get the Visual Styles enabled in C programming in the Win32 API. I had a lot of issues getting it working so hopefully this will help you out.