LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


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 1789 Comments 0 rainbowsally is offline
Old

Simple C: some ideas on how to find headers, names, and a name demangler tool

Posted 02-08-2012 at 03:23 AM by rainbowsally
Updated 08-06-2014 at 10:30 AM by rainbowsally

The simplest yet, I think.. at least the C program is.

Features:
  • tips on how to find C/C++ header paths and declarations
  • tips on how to find libs containing references and definitions
  • a super-simple program to demangle C++ names
----------------
Note: With even a simple automatic makefile generator such as the one built from sources in this blog (
http://www.linuxquestions.org/questi...-part-2-34421/),
...
Member
Posted in Uncategorized
Views 862 Comments 0 rainbowsally is offline
Old

KDE Utils: new.exec, shell-exec (for ENTER & click on executables)

Posted 01-28-2012 at 03:08 AM by rainbowsally

[This post includes some test data showing what's wrong in KDE and a peek into the configuration files for various file types.]

Let's start with a program that writes programs. This is 'new.exec'.

file: new.exec (executable)
purpose: create a skeleton of a clickable shell program with an 'exec' extension.
Code:
#!/bin/sh
# creates a new exec file named $1.exec that does $2

name_exec="$1.exec"
cd_here='cd `dirname
...
Member
Posted in Uncategorized
Views 1137 Comments 0 rainbowsally is offline
Old

Let's Go Retro Now - A RPM Extractor w/ Scripts

Posted 01-23-2012 at 08:10 PM by rainbowsally
Updated 04-05-2012 at 07:44 PM by rainbowsally (Kubuntu no longer has link to experimental/optimization forum on their main page. Can't find the link to the deb package build scripts I once uploaded there.)

[Note to myself: links to kubuntu forum re. deb extraction, rebuilding 2 places appears to be gone. It was in the Experimental section which appears to have been removed. :-( .]

Let's Go Retro Now - A RPM Extractor w/ Scripts

Especially when building retro packages from binary packages, we need to look out for old development files overwriting newer ones.

For deb packages, the process is a bit more complicated, but once you have a set of definitions...
Member
Posted in Uncategorized
Views 634 Comments 0 rainbowsally is offline
Old

KDE Utils: cleanup, hlp

Posted 01-23-2012 at 07:16 AM by rainbowsally
Updated 01-23-2012 at 07:19 AM by rainbowsally

Features:
  • Cleanup old backup files quickly with feedback on operations being done.
  • Outstanding doc viewer that doesn't tie up your terminal.
--------------------
See the link below for the "how and why" to install these as symlinks in your HOME/bin folder. Need functions for 'browse', 'launch', 'tofile'? It's all here.
http://www.linuxquestions.org/questi...-tofile-34376/
--------------------...
Member
Posted in Uncategorized
Views 814 Comments 0 rainbowsally is offline

  



All times are GMT -5. The time now is 08:49 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