Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs
User Name



Days between dates.

Posted 04-11-2015 at 09:20 AM by peonuser

Thanx to an lq user, I was able to get this to work.

Just an experiment to determine the amount of days between two dates. In this case it is the days left in the current presidency.

D=`date +%Y-%m-%d`
D1=`date +%s -d "$D"`
D2=`date +%s -d "2017-01-20"`
echo - | awk -v SECS=$diff_sec '{printf "Number of days : %d",SECS/(60*60*24)}'
echo " till Obama leaves
Posted in Uncategorized
Views 239 Comments 0 peonuser is offline

GTK Resource Compilation Utility

Posted 04-09-2015 at 03:30 PM by rainbowsally
Updated 04-22-2015 at 02:41 PM by rainbowsally (text formatting probs)

GTK Resource Compilation.

There's a utility called 'glib-compile-resources' that takes an xml file that is basically a list of resources such as glade ui files, and it outputs c code to embed the data in the application. It's messy to use, but it works.

There may be another messy gtk/glib utility to create these xml files that 'glib-compile-resources' can use, but if there is here's another one that may or may not be easier to use.

file: src/gtk.mkres.cpp...
Posted in Uncategorized
Views 416 Comments 0 rainbowsally is offline

ArchEX dual 64/32 bit with LXDE and kernel 3.19.3-1-ARCH

Posted 04-09-2015 at 03:59 AM by exton (Exton's Blog)

WHAT IS ArchEX dual build 150409?
ArchEX 64bit/32bit dual is a new (150409) Linux live DVD based on Arch Linux. Arch motto is KISS (Keep It Simple Stupid). ArchEX uses kernel 3.19.3-1-ARCH (latest stable kernel) and the LXDE Desktop environment.

Among many other programs, Firefox 37.0.1, Gimp 2.8.14, GCC 4.9.2, Wicd and GParted – see this package LIST.

INSTALLATION to hard drive
ArchEX can easily be installed to hard drive of...
ExTiX Admin
Views 321 Comments 0 exton is offline

Cat meme IRL?

Posted 04-07-2015 at 06:25 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)

A few days ago my daughter called me at work. I could hear the panic in her voice as she said "Dad, it's not my fault!".

There are *many* things that run through a parent's mind in this situation. None of them are pleasant.

I tried to hide the panic *I* was feeling. "What happened?" I asked her. She said "Well, it's about Stewie!"

My wife's pure-white cat. Oh God. I'm thinking he got let outside (he's an indoor only...
Posted in Uncategorized
Views 403 Comments 2 rocket357 is offline

Run Android 5.1 Lollipop Exton build on your Raspberry Pi 2

Posted 04-05-2015 at 05:37 PM by exton (Exton's Blog)
Updated 04-06-2015 at 05:41 PM by exton (Made everything clear)

NEWS 150405
I have compiled an Android 5.1 Lollipop system which can run on Raspberry Pi 2. I call my new system RaspAnd.

What is Raspberry Pi?
The Raspberry Pi is a low cost, credit-card sized computer that plugs into a computer monitor or TV, and uses a standard keyboard and mouse. It is a capable little device that enables people of all ages to explore computing, and to learn how to program in languages like Scratch and Python. Its capable of doing everything youd expect...
ExTiX Admin
Views 1992 Comments 1 exton is offline


All times are GMT -5. The time now is 10:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration