LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Simple C: Beyond Bash Part 1 - String lists and pipes

Posted 01-26-2012 at 08:03 AM by rainbowsally
Updated 04-05-2012 at 07:54 PM by rainbowsally

[Note, this is marked for POSSIBLE deletion in the future by the author. This version is not exactly the same as the one in libLQ. In fact it may be removed a bit later, though it has some advantages over the the libLQ version in that it uses REAL char** types which behave exactly like any other char** type. The libLQ version monkeys with the base address in order to tuck an 'argc' below the first arg and thus avoid repeatedly literally 'count'-ing the string size. It is is a subclass of an...
Member
Posted in Uncategorized
Views 6833 Comments 2 rainbowsally is offline
Old

Assembler Stuff: Asm and Inline Asm

Posted 01-25-2012 at 07:15 PM by rainbowsally

Assembler Stuff: Asm and Inline Asm

Features:
  • Asm and inline asm examples
  • Using C macros to create global function names
  • Intel and ATT syntax
  • Viewing disassembly in a *.s file and using objdump

Let's get right to the point...

Code:
// main.c
// COMPILE: gcc main.c -o main --save-temps
// take a look at the C asm output file, 'main.s' afterwar

// 64 bit asm keeps part of the stack in registers in C, so let's
//
...
Member
Posted in Uncategorized
Views 816 Comments 0 rainbowsally is offline
Old

update

Posted 01-25-2012 at 06:42 PM by XenaneX

I still use PCLinuxOS on one computer. Version 11.06 I believe it is called. It is very polished and I like it a lot. However, it is 32 bit and the lack of a 64 bit version caused me to go looking for another distro.

My other computer, the one I'm on now, has simply Mepis 64 bit on it and it runs nicely. There are some minor issues such as a volume slider that doesn't change the volume. I have to open the mixer and use the slider in it which works well enough. Also, M11, as...
Member
Posted in Uncategorized
Views 639 Comments 0 XenaneX is offline
Old

Holy Binary Blobs, Batman!

Posted 01-25-2012 at 02:58 PM by hydraMax (Bits and Pixels)

Just how many binary blobs are there in the kernel...!? I finally enabled "deblob" for my gentoo kernel sources, and it took the build five minutes to remove all the kernel blobs! Must have been hundreds of them. I think I saw my Ethernet driver scroll by... hopefully I have networking in my next boot. (*gulp*)
Member
Posted in Uncategorized
Views 467 Comments 0 hydraMax is offline
Old

Flattened rice AKA Poha (in Hindi)

Posted 01-25-2012 at 06:17 AM by TheIndependentAquarius
Updated 07-04-2014 at 01:31 AM by TheIndependentAquarius

Notice: Spoon measurement : 6mlIngredients:
  • 1 spoon small yellow Mustard seeds (Aka Sarson in Hindi)
  • 4 small Green chillies (Aka Hari mirch in Hindi) thinly chopped.
  • 1 and 1/2 spoon fresh Ginger (Aka Adrak in Hindi) finely grated.
  • 1/2 spoon Salt.
  • 2 medium Onions thinly chopped.
  • 1/4 spoon Turmeric powder (Aka Haldi in Hindi).
  • 4 cups Flattened rice.
  • Juice of half lemon.
  • Oil for frying.

Directions:
  • Wash the Flattened Rice. Keep it wide spread in a holed dish. Drain
...
Senior Member
Posted in Recipes
Views 7597 Comments 3 TheIndependentAquarius is offline

  



All times are GMT -5. The time now is 11:08 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration