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

Notices


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 1329 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 1303 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 1291 Comments 0 rocket357 is offline
Old

Build 141220 of SlackEX 14.1 live USB with kernel 3.18.1

Posted 12-20-2014 at 04:59 AM by exton (Exton's Blog)
Updated 12-20-2014 at 08:11 AM by exton

New features in version 141220 of SlackEX
SlackEX build 141220 comes as a ZIP-file for direct installation to a USB stick. I have replaced kernel 3.16.1-x86_64-exton with kernel 3.18.1-x86_64-exton with support for “everything”.

KDE is downgraded to version 4.10.5 from version 4.11.1. All other component software is also upgraded to the latest Slackware version by now. I may mention in particular GParted 0.17.0 (latest, not in Slackware’s repositories), VirtualBox 4.3.20...
ExTiX Admin
Views 1488 Comments 0 exton is offline
Old

Scaling out my Banana Pi server cluster

Posted 12-19-2014 at 07:36 AM by Pyplate
Updated 12-19-2014 at 02:14 PM by Pyplate

I've updated Pyplate to support multiple sites on a single server. Each site has its own Pyplate CMS directory, its own web root directory and its own set of tables in the database. The tables for each site are prefixed with the domain name of the site (with '_' replacing '.').

The database is stored on a MySQL database cluster using master/slave replication, so the tables for each site are accessible from each database server node.

I've dropped the idea of using...
LQ Newbie
Posted in Uncategorized
Views 1296 Comments 0 Pyplate is offline

  



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