Share your knowledge at the LQ Wiki.
Go Back > Blogs
User Name



First program in x86_64 assembly!

Posted 02-23-2012 at 12:38 PM by hydraMax (Bits and Pixels)

I wrote my first program in x86_64 assembly, learning from the AMD and GAS manuals. It is a text-based implementation of the old sliding puzzle game Fifteen:

Requires GCC to compile and a 64-bit OS to run.
Posted in Uncategorized
Views 448 Comments 0 hydraMax is offline

Slackware-13.37-Hacks-HP 2430dtn Network Printer

Posted 02-22-2012 at 08:01 PM by arniekat

NOTE - Your Printer must be a Network Printer with the JetDirect Print Server.


Connect the Printer to your router using an Ethernet Network Cable. Turn on the Printer.

On the HP 2430dtn, press the

Menu > Configure Device > I/O > Embedded JetDirect Menu > TCP/IP > Config Method > * Manual

Now, you will create a sub-menu for the Manual Settings which allow you to set the IP Address,...
LQ Newbie
Posted in Uncategorized
Views 1219 Comments 0 arniekat is offline

Sheevaplugging Again (or trying...)

Posted 02-20-2012 at 08:31 AM by brianL
Tags arm

Thought it was about time I had another go at trying to restore my Sheevaplug to its original state, but with the same results as last time. Included a screenshot this time.
Attached Images
File Type: jpg snapshot18.jpg (193.0 KB, 21 views)
LQ 5k Club
Posted in Uncategorized
Views 16491 Comments 5 brianL is offline

Starting With Stat (dyn linked shell routines)

Posted 02-19-2012 at 08:51 PM by rainbowsally

  • dynamic linkage of shell subroutines
  • automatically loading shell dependencies
In order to dynamically link subroutine files we need a method of blocking multiple loads of any file.

For this, we load a set of base definitions in a file named sub.sub. The sub.sub file includes some simple functions for listing functions and the main function that blocks multiple-loading as well as a 'sub.unload <filename> function so we can unload and reload subroutines while editing...
Posted in Uncategorized
Views 748 Comments 0 rainbowsally is offline

Create a self-extracting archive

Posted 02-16-2012 at 05:45 AM by rainbowsally
Updated 02-23-2012 at 07:50 AM by rainbowsally

CHANGELOG Feb 22, 2012
Changed the temp dir from /tmp to $HOME/tmp so everyone has write and execute perms in it. Added more cleanups including removal of the temp dir unless the user already had it and was using it.

  • Embedding binary data in a shell script.
  • Writing a program with a program.
  • Various useful snippets even if the app doesn't turn you on.

  • base64 (encoder in core utils)
  • tar (core utils)
  • xz (lzma stuff, real old linux
Posted in Uncategorized
Views 1763 Comments 0 rainbowsally is offline


All times are GMT -5. The time now is 07:32 AM.

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 @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration