Posted by The TechMentor in git, Journal
on Aug 8th, 2014
Using Backwater as the remote server, su to gitpriv and change into the repo directory. $ sudo su - gitpriv $ cd gitrepo Here there are some top-level repos already, as well has some directories that contain like repos. These include “c-code” and “web.” If creating a repo to store a web app, change into the web directory and create an empty repo. Be sure it has a “.git” extension. Here I am creating a repo to store the pydio app for LiM. $ cd web $ git init --bare --shared lim.pydio.git Now that that is done, the empty repo must be copied to the system where work...
Posted by The TechMentor in Journal
on May 23rd, 2014
# cat * | grep ^T > Total.txt # cat Total.txt | sed 's/T //' > Tstriped.txt # grep -v '^Tr' Tstriped.txt > Total.txt # cat Total.txt | sed -e 's/ 1999//' -e 's/ Sun//' -e 's/ Mon//' -e 's/ Tue//' -e 's/ Wed//' -e 's/ Thu//' -e 's/ Fri//' -e 's/ Sat//' > Finished.txt # cat Finished.txt | sed -e 's/^\(.\{12\}\)/\1,/' -e 's/^\(.\{26\}\)/\1,/' -e 's/ ,/,/g' > Final.csv Extract Only Track Info Remove Track Label Remove Beginning and End lines Get rid of Days and Year Add Commas
Posted by The TechMentor in Journal, Web Geeking
on Apr 25th, 2014
Install the dependencies: sudo apt-get install libatk1.0-0 libc6 libcairo2 libfontconfig1 libfreetype6 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk2.0-0 libidl0 libnspr4 libnss3 libpango1.0-0 libpng12-0 libstdc++6 libx11-6 libxft2 libxinerama1 libxrender1 libxt6 zlib1g Download the packages: wget -c https://launchpad.net/ubuntu/+archive/primary/+files/kompozer-data_0.8~b3.dfsg.1-0.1ubuntu2_all.deb wget -c https://launchpad.net/ubuntu/+archive/primary/+files/kompozer-dev_0.8~b3.dfsg.1-0.1ubuntu2_all.deb wget -c https://launchpad.net/ubuntu/+archive/primary/+files/kompozer_0.8~b3.dfsg.1-0.1ubuntu2_amd64.deb...
Posted by The TechMentor in Journal, System Configuration
on Apr 16th, 2014
Bought a 6-pack of 4GB USB thumb drives for various backups. I installed them on liminf01, liminf03, and kfserver01. Used the following commands to format and mount them, since CentOS 5.10 did not automatically mount them. I originally went with the default FAT32 filesystems, but rsync filed to create symlinks, surprise! Step 1: Identify the proper device: $ ls -al /dev/sd* brw-r----- 1 root disk 8, 0 Apr 9 17:59 /dev/sda brw-r----- 1 root disk 8, 1 Apr 9 17:59 /dev/sda1 brw-r----- 1 root disk 8, 2 Apr 9 18:00 /dev/sda2 brw-r----- 1 root disk 8, 3 Apr 9 17:59 /dev/sda3 brw-r----- 1 root disk 8, 16 Apr...
Posted by The TechMentor in Journal
on Apr 2nd, 2014
Change to the working directory and checkout the dev branch. $ cd ~/source/web-store $ git checkout dev Download the appropriate update file from http://www.oscommerce.com/Products and unzip it. $ cd ~/Downloads/osCommerce $ unzip oscommerce-2.3.3.2-to-2.3.3.3.zip Rename admin to lim_admin and copy the files over to the working directory. $ cd oscommerce-2.3.3.2-to-2.3.3.3 $ catalog/ $ mv admin/ lim_admin $ cp -R * ~/source/web-store/ Change back to the working directory and update the git repo. $ cd ~/source/web-store $ git add -A $ git commit -m "Updating to version 2.3.3.3" Create branch...