LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

GTK Resource Compilation Utility

Posted 04-09-2015 at 02:30 PM by rainbowsally

GTK Resource Compilation.

There's a utility called 'glib-compile-resources' that takes an xml file that is basically a
list of resources such as glade ui files, and it outputs c code to embed the data in the
application. It's messy to use, but it works.

There may be another messy gtk/glib utility to create these xml files that 'glib-compile-resources'
can use, but if there is here's another one that may or may not be easier to use.
...
Member
Posted in Uncategorized
Views 88 Comments 0 rainbowsally is offline
Old

new runc version

Posted 09-27-2013 at 03:53 PM by rainbowsally

Here's where runc can be d/loaded.
Run C/C++ Code As Script
http://www.linuxquestions.org/questi...-script-35691/

Here's another usage example for runc.

When you want to pack up a bunch of folders by name that live in a windows partition, there's a great likelihoold that spaces in the paths could cause a normal shell program to mis-parse the file names.

Runc uses C/C++ and the built-in slist functions...
Member
Posted in Uncategorized
Views 492 Comments 0 rainbowsally is offline
Old

Computer Mad Science Continues To Baffle The Experts...

Posted 06-01-2013 at 08:24 AM by rainbowsally
Updated 08-06-2014 at 07:26 AM by rainbowsally (new dl site)

[UPDATE: (2013-06-10) The uitool link has been updated below. Better version, tested, has no mc2 lib deps.]

Been busy elsewhere for a while, but now I'm back, I think.

Today's Features:
  • A ui tool for creating code skeletons.
  • A cool Sudoku puzzle solver (with save/restore file funcs).
  • A qt graphics lib with mc2-generated makefiles (qwt).
  • Notes about why mc2 kicks &ss.
  • Notes about kregeditor.
  • And the make-based installer fixups for root system installations.
...
Member
Posted in Uncategorized
Views 456 Comments 0 rainbowsally 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 751 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 1780 Comments 0 rainbowsally is offline

  



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