LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Playing with parsing

Posted 01-02-2013 at 07:46 PM by rainbowsally
Updated 08-06-2014 at 08:36 AM by rainbowsally (typo correction)

Playing with parsing

Today's features:
  • Creating an extensible mid-level parser that makes sense in C.
  • Looking at BNF-like syntax and C syntax similarities.
  • Tossing flex as far as we can throw it. While its still burning.

The file set here isn't 'finalized' in any way but it's been stable for a few days. These examples are therefor not about THIS set of functions but about parsing in general, although this file set will very likely be part of the mc2 parsing system...
Member
Posted in Uncategorized
Views 470 Comments 0 rainbowsally is offline
Old

https problem in transparent proxy

Posted 01-02-2013 at 04:21 AM by nandhapswan

I have configured squid as transparent proxy. But my users can not access the sites having https. Logically I should use iptables to redirect all the traffic.

The quick response will highly appreciated.

--
Regards,
Nantha....
LQ Newbie
Posted in Uncategorized
Views 2279 Comments 1 nandhapswan is offline
Old

haskell: get lines and handle end of file

Posted 01-01-2013 at 02:23 AM by hydraMax (Bits and Pixels)
Updated 01-01-2013 at 02:27 AM by hydraMax
Tags haskell

I thought I'd post this convenience function, since I didn't see an obvious one in base:

Code:
import Prelude hiding (catch)
import Control.Exception
import System.IO.Error hiding (catch)

readl f = catch (getLine >>= return . Just)
                (\e -> if (isEOFErrorType . ioeGetErrorType) e
                         then return Nothing
                         else ioError e)
          >>= \a -> case a of
...
Member
Posted in Uncategorized
Views 684 Comments 0 hydraMax is offline
Old

PlayShell 0.2-WP12A

Posted 12-31-2012 at 08:27 PM by konsolebox

PlayShell 0.2-WP12A was released yesterday.

It's the last version for 2012. Lots of important fixes and improvements were made there. It's pretty stable and consistent already compared to other earlier versions. An overhaul was made.

Hompepage: http://playshell.sourceforge.net/
SF.net summary page: http://sourceforge.net/projects/playshell
Release files: http://sourceforge.net/projects/play...hell/0.2-WP12A
Online repository: http://sourceforge.net/p/playshell/code/
Senior Member
Posted in Projects
Views 578 Comments 0 konsolebox is offline
Old

Thunderbird "hyperlinks don't open" fix

Posted 12-31-2012 at 05:45 AM by catkin
Updated 01-04-2013 at 01:27 AM by catkin

A new installation of Thunderbird did not open hyperlinks in incoming mails. After ~3 days of looking for a fix, I found it in AndrzejL's Re: Fixing Skype / Thunderbird / Google Earth connection with Firefox on PCLinuxOS-Forums. This is to publicise AndrzejL's technique because I had found it early in the search for a solution and dismissed it as similar to others and/or not closely related to the problem.

AIUI AndrzejL's technique applies when there are no entries for HTTP and...
LQ 5k Club
Posted in Uncategorized
Views 435 Comments 0 catkin is offline

  



All times are GMT -5. The time now is 11:42 PM.

Main Menu
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