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

Notices


Old

First experience at using the Google api

Posted 11-19-2011 at 09:39 PM by peonuser
Updated 11-19-2011 at 11:55 PM by peonuser

One of the reasons I like to do page scraping is to get the data I need without having to take time to use a web browser such as Firefox and or a newsreader to get the specific data I need. Letting the computer get the data for me and making a summary file of the data I need is therefore letting the computer be my secretary and or research assistant.

Have been doing some page scraping, but i was not able to get the weather from their (Google) site. Then read they have it sort of hidden....
Member
Posted in Uncategorized
Views 412 Comments 0 peonuser is offline
Old

Debian Wheezy has just switched to Gnome 3

Posted 11-19-2011 at 11:03 AM by andywebsdale
Updated 11-19-2011 at 11:27 AM by andywebsdale
Tags gnome3

Wow - I ran Update on synaptic and apt-listbugs tells me that metacity segfaults after restart. I decide to risk it, as it won't stop me booting. The update finishes & I closed it & did Ctrl-Alt-BkSp to restart all the GUI stuff, X, Gnome, etc.
GDM looked slightly different, I logged in & Bam! Big surprise - no desktop. Gnome 3 had arrived.
I love it. There's a learning curve, & probably I need to do some manual cleanup after apt has "converted" my Gnome 2...
Member
Posted in Uncategorized
Views 1319 Comments 0 andywebsdale is offline
Old

- rm

Posted 11-19-2011 at 08:24 AM by Web31337 (In The Middle Of Nowhere [edK's blog])
Updated 06-20-2012 at 11:51 PM by Web31337

- rm -
Member
Posted in Uncategorized
Views 1491 Comments 0 Web31337 is offline
Old

'stat' vs 'date' w/re string manipulation in Bash scripts

Posted 11-17-2011 at 05:31 PM by SilversleevesX
Updated 11-17-2011 at 05:42 PM by SilversleevesX

I started browsing the Web tonight looking to do something I had been doing in my Bash scripts with stat and three more lines of string cutting in one line instead.

I had been using stat -c &y file to get a file's modification date in scripts, but I have never liked the nine-digit "blink-of-an-eye" part of the return on that command. My method up till now has been to eliminate it with lines like these:
Code:
gdate=$(stat -c %y foo.jpg)
pqdate=$(echo ${gdate%.*})
...
Member
Posted in Discussion
Views 486 Comments 0 SilversleevesX is offline
Old

using dfsbuild to build a debian from scratch

Posted 11-17-2011 at 09:19 AM by adriankevin

I want to create my own debian distribution using dfsbuild (v 1.0.2.0) but i got the error:

Project:/home/adrian# dfsbuild -c /etc/dfsbuild/dfs.cfg -w /home/adrian/dfs/
[dfs/INFO] Welcome to dfsbuild. Image architecture: "i386"
[dfs/INFO] Using working directory /home/adrian/dfs
[dfs/INFO] Using library directory /usr/lib/dfsbuild
[dfs/INFO] Running.
[dfs/INFO] Mirroring process starting.
[dfs/INFO] Running cdebootstrap for testing...
LQ Newbie
Posted in Uncategorized
Views 489 Comments 0 adriankevin is offline

  



All times are GMT -5. The time now is 12:17 AM.

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