LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

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:

https://frigidcode.com/code/fifteen/

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

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.

HP 2430DTN CONFIGURATION

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 1005 Comments 0 arniekat is offline
Old

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 14755 Comments 5 brianL is offline
Old

Starting With Stat (dyn linked shell routines)

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

Features:
  • 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...
Member
Posted in Uncategorized
Views 693 Comments 0 rainbowsally is offline
Old

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.


Features:
  • 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.

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

  



All times are GMT -5. The time now is 01:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration