Sep 16 2013

Conjurer Attack Macro

Tag: Final Fantasy 14:ARRerm @ 7:18 pm


/echo Stone 1
/ac "Stone"
/wait 3
/echo Aero 2
/ac "Aero"
/wait 3
/echo Stone II 3
/ac "Stone II"
/echo ===[Conjurer Attack Complete]===


Sep 16 2013

prime factorization

Tag: Homeworkerm @ 6:31 pm

Today I learned an easy way to do prime factors from my son. We were working on his homework. We’ll build a prime factor tree to accomplish this. I know a lot of you already know this stuff, but I don’t think I learned it in school, and if I did. I have forgotten it.

In case you don’t know what a prime number is, it’s a number that can’t be divided into any other number and get a 0 remainder.

I believe prime numbers up to 13 are.
0, 1, 2, 3, 5, 7, 9, 11, 13

However we aren’t going to use the first 2 because 0 and 1 can be divided into anything. We’re trying to find the primes from 2 to 13.

Pick a number any number any number.

  80
 /  \
8   10

8×10 = 80

     80
    /  \
   8    \
  / \    \
[2]   4   \
          10

2 x 4 = 8
We’ve found our first prime which is 2.

     80
    /  \
   8    \
  / \    \
[2]   4   \
     / \   \
   [2] [2] 10

We’ve now found our next prime numbers because 2 x 2 = 4
So far our lowest prime numbers are 2 x 2 x 2 = 8

     80
    /  \
   8    \
  / \    \
[2]   4   \
     / \   \
   [2] [2] 10
          /  \
        [2]  [5]

We have now found our last 2 prime numbers 2 and 5.

So in the end our prime factorization is: 2 x 2 x 2 x 2 x 5 = 80

I’m so glad my son is teaching me math. This is fun stuff.


Sep 15 2013

Arcanist Macro

Tag: Final Fantasy 14:ARRerm @ 10:26 pm

You may need to remove /ac “Areo” if you don’t have it, but this is what I’m using. Pointers given to me by my guild leader Club.


/echo .
/ac "Bio"
/wait 2.5
/echo ..
/ac "Aero"

/wait 2.5
echo ...
/ac "Miasma"

/wait 2.5
echo ....
/ac "Ruin"

/wait 2.5
/echo ===[Arcanist Attack Complete]===

You can run while casting Bio & Aero

/echo .
/ac "Bio"
/wait 2.5
/echo ..
/ac "Aero"

/wait 2.5
/echo ===[Arcanist Running Attack Complete]===


Dec 27 2012

php trash day script

Tag: phperm @ 10:25 pm

Trash days on Monday suck.
I constantly forget to take out the trash on Saturday when there is a holiday on Monday. I dusted off the old trash-day-php script and installed it.

Installation is pretty simple.
Edit the script with the values you want.
place it in /etc/cron.daily/trash-day-php
chmod +x /etc/cron.daily/trash-day-php

cron doesn’t like . in filenames. Thats why I named the file trash-day-php not trash-day.php.

To test your email just run /etc/cron.daily/trash-day-php –test

Continue reading “php trash day script”


Dec 07 2012

enable/disable hibernate/suspend pygtk status icon

Tag: pygtkerm @ 12:33 am

Every once in a while my machine runs stuff in the background, like backups, db dumps and whatnot. This obviously causes performance issues at times, but among other things I don’t want to shutdown during these processes.

So I created a simple status icon to warn me if one of those processes were executing so I wouldn’t shutdown the machine, and it also will disable hibernate/suspend.

I figure I’d share it with the world.

Continue reading “enable/disable hibernate/suspend pygtk status icon”


Sep 12 2012

python command line bandwidth monitor

Tag: pythonerm @ 8:20 pm

In a previous post I wrote a bandwidth monitory in php. It was running about 300k (on my laptop it was < 100k), and figured it was time to test out my python foo.

This version also displays a line similar to this at the top of your terminal window:
eth0:RX:600b TX:944b Av:77b eth2:RX:0b TX:0b Av:0b

Usage is simple:
$ ./bw.monitor.py & htop
Continue reading “python command line bandwidth monitor”


Sep 07 2012

python, pygtk crumblist

Tag: pygtk,pythonerm @ 10:13 am

I needed a hbox that would automatically take children widgets from one row and put it into another row depending on the width of the widget. This is similar to how html elements are handled on a web page.

The desired result was to basically make a crumb/tag list with a close button that you could easily remove elements from.

Continue reading “python, pygtk crumblist”


Aug 30 2012

php command line bandwidth monitor

Tag: phperm @ 10:55 am

I wrote this quick & dirty bandwidth monitor for use with htop. It also displays the average bandwidth for the last 10 seconds.

It displays a line similar to this at the top of the screen:
eth0:RX:600b TX:944b Avg:77b eth2:RX:0b TX:0b Avg:0b

Usage is simple:
$ ./bw.monitor.php & htop
Continue reading “php command line bandwidth monitor”


Next Page »