LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

new.sfxz text-based archive creation utility, C version

Posted 05-20-2015 at 04:53 AM by rainbowsally

new.sfxz text-based archive creation utility, C version

Today's fantastic adventure in Computer Mad Science is the creation of a utility to create the 'sfxz' text-based archives, such as this one (see below). But for anyone not familiar with amazing, magical, and mystifying power of Computer Mad Science, there are some other interesting things going on here.

Feature:
  • A simpler, faster, more reliable sfzx sytem using the C slist variation.
  • 'new.codeblocks code=c'
...
Member
Posted in Uncategorized
Views 2778 Comments 0 rainbowsally is offline
Old

64-bit utilities (includes mc2-64 bit)

Posted 05-03-2015 at 06:00 PM by rainbowsally
Updated 05-04-2015 at 02:35 PM by rainbowsally (Uninstaller fixed and uploaded, mc2 build bugs fixed)

We'd better tool up. The old mc2 was for 32-bits. There are a few bugs in it but it should work for those needing 32 bit compilation on a 64 bit machine.

[Note: May 4, Found installer bugs in the mc2 src d/load. Path to panic version of mc2 was added so the stuff could update before being installed and pkg-config string replaces individual includes and libs now. Sorry about that. Should work now.]

But today's amazing journey into Mad Computer Science is...
  • Here
...
Member
Posted in Uncategorized
Views 1705 Comments 0 rainbowsally is offline
Old

The C/C++ Parser Generator (v. 2.x)-- Intro & Example 1 (ToCamelCase)

Posted 04-20-2015 at 06:42 PM by rainbowsally
Updated 05-04-2015 at 12:27 PM by rainbowsally (not enough sleep that day)

The C/C++ Parser Generator (v. 2.x)-- Intro & Example 1 (ToCamelCase)

Based loosely on the long defunct but exceedingly wonderful non-gnu BNF project at Savanah...

Today's Amazing Features
  • Character-wise parser with basic string (abbrev 'str') functions built-in.
  • Uses normal intuitive C/C++ boolean grammar, if(), while(), &&, ||, etc.
  • Powerful string translation and inline EXTERN( ... ) capability.
  • Funcs:
  • is_*()
  • not_*()
...
Member
Posted in Uncategorized
Views 1242 Comments 0 rainbowsally is offline
Old

GTK Resource Compilation Utility

Posted 04-09-2015 at 02:30 PM by rainbowsally
Updated 04-22-2015 at 01:41 PM by rainbowsally (text formatting probs)

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.

file: src/gtk.mkres.cpp...
Member
Posted in Uncategorized
Views 2286 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 1417 Comments 0 rainbowsally is offline

  



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