TechBytes View RSS

Technology Bytes
Hide details



Vagrant 18 May 2017 12:42 PM (7 years ago)

Its been sometime since I am using Vagrant but it just occurred to me the other day, when my coworker and a good friend asked showed his interest in Vagrant and asked me for some learning material. I realized its a pretty powerful tool but I probably didn’t kept track of learning materials myself

Over the months and years, I have some extensive library of scripts. I will be hosting them on vagrant.me / vagrant.pk CDNs (powered by AWS S3). I’ll announce the scripts here when they are available

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

How to fix Missing Date and Time in Menu Bar in Ubuntu 14.04 LTS 25 May 2014 10:30 AM (10 years ago)

All of a sudden, the “Menu Bar” (equivalent to what we call Taskbar in Windows) on my Ubuntu has stopped showing me date & time for some unknown reasons. My first instinct were to check the System Settings -> Time and Date

Ubuntu 14.04 LTS - Time & Date

 

Everything is set but the time & date is nowhere to be seen in “Menu Bar”. Here is how I fixed it

Solution 1

sudo restart lightdm

Solution 2

sudo killall unity-panel-service

Note: If you time and date are not displaying since installation, then do the following before running the above command

sudo apt-get install indicator-datetime
sudo dpkg-reconfigure --frontend noninteractive tzdata

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

How to change download mirror in Ubuntu 25 May 2014 10:15 AM (10 years ago)

As soon as you begin installing Ubuntu or being downloading packages, the number one question is, Why is this download taking so long?

The answer is simple, probably your mirror is not correctly set and its taking longer to download files. How to fix? simply follow these instructions

Go to System Settings

System Settings in Ubuntu

Then go to “Software & Updates”, select “Download from” and choose a location closer to you

Software and Updates in Ubuntu

 

You can either choose a Download server (categorized by countries)  or click “Select Best Server” which will determine the best server for you (after running a few tests)

Software and Updates in Ubuntu

Note: If you are running Ubuntu Server without a GUI (aka X-Windows), then edit the file

/etc/apt/sources.list

to use your new download-mirrors

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

How to install dig in Ubuntu 24 May 2014 10:40 PM (10 years ago)

dig is a very useful utility to help webmaster and server admins alike. To install dig, just run the following in Ubuntu

sudo apt-get install dnsutils

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Play all media formats on Ubuntu 14.04 LTS Desktop 17 May 2014 1:10 PM (10 years ago)

I still remember the first time I test-drove Mandriva Linux (formerly known as Mandrake), I could run every other audio and video format out-of-the-box without downloading anything (it was a dialup modem era so downloading was a pain-in-the-rear).

Many years after, I finally installed Ubuntu 14.04 LTS on my new laptop but it does not recognize some of my mp3 files and im like “Are you kidding me?”

Im glad I found a solution, there is a package called ubuntu-restricted-extras (read the Wikipedia entry and Ubuntu documentation) that you can install and it support all major media formats, Codecs and even Flash Player. To install, you need to run

sudo apt-get install ubuntu-restricted-extras

Legal Notice Patent and copyright laws operate differently depending on which country you are in. Please obtain legal advice if you are unsure whether a particular patent or restriction applies to a media format you wish to use in your country.

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

New Laptop for Linux 17 May 2014 10:22 AM (10 years ago)

Today, I bought Dell Inspiron 15 3521 Laptop to continue with my experiment & transition. Why a new laptop one might ask! the reason being obvious that my wife and kid are not used to Linux at this point and it will become a headache for me. The specs are great for the price tag (Rs. 43,000)

I was initially into getting a used notebook/laptop but the market is very biased and a 10 year old bulky and feature-less laptop costs me approx 25,000-30,000. I went for this laptop because I did not wanted to bang my head trying to figure out how to do trivial things on a decade old laptop which should have been in the grave by now. The other reason why I chose a good laptop was that I disagree with the phenomenon widely spead throughout the internet that you should buy a good laptop for non-Linux but any trash thing can run Linux, and later you compare the “performance” with non-Linux OS running Gen4 processors (facepalm). So far so good 🙂

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Windows to Linux (Ubuntu 14.04 LTS) Migration 16 May 2014 8:59 AM (10 years ago)

I have been a hardcore Linux user from a Server-OS point of view since many years. Have used CentOS, Ubuntu, Debian and Fedora extensively. I have always recommended and used Linux without hesitation since I knew this is one thing that I cannot be wrong about.

