Category Archives: software

copy files off my camera card to my pictures directory

=== Update 11/2013 == Sooo, I found that the below script didn’t do really what I wanted and I got a lot of files from 2012 in 2013 folders. So I’ve changed it around to use stat and maybe exif … Continue reading

Posted in software, tips | Tagged , , , | Leave a comment

ext4 recover deleted files (undelete) using ext4magic on CentOS 6

So the other day, I was helping a user get back some files that got deleted on the local disk of a CentOS 6.3 server. Here’s pretty much the steps I did: Unmount the partition: umount /tmp Make an image … Continue reading

Posted in software | Tagged , , , , | 2 Comments

Posting stuff to github

I finally started to upload stuff I work on in my own time/hardware on github. Check out my okayryan username. So far I just have a named check zone wrapper and a fedora 18 ansible playbook.

Posted in software | Tagged | Leave a comment

one liner to simply check for pictures and video in my pictures home directory

I used this today to just check and make sure what files I can remove off my sdcard. I just simply checked the filesize on the files and make sure it was the same in my Pictures directory in my … Continue reading

Posted in software | Tagged , | Leave a comment

publish photo shotwell piwigo invalid username password with & symbol

Just submitted a bug report for shotwell on Ubuntu 12.10: Basically, when trying to publish a picture to my piwigo website, I get an invalid username or password if my password has a & in it. Piwigo version: 2.4.5 shotwell version: … Continue reading

Posted in software | Tagged | Leave a comment

how to replace newlines in linux using tr

I like to use sed for all my string replacements when I’m in bash or use the %s option in vim. Unfortunately, when I have to get rid of newlines, I always end up doing a macro that join lines … Continue reading

Posted in software, tips | Tagged , , , , | Leave a comment

Easy gcc compile using download_prerequisites in contrib and compiling gcc on CentOS 6 x86_64

For the longest time, I never noticed that there was a contrib directory in gcc’s source archive. Not only that, but the download_prerequisites script does an amazingly simple job that saves me minutes off a single gcc compile. What does … Continue reading

Posted in software | Tagged , , , | Leave a comment

Recovered deleted pictures from canon sdcard

I was able to use the ZAR data recovery software to restore an entire directory full of images after someone deleted their folder via the camera. http://www.z-a-recovery.com/download.htm Pretty good software and I like their name of “Zero Assumption Recovery.” Remember … Continue reading

Posted in software | Tagged , , , | Leave a comment

Command of the Week – sys_basher

I haven’t done a command in the week in such a long time that I hoped to semi resurrect into at least a monthly-weekly adventure. The sys_basher command is an excellent tool to perform some tests on cpu, memory, and … Continue reading

Posted in software | Tagged , , | Leave a comment

Cool software to check out

Here are some software that I want to check out and play with when I have some time: ansible – python to do tasks and plays distributively and fast with almost no learning curve. drools planner – a way to … Continue reading

Posted in software, when I have time | Tagged , , | Leave a comment