Author - Web Developer - Educator
Found 6 results for tag "bc"
RSS Feed

Pre Xmas Status

It's been a busy end-of-November, and the holiday chaos is just beginning.

The good news: I finally got to work on the Pi some. After reconnecting my Pi and finding out that it had been dormant for about 7 months, I decided to kick things back into gear. First, the server setup:
Server Setup

With the Pi set up in the window, I set up the Cron system to automatically delete all files older than 20 minutes and automatically RSYNC over to the main server for remote management. Having all of the images on the Pi over the course of a day creates over 90,000 files and fills up the tiny 8GB device within hours. So I had to find another method. Luckily, I already knew how to automatically back up files over RSYNC with Password-less SSH sessions. Yay.

Cron commands:
*/2 * * * * root find /var/www/motion/* -mmin +30 -exec rm -f {} \;
 
*/5 * * * * pi /home/pi/rsync.sh
See my rsync script at my other post

Other good news: Night Blade has been published! Yes, we are out of the Proofing stage and officially selling copies!

Luckily, I got my Proof copy right before we left for Thanksgiving, and I spent the majority of Thanksgiving break proofing the edition (all of 6 days). After I got home, I made the modifications to the manuscript, reformatted it, and re-uploaded it to CreateSpace, Smashwords, and Leanpub. Personally, I'm proud of the fact that I wrote a book. Now on to #2: Day of Reckoning!

Back to Thanksgiving for a bit. Keat and I did the turkey, which turned out well, as expected. A little drama happened over the break that I really am glad that I wasn't a part of, although I wish I was in order to defend Keat a bit. As expected, as usual, we went on a hike. This time to Stone Mountain.
Keat on Stone Mountain

Overall, it was "fun" with the expectation of someone questioning your every decision. Ah, the holidays.

Also, since Shadow Dev is going through a bit of a revamp (and I spent some time writing instead of coding), I've been looking for some jobs with very little success. My requirements are as follows: non-sales job and non-fast food. Aside from that, I'm pretty much open to anything, but 90% of the jobs are "Part Time Sales", if you know what I mean.
Our Generation on Jobs
(I did not say this - it is a screenshot from Failbook)

I mean, I don't mean to be picky, and I have very good reasons to why I said what I did. As per my previous experience (and what many others have told me), I suck at selling. I'll say it again: I suck at selling. I'll admit it. Anyone who hires me to sell will never get their ROI back. They'll pay me to stand there and do many other things (stock, checkout, manage, etc), but not to sell. I'm a "people pleaser", and if I know of something that you can do to save you money and not hand it over in an "upsell" tactic, I will let you know. Although I'm thinking I need to move away from the "people pleaser" state as it seems to be doing more harm than good for me.

Anyway, here's what has been happening so far:
- Haywood Community College: I applied for the Small Business Director position. Personally, I thought I was a great fit. I met all of their qualifications (including a Degree in Entrepreneurship, which I have), so I thought I was a shoe-in. I sent in my application, my research paper, and my transcript copy to them in September as the due date for the application was October 30th. After a month, I didn't hear back, but it was still before the due date, so I sent in a message via USPS contacting them about the status of my application.

A few days before the due date, I was contacted by the HR Department saying "We received your letter, but not your application." Confused about the situation, I hand delivered in the other copy of the application, my research paper, and another transcript request copy to them an hour afterwards.

Not hearing anything back, I emailed the HR person about a followup. They said that they never received my transcript, and I had to go on a wild goose chase to find out where it went. Western said that they sent out both requests that I sent in, with the matching dates and addresses as well, so the problem was with HCC. Apparently, the problem was that my transcripts (and probably my first application) went to Student Services, not HR. I called Student Services and asked them to deliver my transcript to HR (across the hall).

Afterwards, I contacted the HR person again and asked for a status update. She said that the committee was making their decisions and that interviews were to be held on December 5th and 6th. Well, here it is, December 9th, and no callback. Which means, I didn't even get considered.

- Thinking that the HCC job was a deadend (and looking for backups), I applied to Target on December 3rd for "Backroom Stock" (not Sales and not Fast Food - perfect!). The application process wasn't that hard, but I have yet to hear back.

