LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > rainbowsally
User Name
Password

Notices


Uncategorized Entries with no category
Old

Frankenstein (bash) Meets GodziRRa (C/C++).

Posted 01-25-2012 at 02:57 AM by rainbowsally
Updated 08-06-2014 at 10:34 AM by rainbowsally

Frankenstein (bash) Meets GodziRRa (C/C++).

Changelog: Mar 31, 2012.
Added path correction noted by ntubski. Commandline was:
file-sig file-sig
should be:
./file-sig file-sig

[Thanks.]

Features:
  • Simple C program embedded in a bash script.
  • Program that doesn't print a newline at the end of a string.
  • Compiling without superuser privileges.
  • Ethical concerns.

Requires:
  • bash
  • gcc

Bash is so screwy it feels...
Member
Posted in Uncategorized
Views 10875 Comments 2 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 1087 Comments 0 rainbowsally is offline
Old

Simple C: Filling in the blanks - A simple memory allocator/reallocator.

Posted 01-23-2012 at 07:32 AM by rainbowsally

No memdup()? No memcat()? No prob.

Today's Features:
  • Simple C/C++ program and new memdup() and memcat() functions.
  • C macros (spanning lines with backslash) to create 'lenient' aliases.
  • Type casting in C/C++ to override sometimes overly strict syntax checks.
Anyone that has used strdup() or strcat() knows how convenient those are. But when it comes to memory allocation and reallocation for other kinds of data the lack of simple standard mechanisms for this often leads to duplicated...
Member
Posted in Uncategorized
Views 7029 Comments 1 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 1342 Comments 0 rainbowsally is offline
Old

More Mad Computer Science? (Simple multi-threading in a shell script)

Posted 01-20-2012 at 09:02 AM by rainbowsally

Just dropping by? Here's an easy one. And it's kind of fun.

We've already created a launch utility in this blog, but let's create one that works on other folks systems so they don't need to "install" (so to speak) anything to get the benefits of the functionality.

First let's look at the principles involved

Let's read fstab as a normal user. Don't 'su' or 'sudo su' here, because we don't actually want to be able to write to it. Just picking...
Member
Posted in Uncategorized
Views 34066 Comments 7 rainbowsally is offline

  



All times are GMT -5. The time now is 03:39 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
Open Source Consulting | Domain Registration