Friday 28 February 2014

Linux: List all Users

Linux: List all Users

cat /etc/passwd |grep "/home" |cut -d: -f1

If the user is not in the /home directory, this will not show.

If you want to get all Users:
cat /etc/passwd |grep "/" |cut -d: -f1


Wednesday 26 February 2014

The Pomodoro Technique

Pomodoro Technique

The Pomodoro technique is a efficiency technique used to make your work faster and better.

Working in 20-25 minute Cycles. While in these cycles you should learn to block all external disturbances out. These may include facebook, cellphones and people. The hardest one, you may encounter is the people, since you cannot control those and you cannot control what they do, it is really difficult to get people. One solution to that, is to not work at work, or tell people what you are doing, and when they come to your desk show them your timers.

This does not only include doing the work, but also recap and reviewing your work.

Where to get started:


Wednesday 19 February 2014



So today I just woke up in a really upsetting mood. I was not feeling the day ahead of me and I had to drag myself out of bed. The day did not start off so well, but by the end of the day, it had surprised me and turned out to be a day to remember.

One thing that stuck with me was that, no matter how down and out you are, there is always something out there to look forward to, or be happy about.

I Hear something recently that really surprised me, Happiness makes you 30% more productive whilst working. Amazing now isn't it.

Here are some articles on the subject:
google results

and here is a picture to make you smile.

Today is a good day, and the only one that has control over it, is you.

#bearMan, having a good day.

Friday 14 February 2014

WebGate Agent - OHS Error

WebGate Agent - OHS Error

You can get the log in, the ohs log

[2014-02-14T09:11:11.3508+02:00] [OHS] [WARNING:32] [OHS-9999] [core.c] [host_id:] [host_addr:] [pid: 4255] [tid: 139799733962560] [user: root] [VirtualHost: main]  long lost child came home! (pid 13479)

I was trying to access the site from the IP address

Solution access it through the host_id.

If you need to add "" to your host file.


A very good video to watch, (M&M)

Why work doesn't happen at work

I was trying to write something about this video, but I just came to the conclusion that if you want, you should watch the video.


Friday 7 February 2014

Take on The Office

The Office

Companies spend so much money and time building an office space, but people don't go their to get work done, they go to the office to make their employees happy, to show they are doing something (To make their managers happy). People that go to the office, spend their time, trying to get time to work. They are not spending their time in the office working, but rather spending a few moments on the tasks at hand. Problems at hand are not really solved in the office but solved in a space of the individuals choosing, wither it be in the car, on a plane, or at home by the TV or in the Kitchen.

Once you step outside the office you get the time to solve these real issues. The day has been broken down into somewhat of an obstacle, where you are gathering moments in the day trying to get through some tasks. Inside the office, someone cannot really work efficiently, as soon as momentum is gained, something happens to stop it, halt.

The office in an environment of distraction and collaboration, a space most people cannot get work done. Offices and this environment may purposely fit for the general working, office clerk, but once you get into the industry I am in, where we need to really think about a problem or issue at hand. The creative juices up inside cannot start flowing until one really sits down and just has more than an hour or two to themselves. When in the office, how often do you have the hours to your self where you can really get that creativity poring out the crevices.

#bearMan working @home, in the office

Monday 3 February 2014

Google Analytics Alternative

Ok so I know many people, including myself, love Google Analytic's but what happens if for some reason, you need to hold a local server, or you are hosting an internal website that does not have internet access and thus you cannot user Google Analytic's.

There is a really good solution that I have used at a client. The server we were tracking did not have internet access. So we set up a VM that hosted this server.

Piwik is an awesome alternative for Google Analytic's, it may not offer as much variety as Google Analytic's but allows for local hosting and can be used for multiple sites. Piwik is for functional values just as good as Google Analytic's.

The Dashboard that they show as the demo, is the screen shot below. I really like the looks of it. What you can also do is create your own dashboard this allows for user customization.

There is also a way to get the widgets from links and then what you can do is you can incorporate the widgets into your website.

A Nice replacement for Google Analytics.