LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Master Command history in Linux Bash

Posted 04-19-2012 at 08:16 PM by stretchedthin
Updated 04-19-2012 at 09:35 PM by stretchedthin

Before you learn any commands in Linux, get to know how you can make the most of the history functions in Bash. This will save you and your fingers a lot of wear and tear. Learning this and making sure your working in a terminal emulator that has good copy past functionality and your going to find the command line a pretty comfortable place.
Master Command history in Linux Bash
Member
Posted in Uncategorized
Views 424 Comments 0 stretchedthin is offline
Old

Cut and paste

Posted 04-19-2012 at 05:57 PM by peonuser
Updated 04-19-2012 at 06:32 PM by peonuser (typos)

The "legacy os" people pride themselves in how they support pentium 3 and pentium 4 systems. Funny. We still use linux on pentium I and pentium II machines.

Thanx to all the people who have viewed http://www.instructables.com/member/computothought/. Over 236,000 views now.

Trying to think of a super simple example of cut and paste for a class. Here is what I came up with:

Play pretend here for a second. You are a new accountant for a company...
Member
Posted in Uncategorized
Views 452 Comments 0 peonuser is offline
Old

GUI coding. The 4 main parts of a typical GUI toolkit

Posted 04-19-2012 at 02:34 PM by rainbowsally
Updated 04-19-2012 at 02:51 PM by rainbowsally (clarification of 'metaobject' purpose in last line)

Let's start slow.

First of all, most of the GUI toolkits including QT4 are set up in the following steps, and in this order.
  1. Create an application, possibly with commandline args. (If not created explicitly this 'application' thing will already exist somewhere.)
  2. Create a main widget with the 'application' thingie as its parent.
  3. Show the main widget.
  4. Run the application event loop.

The 'application' is the main event dispatcher which translates X events...
Member
Posted in Uncategorized
Views 397 Comments 0 rainbowsally is offline
Old

GUI coding: First Stop QT4

Posted 04-18-2012 at 03:55 PM by rainbowsally
Updated 04-18-2012 at 03:57 PM by rainbowsally (misspelled title)

First of all, let me say that I've needed a widget that acts like a terminal -- like forever -- and I've checked out a LOT of toolkits having various degrees of success with each.

Perhaps oddly, tk was the best. QT4 was the worst. I subclassed a text editor widget and YOW! was it ever slow!! But I think we'll give QT another look and this is why.

I've checked out many toolkits including
  • tcl/tk (and variants)
  • xclass and xforms and it's descendants
  • fltk v 1.x
  • fltk
...
Member
Posted in Uncategorized
Views 8178 Comments 2 rainbowsally is offline
Old

Setting up Ubuntu / Squid Transparent Proxy

Posted 04-18-2012 at 07:28 AM by anthraxbb

New to Ubuntu and Linux, I hope someone will give sometime to help me out. I want to setup a transparent proxy server in ubuntu 10.04 or 11.04 using an Intel Pro 1000 MT Dual Network Adapter. My setup are as follows:

Modem > [eth0] Transparent Proxy [eth1] > Switch > Clients

Data obtain from Linksys E1000 Router:
- IP Address: 122.52.126.xx6
- Subnet Mask: 255.255.255.248
- Default Gateway: 122.52.126.xx5
- DNS 1: 124.106.5.xxx...
LQ Newbie
Posted in Uncategorized
Views 5466 Comments 1 anthraxbb is offline

  



All times are GMT -5. The time now is 07:17 PM.

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