Backing up your Iphone App saved game/app data

If you have multiple iOS devices, you may run into a problem of transferring apps to other devices and keeping the saved data in that game or application. A good example of this is a app called My Japanese Coach which I use from time to time. Well, I sure as heck don't want to have to go from lesson 1 all the way through lesson X to get back to where I left off. If you redownload this app from the app store you will be left with a blank slate and will have to start the game over from the beginning. Luckily there is a way to avoid this. You will want to download a software called iExplorer.

Available here:
iExplorer - Read more »

How to Tar a folder in Linux

Tar is a useful application to archive your folders/files to save for later, or to make a backup. Here are the commands you need to know how to Tar.

# tar -cvzf archive-name-you-want-to-use /rootofyour/folder/locationyouwanttoarchive

To untar this file you would use this command:

# tar -xvzf tar-filename.tar.gz

That's all you gotta do!


Preparing a Ubuntu (or other distro) Web Server for Drupal

So I recently created a VMware application with Ubuntu to test some of my Drupal sites offline. You can easily install Ubuntu by downloading one of their Images, I recommend 8.04.4 LTS (Hardy Heron) as it comes with Php 5.2. Anything after Hardy Heron comes with PHP 5.3 which causes issues with Drupal 6. If you are using Drupal 7 or newer, than it probably wont matter. But as most of us our probably on Drupal 6, I thought I would mention this.

So just download the server version and run through the installation. It's pretty straitforward and at one point it will ask if you want to install optional services. Install the LAMP, OpenSSH, and anything else you will want. Now you should have a running server with a basic LAMP install running. You will want to edit a few things so that it plays nicely with Drupal.

Drupal uses a bit of memory, so let's increase this first. Edit your php.ini and my.cnf files.

# nano /etc/mysql/my.cnf

Search for max_allowed_packet, there will be two occurrences, increase the limit to whatever you see fit, I push mine to 128M.

# nano /etc/php5/apache2/php.ini Read more »

Linux - How to Install and Use Zip

With Ubuntu you can easily install Zip by issuing the following command:

# sudo apt-get install zip

Then to zip a folder do this:

# zip -9 -r archivename /folder/location

That's it!


Ubuntu - How to Install and Setup Samba File Sharing

Install Samba

sudo apt-get install samba smbfs

Then edit the config file

sudo nano /etc/samba/smb.conf

Find the Authentication section which is marked with a header of

'####### Authentication #######' and make the following changes.

Uncomment the security line and add a line

security = user
username map = /etc/samba/smbusers

Now let's add a Samba user by running this command:

# sudo smbpasswd -a <username>

it will then ask you to set a password and confirm

next we will create the file we referenced above and add this

user we just added.

# sudo gedit /etc/samba/smbusers

Add the ubuntu username which you want mapped to the current user

you just added to samba.

Something like this:

<ubuntu-username> = "<samba username>"

save file and exit

Now setup which folders to share

# sudo nano /etc/samba/smb.conf

Find the Share definition section by looking for this

"#======================= Share Definitions

=======================" Read more »

Ubuntu - How to setup SSH

To enable SSH you simply need to install openssh server. For Ubuntu do the following:

# sudo apt-get install openssh-server

It should work as is, but if you want to limit access you should edit the following file:

# nano /etc/ssh/sshd_config

Now from a PC or Mac use a SSH client and access your Ubuntu server.


Ubuntu - How to Set a Static IP Address

You will need to manually edit some files to set your static IP address. Do the following:

# sudo nano /etc/network/interfaces

Change the file to look like below:

auto lo eth0
iface lo inet loopback
iface eth0 inet static

Change the xxx's with the appropriate network information. Read more »

How to Sync Multiple Google Calendars with your iPhone calendar

Well hopefully you are using Google's calendar system to manage your everyday tasks, appointments, birthdays, and special days. If not, you really need to get on the bandwagon. Google Calendar is hands down the BEST calendar software out there and it's free. It's everything you need in a calendar system, fast, super efficient at adding/removing and changing dates. Easily add others, setup reminders, recurring events, etc. It even has an appointment section now that you can set windows of time to be able for appointment and then give that link out to people to set appointments with you. Cool right?!?! Read more »

Screencast and best production settings for youtube and online sites

The worst part about making video tutorials and screen casts is how difficult it is to produce the video and ensure the quality remains good once it gets on Youtube. I spent a lot of time testing different codecs, resolutions, etc. However these standards seem to change every year, and then video distribution platforms change how they encode videos, etc. So I wanted to share which format I use and record it to get good results on YouTube currently.

For screen casts I record in 1280 x 720 resolution. Then I use Camtasia studio to edit my screen recording and I output/produce as mp4. This seems to convert fairly quickly and also upload and go live fairly quickly on YouTube. The quality ends up being very good and appears almost loss less.



Syndicate content