Tag Archives: Tip

Tip: CPU Scaling Performance

There is a GNOME Applet included by default in Ubuntu that allows you to adjust your CPU scaling frequency, which most hardware supports. You can right click any panel and select Add to Panel, then select the CPU Frequency Scaling Monitor applet. This is a misleading name because it does more than just monitor the

Tip: Force your GNOME panel to reload

If you’ve installed a GNOME Applet, but you can’t see it in the Add menu, then you’ll either have to reload gnome-panel or wait a while. Reloading isn’t the cleanest thing, but you can do it by executingkillall gnome-panel and then gnome-panel via ALT+F2. Doing this in a normal terminal isn’t advised, because if that

Tip: Append to an array with + operator

You can use the addition and increment operators in PHP to concatenate arrays. For example, $c = $a + $b; If you’ve used array_merge() to do this in the past, it’s important to note the difference between merging arrays and concatenating them. When you merge they keys are used to determine how the resulting array

Tip: Don’t close your PHP tags

Adding a closing ?> to your <?php tags is actually optional, and you should avoid using it for scripts that will only be included.