LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

shutdown instead of reboot from ctrl-alt-del

Posted 06-14-2012 at 03:30 AM by neonsignal

Typically the ctrl-alt-del in Debian will cause the system to reboot (or the GUI may bring up a dialog).

If the preference is to have this shut down the system instead, the relevant line in /etc/inittab is changed from:
Code:
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
to:
Code:
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now
Senior Member
Posted in Uncategorized
Views 603 Comments 0 neonsignal is offline
Old

Understanding RAII (Resource Acquisition Is Initialization) - C++

Posted 06-14-2012 at 01:45 AM by TheIndependentAquarius
Updated 10-09-2012 at 02:44 AM by TheIndependentAquarius

  • Q: What is an exception safe code?
    A: A code may throw an exception but at the same time if it:
    • Doesn't allow any memory (allocated by it) to be leaked.
    • Lets the program to remain in a well-defined state (no dangling pointers
      and all) so that execution can continue as intended.
    • Reports the error to the caller (when encountered).
    then it can be termed as an exception safe code.

    Of course, a code which won't be throwing any exception ever is an exception
...
Senior Member
Views 1190 Comments 0 TheIndependentAquarius is offline
Old

Put a Hold on that Newegg Boycott

Posted 06-13-2012 at 11:48 AM by Skaperen

It seems Newegg was quick to deal with the situation they had, which was reported yesterday, regarding a rejection of return of a computer that had Linux installed on it.

http://consumerist.com/2012/06/neweg...all-linux.html

I'm still concerned about their procedures for wiping off used data storage devices before reselling them to customers, inside a computer or not.
Senior Member
Posted in Uncategorized
Views 406 Comments 0 Skaperen is offline
Old

Collaboration...

Posted 06-13-2012 at 05:52 AM by rich_c

With The Linux Foundation gaining Samsung as a Platinum supporter, it occurred to me that it's pretty unique how Linux in particular and Free software in general allows all sorts of individuals and organisations to get together productively. Just look at the list of contributors to the Linux kernel and the different organisations involved with The Document Foundation for a couple of examples.
Member
Posted in Uncategorized
Views 683 Comments 0 rich_c is offline
Old

Raspberry Pi - Info on Web

Posted 06-13-2012 at 03:38 AM by markyd
Updated 10-16-2013 at 05:33 AM by markyd (Update)

16th October 2013

Have I not updated this for over a year? OMG where does time go? So little time for projects :-(


http://learn.adafruit.com/category/raspberry-pi
A good place to start for all things to do with electrical interfacing is "Adafruit" and they have an excellent tutorial section which starts out very basic and then develops into real techy stuff, a must read.


http://wiki.tewesonline.de/doku.php?id=raspberry...
LQ Newbie
Posted in Raspberry Pi
Views 651 Comments 0 markyd is offline

  



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