- I also applied to Biltmore a while back (October), but was turned down for 3 different positions: IT Staff, Security Guard, and Dishwasher. Yes, Dishwasher. I was passed up for a Dishwasher. Their message:
Thank you for your recent application for our Dishwasher position 
 
with The Biltmore Company.  We regret to inform you that we have filled this 
 
position. After considering each application carefully, our hiring team felt 
 
that there were other candidates that more closely matched the specific needs
 
 of the position.
Seriously? WTF?

- Looking elsewhere, I also applied to Regal Grand Theaters hoping to get some low-line cleanup crew position (hey, it's money). After visiting the theater with Keat at the Catching Fire premiere, the whole building said that they were hiring. So, I applied on December 3rd and have yet to hear back (I was hoping my LMP experience would mean something. I guess not)

If "overqualification" is a thing (it was when I applied to Best Buy back in 2004), then maybe I should do this:
Overqualification solved


Onto a different topic, I visited the NCCAT center last night to celebrate the "Hour of Code" (an initiative program to increase programming skills in schools) and talked to Dr. Wade with the NCCAT. After briefly meeting with him, I think that we may be on our way to start our own CoderDojo in the WNC area (the closest one is in Missouri). I also got an "Hour of Java" which was interesting. I contacted Dr. Andrew Scott for more information. Although, this has resparked my love for programming.

Meanwhile, Keat is working with a few "clients" on a Consulting business. Knowing that, we had a discussion and may be opening a "Web Technologies Consulting Business". Since "Web Design" is such a flooded market, and there aren't really any upsides to DIY Websites (and people want the moon, but only want to pay $1), we explored WordPress (yes, I know - stop badgering me) as a viable option. I installed a test environment and it does seem quite easy to use, so we may be able to offer that as a "Small Website Option" and make the clients manage it themselves. Self-managed websites with client decisions and actions, without being yelled at for things out of our control or expectations that we can never meet? I think it's definitely a considerable option, but not just for the "Web Design" factor - a consultant should be referenced.

And just because my week had been going like a wild rollercoaster, I saw/heard this, and it really helped me along:

And a reference:
Tso - get it?

And with that, I probably won't post again until after Christmas, as the holiday chaos is catching up and my sleep pattern is completely messed up.


Tags:#thanksgiving #nightblade #rsync #cron #stonemountain #jobs #consulting #target #haywood #regal #bc #nccat #coderdojo #hourofcode #picard #startrek #tng

RSS Feed

Backups and Sync Success!

Backups are important

After many, many months (and many mistakes), we finally have our own backup server!

Let me explain: when we had our data hosted on 3rd party servers, backups were never considered because the services already provided backups (or, so we were told). We only had to use WebsiteSource's backup service once, and the other company said they were creating a backup service, but never put us on it.

When we moved our data to the primary local server back in September, my level of worrying gradually increased over time. We had all of our site data on 1 server - and if that server were (for some reason) to crap out, we'd be in a very large hole with no way out. 8 years of coding. 8 years of projects. 8 years of client work. 8 years of a full portfolio. 8 years of database records. All gone.

Luckily, that hasn't happened yet (and we hope it never will - oh, the horrors if it did). So, in order to fill in this gap, I finally got the courage to make a backup server! (finally, right?)

I was able to salvage a bunch of the spare parts that I had laying around. Some RAM, some hard drives, a few semi-barebones desktop frames, motherboards galore...and all of this stuff was just collecting dust in various areas.

I went through a bunch of combinations of RAM/Hard Drives/Motherboards/CD Drives before I found a combo that worked (a few of the frames that I had required SATA drives, and I only have ATA/IDE drives available).

I finally got some RAM that fit appropriately, a large enough hard drive to hold the information that I needed (not the same size as the main server drive, but big enough), and a CD drive that worked (I had to install the Server OS somehow, right?).

After spending all of today getting the latest Ubuntu Server ISO downloaded and burned, I popped in the CD, ran the install ISO, and had a dedicated backup server ready to go.

I then spent the latter part of the day setting up rsync, cron, and mysqldump to automate the creation and mirroring of backups.

MySQL Dump Script:
#!/bin/bash
 
BACKUP_DATE=$(date +'%F')
 
mysqldump -u [username] -p[password] --all-databases --events > \
 
   /var/www/vhosts/$BACKUP_DATE.sql
--events is here because it was returning an error saying "Skipping mysql.events table"

RSYNC Script:
#!/bin/bash
 
N=$(date +'%F %T')
 
LOG_FILE="$HOME/rsync.log"
 
echo "RSYNC Begin: $N" >> $LOG_FILE
 
rsync -r -a -v -e "ssh -l [username]" --delete \
 
   [source directory from root] [remote_server_ip]:[remote directory from root]  >> $LOG_FILE
 
echo "---------------------------------" >> $LOG_FILE
--delete is to delete any remote files that aren't on the source location. Also, if you want to only sync certain file types, add "--exclude='*' --include='*.[ext]'" after --delete (exclude everything except what is included), or you can just omit --delete altogether if you want. The rest of the script is just log information - completely optional, but makes the log easier to read

Update 2013-12-09: I've updated the script a bit to make it a little more universal after some things were called to my attention

The main part of that was spent trying to get the backup server (which I am calling "Fry" - I'm thinking of going Futurama for a server nomenclature) to automatically SSH into the main server without a password (aka: storing an SSH key). I had to learn a lot in order to do that, but I found out that the problem that eluded me for about 5 hours was that the main server's home directory had the wrong permission settings for the .ssh folder.

Next time the SSH keys aren't being stored right, run [sudo] tail -f /var/log/auth.log and see what the error is. Lesson learned.

So, the overall point of this story:
  • A dedicated backup server, Fry, has been salvaged, installed, and setup
  • There is an rsync script on Fry to automatically sync up the files from the main server (all 40GB+ worth)
  • The Main Server has an automatic cron script to run mysqldump to make a full backup of all of the MySQL database
  • Fry's rsync will keep the latest 6 (daily) copies of the MySQL Dump backups along with the main backup
  • Fry's rsync script creates a custom log to record the output


Now to install a Leela (why not Zoidberg?) server for load balancing (or a production server. I don't know - I've never had more than 1 server running locally at a time).....

....and just because this whole "end of the year" thing is so chaotic, here's a comic I liked which I hope to do (just to get it all over with):
BC


Good Night!


Tags:#bc #xkcd #backup #ubuntu #futurama #rsync #sudo #zoidberg #bash #tutorials

RSS Feed

End of 2011

I thought I'd go head and get one last posting in here before the end of the year.

First....
BC Picture Day for Firefox!

Anyway, I know I've been slacking on this whole "blog" thing, but I can assure you that it will come to and end! (the slacking, not the blog). Here's a run down of what has kept me super busy over the past week or so:

  • I have surrendered to The Big Bang Theory. Finally watched it, and now I'm a fan. I must agree: Smart is the new Sexy. I know I'm about 4 years too late, but better late than never, right?

  • We went to Keat's parent's beach house for Xmas. It was fun. Traveled over 1000 miles. Yay. That's all I can say.

  • We got a Wii for Xmas! Yay! Now we can watch Netflix on our TV

  • Been working hard on planning some new seminars for Shadow Dev. One deals with the Mobile market and one deals with taking brick-and-mortar stores online

  • Also been working on notes and storylines for our two new mangas: Phoenix Eye and All Souls Crescent

  • Been working/studying/planning on a new version of MyShadowDev to help clients check/report things

  • Rearranged my desk before I left. Looks nice:
    Deskchisaineko.shadowdev.com - so far, looks good

  • My laptop is on its deathbed. The fan is about to give out after so many years. It's wheezing so much it's hard to talk over it. I checked in on the warranty from Best Buy, and wouldn't you know it: it expired on 12/26! On Monday! I should have taken it in last week and had them fix it over Xmas break! So basically I have a delima: pay $90+ to have it shipped off, diagnosed, and (hopefully) fixed; pay $900 for a new laptop; or pay $200x2 to get some new desktops (Yes, Windows - some of my programs only run on Windows and I'm not paying $900 to get the Crossover software, and until they create a stable Wine, I can't use a lot of the programs I want to). Personally, I think I'd go for the desktop since it provides more power with less hassle, and more customizable than a laptop. My laptop has served me well these past 3 years, but I think I'm ready to move on once it croaks (luckilly, all of my files are on a cloud. Can't say 1 specific location, because I have many.


And now for something completely different:
Penguin Hat


Also, remember Fresh Prince? I found a photo of the cast from about a week ago:
Fresh Prince, circa 2011


Chances are I won't be able to post between now and midnight tomorrow, so HAPPY NEW YEAR EVERYONE and have an enjoyable party/celebration/sit at home.


Tags:#laptop #files #freshprince #newyear #xmas #seminars #bc #desk #netflix #wii #eureka

RSS Feed

Tell a Potassium Joke? K

Sorry for the bad chemistry joke, but I thought it would be appropriate for this chemistry-based comic from SMBC:
SMBC


Tags:#chemistry #smbc #badjokes

RSS Feed

Squishy Day!

The System

Today was Take your Squishy to Work Day, so I brought my Squishy to work. Here's a shot of my mini-fox hard at work:
Squishy!


Anyway, today was kind of a wasted day. I don't know why. After getting my notes together and corrected this morning about a client, I met KC at the office at 11, gave him his cards, then pretty much browsed the Internet for a few hours - mainly webcomics. Today seemed like a good day to browse the other 99% of webcomics that I had been missing from the outbound corners of the internet. I added a nice little "Favorite Webcomics" section to the blog (below the "Comments" section on the right side), which looks like this:
Favorite webcomics - in no particular order

The above webcomics are always listed in a random order, so don't think that I have a preference.

Anyway, after I got done browsing, KC finished his work on a client's site. I went in and tweaked it a bit, and it was officially classified as "Done!" so I moved the beta.php page to the index, and made a PR announcement on the Shadow Dev website.

I went back to browse some webcomics, and voted for a lot of my favorites on topwebcomics.com. So, that's it for my Wednesday. Hopefully I can be more productive tomorrow and Friday to call this week a success. 7 hours today + Mon and Tues = ~21 hours.


Tags:#thesystem #squishy #webcomics

RSS Feed

SSL Relief

After spending 1 week with email support from Website Source, Comodo, and enom, I finally have the SSL Certificate for a client that was assumed "lost". It turned out that after getting super-frustrated at being sent in circles, Comodo sent me an email saying "Please call support". So I called support and (finally) had my SSL Certificate within 10 minutes. 5 minutes later, I installed it on the client site and everything was at peace.

Here's an overview of what happened:
  1. Ordered a "Comodo Essential SSL Certificate" via our Control Panel (powered by Parallel's Plesk) which is through Website Source (aka: "WSS"), our reseller on May 6

  2. Comodo sent me a "Domain Verification Email". I clicked on the link, provided the code, and verified the domain.

  3. 24 hours later, I did not receive an email from Comodo with a "Here's your Certificate", so I contacted Comodo about it

  4. They said to contact my reseller (they said "enom", which isn't true)

  5. I contacted WSS about the issue, and they weren't sure about the WSS/Comodo relationship. They also said that I can contact Comodo and cc them on all correspondences in the future with Comodo

  6. I sent back an email with the instructions that I used to obtain the Certificate purchase procedure.

  7. It turns out WSS didn't even know that purchasing SSL Certificates through Plesk was possible (even though I did it a few months ago). This was their response:
    Well, that clears up our first source of confusion - buying SSL certs through the Plesk panel might be a new thing, we didn't know it was possible.
     
    SO- unfortunately it doesn't seem to do anything to clear up what happened after you ordered it.
     
    Perhaps you could write to Comodo again and say, basically- your last message didn't make a lot of sense, Enom shouldn't have anything to do with this transaction, could you please either tell me exactly where the certificate was sent, or just resend it to the proper address?
     
    As I said, feel free to cc us on this stuff. I hope that you can clear it up with Comodo. If not, then I imagine that we'll have to open a ticket with Parallels.

  8. I contacted Comodo again, and they sent over the same response ("The certificate has already been issued. Please contact your webhost reseller")

  9. I sent them a response saying "I know - I've contacted them and they said enom shouldn't even be part of this"). I also asked "Where did it go?"

  10. They responded with "Please be informed that i have sent the certificate once again to your account email id. Kindly contact your web host. Also for your information you can directly download your certificate from your account login."

  11. I tried to login to their "Account manager", but none of my login combinations worked. I tried their "Forgot your password" feature, but it said that all of my login information was wrong. SO...I contacted them about it

  12. They responded with:
    If you want to get the login detail, you will have to reset the password and get the login detail through the account admin email ids.
     
    You can reset the password by the given below link by entering the order number and account admin mail id and get the login detail through your account admin email id: [password reset link]

  13. I responded saying "THAT DIDN'T WORK! This is why I'm writing to Comodo - to say it didn't work!"

  14. They responded with "The certificate has already been issued. Please contact your webhost reseller (enom)" (sound familiar?)

  15. So, I set up a support ticket with enom and awaited a response.

  16. In regards to my "Account Manager" issue, I received
    an email saying the following:
    For this reasons you need to contact your webhost [Secure Business Services],they will assist you in better way.
    meaning I need to talk to enom
  17. I appended the ticket I sent to enom saying this
  18. I finally received a response from enom late last night saying
    Thank you for contacting eNom technical support. I will be glad to look into this for you, but I will need some additional information to better assist you. Unfortunately I was not able to locate the domain: #### or any account associated with it on our system. Do you have an account with eNom? And if so, what is your login ID? In order to 
     
    purchase this certificate, you would need to have had an account with eNom or eNom Central. Unfortunately without additional information I won't be able to find any additional information, and it is likely you did not purchase this directly through us.
     
    It is possible that you may have ordered this through a reseller that uses eNom as their backend service provider. In which case, you would want to contact them to find out more information, and for further assistance.

  19. I tried to respond to the ticket, but enom's ticket management system kept logging me out for some odd reason. I even tried a different computer and different browser, but it kept logging me out even when I wasn't logged in. I couldn't go anywhere or do anything, so I emailed them about it.

  20. I received an email from Comodo again (with the title "Password Reminder") saying that enom had the certificate and I had to go through enom to get it. I also received an email from WSS asking what the issues were with my password. I responded saying "I only cc'ed you on this. There aren't any troubles with my login"

  21. I responded to Comodo saying "I can't login to the account manager, I can't get access to the certificate, I can't get a straight answer!" (paraphrasing)

  22. Comodo responded saying "The instructions enom provided you were wrong" and some other @^(*&$! about how I have to go through enom to get it

  23. I said that the instructions were NOT provided by enom, they were provided by Comodo! I think this is the 3rd or 4th time I said "If I can't get a straight answer, I will demand a refund and go somewhere else" (at this point, I was ready to punch through my laptop - my mediation training from Martial Arts couldn't save me now!)

  24. Comodo sent me an email saying "Thank you for your reply, please call into our support staff for further assistance at US"

  25. I called Comodo support, and got the certificate emailed to me within 10 minutes

  26. I told WSS what had happened and cleared things up with them saying it wasn't their fault. I am still awaiting some type of answer from enom if I ever get it.

...and that was the past few days. May 6 to today to be exact. It feels good to get that off my chest and release some steam. I was driving like crazy today and about to rip something if I got my hands on it since nobody was paying attention and didn't understand what was going on.

ANYWAY, here's today's comic (which I think is very relevant):
SMBC
Is this the first time I've posted a SMBC comic?

That pretty much sums up my past few days. Keat and I went house hunting on Sunday and found a few houses that we liked. We sent the list off to her parents and are awaiting "the talk."

I also called my mother on Mother's day and wished her "Happy Mothers Day". Yay for mothers!

Also got Half-Life re-downloaded from my old Steam account and started that back up. By using a wireless mouse I have from ??? ago, I'm doing pretty well for not having played the game in about.....4 years? The CD didn't want to install on Vista 64, but luckily Steam had my account active and I was able to re-download the install files. Yay! Now to deal with all of the stuff that piled up over the past few days while I was dealing with the SSL stuff.

PS: Keat finished up her final semester at HCC today and graduates on Thursday! Hooray for her! Now on to Western to finish up her Bachelors.

PPS: I (and Keat) am on the Squishable Gallery! (2nd page) YAY!


Tags:#squishable #ssl #comodo #websitesource #enom #halflife #certificate #plesk #parallels #smbc