Wednesday, July 1, 2015

Information Dump: Comptia A+ 801 Study Guide

I was originally going to post this in pieces, however not only will that take a lot of work due to how the formatting is, but it would also be the worlds biggest pain if I need to update anything. As a result, I am uploading it to Google Drive and docs or whatever. Yay! A few things to note.

  1. This is very cut and dry, basically like a quick reference or "cheat sheet"
  2. Not all the information is necessary to be memorized
  3. I make no guarantee that there are no errors
  4. Stuff may and most likely will change over time
Now I post this for those looking for some free study material and it's basically notes I was making while I was studying.

So here's the information from me to you.

[CLICK HERE]

*** Currently it is missing some stuff. I am in the process of finishing it, so check back every so often. The 802 should be following shortly after I finish this one and then possibly a Security+ study guide after that.

Friday, June 19, 2015

Gadget Review: Fitbit Charge HR

I had originally purchased the Fitbit to monitor my sleep. Suffering from insomnia during the summer and also finding out that sometimes I appear to wake in a panic and don't remember doing so, I figured monitoring my sleep could reveal something. I have not had it for too long, however there are some things I feel the need to talk about with it.

Now the first thing to note is physically how it is wearing it. The material is rubbery but no discomfort with the band. The actual metal buckle cut into my wrist one night when I fell asleep on it. The rubbery texture means it's pure hell if moisture gets under it. The actual heart beat monitor on it likes to leave a square indent no matter how loose I make it, if I make it any looser it would slide too much and get really annoying. All in all, about as comfortable as any Casio I'd wear if I wore watches.

The screen itself is good, bright and readable. The single button to cycle through everything is mildly annoying if I bump past the screen I wanted.

Now as far as the tracking goes, let's start with the heartbeat monitor. It seems good, although sometimes I question its accuracy. The pedometer is very inaccurate. It's set to being on my dominant hand and it still registers any up-down movement as a step seemingly nine times out of ten. The monitor for stairs, there are no describable words for how terrible it is. I can run up and down a ladder or stairs or do steups and get no change. Meanwhile I know someone who never uses any stairs and can go up 10 flights of stairs in a day. When it comes to monitoring calories burned, some days it seems very high, other days it seems very low. So I couldn't even guess if there is any real accuracy there.

Now another thing to talk about is the distance measuring. This is guessed based off of your steps and the stride length (I never entered that information because because). This means that is is as accurate as the pedometer. So I walk about a mile every morning laying in bed petting my dog. Enough said.

Now the automatic sleep monitor. According to stuff online, it determines when you fall asleep by a lack of movement and low heart rate. Seems accurate enough. It also logs "restless sleep." This is when you move a little from tossing and turning. If you sleep with someone else, these logs can look very similar. It can also log if you "wake up." This can also appear if you sleep with someone who disturbs the bed enough when they wake up and you're still asleep. I would venture to guess this is about the best it can do on accuracy and it seems rather accurate for me.

There is also an activity log based on the heart rate monitoring. This means anything that gets your heart going counts as activity, be it exercise, an exciting movie, video games or porn. So there's that.

Now it also comes with a way to sync to your computer and to your phone. The computer uses a dongle and the phone uses bluetooth. So I don't bother syncing anything unless I get curious otherwise the bluetooth would kill my phone too quickly and bluetooth security is not really the greatest thing in the world.

Now aside from the automatic tracking and graph generations, it also includes basically a food journal, exercise log, water intake log and weight log. I don't use any of these because I am not going to take my phone out every time I want to eat, drink or exercise. If I were really interested in that, I would more than likely write it down by hand. But I'm not so I don't. I won't go on a rant about dietary needs (even though I do in real life whenever I hear the word diet), but a food journal isn't really necessary unless you have a real medical reason for needing to know. Plus, seeing I eat McDonalds, pizza rolls, ramen and every candy I get my hands on won't change me doing all those things. I'm 6'2" and 160 lbs and have been for eight years. So take that. Also, drink water when you're thirsty and exercise for about 15 minutes a day and you'll be perfectly healthy. Hrumph.

