LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Interesting facts about ASCII

Posted 02-03-2012 at 04:59 AM by hydraMax (Bits and Pixels)

Some interesting about ASCII, when it is represented as bytes in a binary system: (taken from Art of Assembly Language):

1) All alphabetic characters in standard ASCII can be converted to lowercase or uppercase simply by toggling the fifth bit (the first bit is bit zero). E.g.:

Code:
E = 01000101
e = 01100101
2) you can obtain the numeric equivalent of any of the numeric characters by subtracting 0x30 from the ASCII value.

3) Bits five...
Member
Posted in Uncategorized
Views 2370 Comments 0 hydraMax is offline
Old

film photography

Posted 02-02-2012 at 01:32 PM by Web31337 (In The Middle Of Nowhere [edK's blog])

This year I'm moving back to film photography and will learn processing myself, since no real lab in our forsaken town.
Anyway, time to get my hands busy with some art ;D
Enough writing shit-code!
Member
Posted in etc
Views 5181 Comments 1 Web31337 is offline
Old

incremental backup on tape drive

Posted 02-02-2012 at 07:24 AM by nayan123

Dear Sir,

I want to take backup on LTO4 for Linux partition (mounted as user home ). How can I take incremental backup . I have 8 partition belongs to 8 home (including numbers of home on each partition ) in my NIS server and eight LTO4 tape drive. How can I take incremental data backup? Is there any GUI third party software there or any kind of script have to be run. Please help in this regards. I am totally stuck on it.

Regards
Nayan
LQ Newbie
Posted in Uncategorized
Views 425 Comments 0 nayan123 is offline
Old

Really tiny executable

Posted 02-01-2012 at 03:23 PM by hydraMax (Bits and Pixels)

Thought this was neat:

A Whirlwind Tutorial on Creating Really Teensy ELF Executables for Linux

The author uses assembly and ELF-hacking to make a binary as small as possible while still doing something useful (returning a value). Goes step-by-step through each hack.
Member
Posted in Uncategorized
Views 4521 Comments 1 hydraMax is offline
Old
Rating: 2 votes, 5.00 average.

How to reverse a linked list? - C

Posted 02-01-2012 at 05:49 AM by TheIndependentAquarius



Code:
void reverseLinkedList ()
{
	linkedList *pointer1;
	linkedList *pointer2;
	
	pointer1 = NULL;
	pointer2 = head->next;
	
	while (pointer2 != NULL)
	{
		head->next = pointer1;
		
		pointer1     = head;
		head         = pointer2;
		pointer2     = pointer2->next;
	}
...
Attached Files
File Type: txt reverseLinkedList.txt (1.8 KB, 5 views)
Senior Member
Posted in Data structures
Views 1500 Comments 0 TheIndependentAquarius is offline

  



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