One place where I was reluctant to use Linux iswas my Desktop. My PC, Laptop and Work-Laptop running Windows 7. Although I love the simple interface of Windows, now its time that I try to experiment with a Linux Desktop OS. I am sure that within a few weeks, if not days, I would get in love with my decision which I have been postponing since many years now.

I have chosen Ubuntu 14.04 LTS for this purpose. What follows is my transition from Windows to Linux as my primary-Desktop-OS. I will be documenting my journey extensively in the coming few weeks.

Stay tuned!

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Tour de Sri Lanka 22 Oct 2012 10:17 AM (12 years ago)

I was on a company tour to Sri Lanka starting our journey from Oct 13, 2012 from Lahore airport til Oct 21, 2012 along with my good friend and coworker Hamza. It was an amazing time spent there. Cant believe the country has evolved a lot since the civil war ended in 2009.

Of course, I am not going to talk about the business part but from a personal perspective, the country is outstanding when it comes to hospitality, beauty and special respect for Pakistanis (yes you read it right). Enough chatter, let me share some photos.

SriLanka tour - statues SriLanka tour - Galle road SriLanka tour - Galle road SriLanka tour - Sea Side SriLanka tour - Near Galle Road SriLanka tour - Near Galle Road SriLanka tour - Local food SriLanka tour - Food SriLanka tour - Shafique, local restaurant owner SriLanka tour - Liquor SriLanka tour - Bikes SriLanka tour - Galle Road Colombo SriLanka tour - Galle Road Colombo SriLanka tour - Sea Side SriLanka tour - Family on Bike SriLanka tour - me with local SriLanka tour - Mount Lavinia Beach SriLanka tour - Mount Lavinia Beach SriLanka tour - Mount Lavinia Railway Station SriLanka tour - Mount Lavinia Beach SriLanka tour - Mount Lavinia Beach SriLanka tour - Mount Lavinia Beach and a Rainbow SriLanka tour - Mount Lavinia Beach SriLanka tour - After the rain SriLanka tour - Tea Board SriLanka tour - Lanka Ashok Leyland (local bus) SriLanka tour - Newly Weds SriLanka tour - Local Cinema SriLanka tour - Roads SriLanka tour - Shisha Lounge at Galadari Colombo SriLanka tour - Entrance of Galle Face Hotel SriLanka tour - me at Galle Face Hotel SriLanka tour - Woman on bike SriLanka tour - A University SriLanka tour - Not so developed Sri Lanka SriLanka tour - Holy Places SriLanka tour - SAARC Special Entrace Rates at ZOO SriLanka tour - Elephant after a bath SriLanka tour - Hikkaduwa Beach SriLanka tour - Hikkaduwa Beach SriLanka tour - Men and Women travelling by Train SriLanka tour - me Swimming at Hikkaduwa Beach SriLanka tour - Near Hikkaduwa Beach SriLanka tour - Galle Face Hotel SriLanka tour - Airport SriLanka tour - Old Galle Face Hotel Photo

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

LowEndScripts.com / LowEndScript.com 30 Sep 2012 1:19 AM (12 years ago)

A few months ago, I was on LET trying to create a wiki about all the stuff that people usually ask repeated questions for (including me). I checked that LowEndWiki.com was already registered so I created a LET topic asking if the owner is still on LET and reading that thread and would want to sell/transfer the ownership to me. I later learned that its with Chief. I later contacted him for the same and he said he has plans for it and I should use the current outdated LowEndTalk Wiki, which I am obviously not apart from a few smaller pages.

Coming back to the LET topic I created in the first place, it quickly derailed and to my surprise I found the owner of lowendscript.com, who wanted me to have the domain at no cost. Thats a big ol’ Wow!!

Eversince I took over the domain on Jan 04 2012, I have never got the time to fully complete it which is a big loss at my end and at the awesome domain name I have which can be used as a place to list down all bash(shell), PHP, Python scripts and possibly mirroring them via Amazon S3

Thoughts? please comment

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?

Video: How The Dark Knight Rises Should Have Ended 29 Aug 2012 3:08 AM (12 years ago)

Add post to Blinklist Add post to Blogmarks Add post to del.icio.us Digg this! Add post to My Web 2.0 Add post to Newsvine Add post to Reddit Add post to Simpy Who's linking to this post?