Now that that is out of my system, let's move on to the stuff that actually genuinely irritates me. First, I cannot remove "goals" from the thing. I don't care how many steps I take, floors I go up, calories I burn or water I intake. There are no steps in my house but it won't let me remove that or set it to zero. I just don't have any goals for any of that because I don't care. I was curious about the sleep monitoring, enjoy the heart rate graphs every now and again, but that is it. Let me be lazy without this whole goal overtone. The actual app design is okay and the website is okay as well. It's easy enough to use. One feature I think would be nice is to have an alarm set a certain number of hours after it registers you falling asleep.

Speaking of, I forgot about the silent alarm. It works for me because I'm a light sleeper. The sound of the vibration motor is enough to wake me up. Doesn't work so well for heavy sleepers, though.

At the end of the day, I would say it is an annoying novelty that might be interesting to people really into working out and dieting, but does very little in the way of leading to a healthier lifestyle. Oh, and if you're curious, I have taken about 50 steps in the process of typing this. As far as has it helped me figure anything out about my sleep... well it just lets me know I sleep consistently badly.

Sunday, January 19, 2014

Bulk File Renaming

While in the process of transferring music and shows to a media server, I noticed an annoying problem. All the file names were formatted differently than I wanted. After manually changing files in one folder and realizing how long it took, I thought there must be an easier way. After a very short Google search, I figured what a better way to support what I need than to make such a program myself. So I created rename.py. It is a command line utility that allows bulk renaming of files and/or directories, supporting basic stripping, regular expression matching and Python string formatting.

You can find the download link for it here.

Now here is a quick rundown on ways to use it.

#strips first 4 chars off every file
./rename.py 4
#strips in the Music/5FDP folder
./rename.py -p Music/5FDP 4
# Takes any file in Music/RATM that looks like "something - somethingelse"
# and changes it to RATM.somethingelse
./rename.py -p Music/RATM -r ".+ - (.*)" "RATM.{0}"
# help for more info
./rename.py -h

There are other options like -d for including directories and -o for only directories. Named groupings are also supported, for more information, it would be best to look into regular expressions and Python's str.format() to fully utilize this tool.

Thursday, December 19, 2013

Purge old man pages for apropos

This is something I wanted to do for a while on Ubuntu, and I'm not sure if it will work on other distributions. The main problem is that I would remove a program and the man page for it would remain. This gets annoying when I'm searching for stuff and end up double checking on what was removed or decide to try a command I removed. The solution is simple, but takes a few minutes to run. As root, run these commands.

cd /usr/share/man
rm -R /var/cache/man
mandb

As simple as that and all the old stuff gets removed. This just simply removed the cached manual pages then reconstructs it.

Monday, September 23, 2013

Verizon Samsung Galaxy SIII Rooting and Unauthorized Software

*** This includes information for getting back the original phone setup without losing data and can be used for rooting and unlocking the bootloader (see near end of post)

I was playing around with my GS3 that I had rooted, and I wanted to try out a custom ROM. I didn't bother reading about it and am still pretty new to smart phones, so I risked screwing up or even bricking my phone. So I got the custom ROM on their and restarted my phone and was met with a yellow triangle and a warning about detecting unauthorized software and to take my phone to the nearest Verizon store to fix it.

After a bit of searching, I found a way to fix it. So the first thing you need is a Windows computer. This won't work on Wine and can be a bit buggy through a virtual machine. Keep in mind, no data will be lost, but this will reset the system back a ways.
  1. Install the Samsung USB driver
  2. Download Odin 3.07
  3. Download Kies Home GS3
  4. Boot the phone into Odin recovery by holding down the volume down, home and power button at the same time (don't let go when it vibrates the first time)
  5. Start up Odin and connect the phone, one of the boxes should turn blue which means it's ready
  6. On the bootloader, browse to Kies, it will take a while for it to check out, once done just run it
Now the next time you restart, all should be back to the way it was, only a bit out of date.

Now onto rooting and unlocking the bootloader. This can be done with Linux or Windows, but for it to work on Linux, you need Java up to the very latest version, probably want to use the official version.
  1. Download Casual
  2. Turn on USB debugging (System settings -> Developer options)
  3. Connect and select to root
  4. To unlock the bootloader, first install the Clockworkmod Recovery
  5. Then select to unlock the bootloader
Like magic, everything works, hopefully. After I got it all working, I used ROM Manager to install the Cyanogen Mod.