LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Microsoft below the surface.

Posted 12-24-2014 at 03:17 PM by peonuser

Microsoft Surface is just another touchpad. Why not get a generic touch pad for a fraction of the cost that will virtually do the same thing.

Member
Posted in Uncategorized
Views 276 Comments 0 peonuser is offline
Old

nftables series - part 1 - baby steps

Posted 12-24-2014 at 07:53 AM by serafean
Updated 12-24-2014 at 07:55 AM by serafean

Nftables introduction

I assume a kernel >=3.18 and nft >= 0.4.

I decided to try out nftables, the would-be iptables successor on my home router/server PC.
As a basic guide I used this guide and the pretty good basic documentation on wiki.nftables.org.

Nft comes with a completely empty ruleset. Meaning no predefined tables, chains or rules.
You as a user create tables, populate those with chains (which hook into kernel netfilter hooks)...
Member
Posted in nftables
Views 337 Comments 0 serafean is offline
Old

C conversion.

Posted 12-22-2014 at 01:44 AM by peonuser

The main thing we did was to add a substitution for get(ch) and clrscr();

Original code:
#include<stdio.h>
void main()
{
int n,d=0,j,a[9];
clrscr();
printf("Enter the Integer which u want to Convert Decimal to Binary : ");
scanf("%d",&n);
while(n>0)
{
a[d]=n%2;
n=n/2;
...
Member
Posted in Uncategorized
Views 213 Comments 0 peonuser is offline
Old

Per-application bookmarks on GTK's file dialog?

Posted 12-22-2014 at 12:56 AM by the dsc (linux-related notes)
Tags gtk, rant

On KDE/QT file dialog there's often a pop-up with a check box saying "remember only in KurrentApplication", so you can have different sets of "bookmarks", restricted to relevant applications. That is, no picture folders on audio applications and vice-versa/whatever.

Is there a hidden way to do that with GTK? Probably answering myself already, but I don't think so (the gtk-terminology would be "shortcut", instead of "bookmark", though):
...
Member
Posted in Uncategorized
Views 475 Comments 4 the dsc is offline
Old

Took the Plunge

Posted 12-22-2014 at 12:13 AM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 12-22-2014 at 12:42 AM by rocket357

I've run a tor relay over at Digital Ocean for a while now, and I finally decided to pull the plug on it. Digital Ocean announced up coming BSD support, and I waited with anticipation to see exactly how far they were willing to go with the BSDs...and let down that it was only FreeBSD support. (I've been running the tor node on Debian...not exactly ideal in my opinion, but it's been working well enough...I was really looking forward to switching the tor node over to OpenBSD...).

...
Member
Posted in Uncategorized
Views 226 Comments 0 rocket357 is offline

  



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