Jonathan Ben Avraham | 30 Aug 21:33 2014
Picon

[YBA] new package for simple HTTP file upload

Dear colleagues,
I have posted a new package for simple parsing of multipart/form-data file 
uploads with no dependencies on third-party code at

http://tkos.co.il/downloads/misc/libmpfd-1.0.0.tar.xz

The package is derived from code by Grigory Dmitrievich Gorelov posted at
http://grigory.info/MPFDParser.About.html

Sourse code is C++.

The libmpfd-1.0.0.tar.xz adds autoconf capability and a Mongoose example 
and some refactoring of the code. Does not handle filenames with spaces or 
Hebrew, yet...

Shavua tov,

  - yba

--

-- 
  9590 8E58 D30D 1660 C349  673D B205 4FC4 B8F5 B7F9  ~. .~  Tk Open Systems
=}-------- Jonathan Ben-Avraham ("yba") ----------ooO--U--Ooo------------{=
mailto:yba@... tel:+972.52.486.3386 http://tkos.co.il skype:benavrhm

_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

(Continue reading)

Eli Billauer | 30 Aug 19:27 2014
Picon

[HAIFUX' BIRTHDAY] The Founding Fathers' Session

On Monday, September 1st at 18:30, Haifux will gather for a mini-birthday party + to hear Guy Keren and Orr
Dunkelman on

    The Founding Fathers' Session

"Abstract"

In 1999, one Guy Keren and one Orr Dunkelman, founded the Haifa Linux 
Club (also known as Haifux <http://www.haifux.org>). In this 15 years 
celebration of Haifux, we are going to give two one hours talks, one by 
each founder, to celebrate the occasion.

*15 Years of Haifux: Linux Now and Then - by Guy Keren

* Part 2 of The Book of Bad Crypto Decisions (part 1 of 1,000,000) 
<http://www.haifux.org/lectures/327> - by Orr Dunkelman

=================================================================

We meet in Taub building, room 6. For instructions see:
http://www.haifux.org/where.html

Attendance is free, and you are all invited!

==================================================================
Future lectures:

There are no scheduled lectures. Do YOU want to give Haifux a birthday gift?

==================================================================
(Continue reading)

Omer Zak | 29 Aug 10:41 2014
Picon

Who is leaking memory in my Linux Jessie/KDE4 installation?

I have a 8GB PC which runs Linux Debian Jessie with KDE 4.4.
My problem is to find out who is occupying almost 4GB memory some time
after rebooting, even when nothing heavy is running.

The heaviest applications that I run are:
- A VirtualBox virtual machine occupying 3GB memory
- Google Chrome browser (version 37.0.2062.94, 64-bit)
- Evolution 3.12.2.

However, even when they are closed, a lot memory is still reported to be
in use.

My question is: besides top, what tools can be used to find who is using
all this memory?
The next question, of course, is how to get rid of those memory hogs
without destabilizing the system.

--- Omer

--

-- 
More proof the End of the World has started. Just saw this online:
I think it's beginning! Ten minutes ago there was a group of people
waiting at the bus stop outside my house. Now, they're all gone!
My own blog is at http://www.zak.co.il/tddpirate/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html

(Continue reading)

Efraim Flashner | 28 Aug 14:13 2014
Picon

terminal emulator

What terminal emulators are out there that correctly do bidirectional
text, for displaying hebrew in a readable manner.  finding one that
displays hebrew, but left to right, isn't hard, but either i'm not
configuring it correctly or I'm not finding one that does it right.

thanks

efraim
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Eli Billauer | 28 Aug 12:12 2014
Picon

Haifux celebrates 15 years this Monday

Hi all,

This Monday, Haifux' two Founding Fathers, Guy Keren and Orr Dunkelman, 
will reflect on the past: Guy will talk about how baby Linux has grown 
since Haifux was founded, and Orr will go on reading from the Book of 
Bad Crypto Decisions.

This is also a nice opportunity for an all-times reunion. :)

See you all,
    Eli

--

-- 
Web: http://www.billauer.co.il

_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

David Suna | 25 Aug 22:24 2014

Running multiple versions of PHP under Apache

I have a Debian Wheezy machine two virtual hosts configured on a single machine. One requires PHP 5.3 and the other requires PHP 5.4+. I am trying to set up the machine to allow both to run.

So far I have added php-fpm (fastcgi) as per https://www.linode.com/docs/websites/apache/running-fastcgi-php-fpm-on-debian-7-with-apache.

This site (http://www.howtoforge.com/how-to-use-multiple-php-versions-php-fpm-and-fastcgi-with-ispconfig-3-debian-wheezy) talks about using ISPConfig 3 for this. I have downloaded and compiled the 5.3 version of PHP but using ISPConfig seems to be a big headache.

From http://thejibe.com/blog/14/02/phpfarm it would seem like I should be able to have the configuration done within the virtualhost directives but that page seems to be out of date and I didn't follow all of the changes being suggested.

Is it possible to use fpm pools to reference different PHP versions?

What are my other options for having two virtual hosts using different PHP versions on the same machine?

Thanks
-- David Suna david-lbDOmM3XA9gS/o5rz7uIBZqQE7yCjDx5@public.gmane.org
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Erez D | 25 Aug 09:25 2014
Picon

cgi bg

hi

i have a php cgi scripts that
1. generates an http response , this takes less than a second
2. do some stuff that may take some time, lets say a minute

when posting to that cgi, although the html is returned in less then a second, the request is not closed until the minute has passed.

i want the http transaction to be closed when done (i.e. less than a minute)
but the php script to continue it's action (e.g. the minute it takes)

can i do it in php ? i.e. flush, or send eof, which will finish the request but leave the php running until done ?


thanks
erez
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Aharon Schkolnik | 24 Aug 19:47 2014
Picon

GRUB after clonezilla

Hi.

I used clonezilla to copy a NTFS (Vista) partition to a new disk.
There were no problems with the  copy, and the new partition looks fine.
However, I can not get GRUB to boot from the new partition.

grub2-mkconfig does not create a menu entry for it.

I created an entry by hand using the following code:

menuentry "Vista" {
set root='(hd0,2)'
chainloader +1
}

But, when I try to boot from  that entry, I get the error: invalid signature.

I ran bootinfoscript, and I saw the following:


sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  According to the info in the boot sector, sda3 starts
                       at sector 230686720. But according to the info from
                       fdisk, sda3 starts at sector 211814400.
    Operating System:  Windows Vista
    Boot files:        /Windows/System32/winload.exe


So I used testdisk to fix the boot sector, and now:

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows Vista
    Boot files:        /Boot/BCD /Windows/System32/winload.exe



Yet, grub2-mkconfig still doesn't create an entry for the Vista partition.


Can anyone help ?

TIA.

-- The day is short, and the work is great, | Aharon Schkolnik and the laborers are lazy, and the reward | is great, and the Master of the house is | aschkolnik-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org impatient. - Ethics Of The Fathers Ch. 2 | 054 3344135
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Aharon Schkolnik | 21 Aug 14:20 2014
Picon

Re: Hebrew File Names

Tried utf8, but no luck.
However, using 7zip instead of tar solved the problem.

Thanks for the help.


On 08/21/2014 10:54 AM, Shachar Shemesh wrote:
Most likely, your linux uses utf8, not iso-8859-8, for encoding. Adjust your mount option accordingly. Shachar On Aug 21, 2014 10:21 AM, Aharon Schkolnik <aschkolnik-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi. I have some files with Hebrew names on an NTFS file system. The file system is accessible from Linux but not from Vista (on the same box) - Vista doesn't have a driver for the SCSI controller. I want to transfer the files to a SATA disk on the same box - which is accessible from Vista. I tried tarring the files, but the Hebrew file names were unreadable under Vista. I tried this line in my fstab, but it didn't help: UUID=F2ACCD26ACCCE5E7                                   /WindowsD/              ntfs   ro,nls=iso8859-8,users 0 0 Any ideas how I can copy the files and preserve the Hebrew file names ? TIA. Aharon -- The day is short, and the work is great, | Aharon Schkolnik and the laborers are lazy, and the reward | is great, and the Master of the house is | aschkolnik-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org impatient. - Ethics Of The Fathers Ch. 2 | 054 3344135


-- The day is short, and the work is great, | Aharon Schkolnik and the laborers are lazy, and the reward | is great, and the Master of the house is | aschkolnik-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org impatient. - Ethics Of The Fathers Ch. 2 | 054 3344135
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Aharon Schkolnik | 21 Aug 09:21 2014
Picon

Hebrew File Names

Hi.

I have some files with Hebrew names on an NTFS file system.
The file system is accessible from Linux but not from Vista (on the same box) - Vista doesn't have a driver for the SCSI controller.
I want to transfer the files to a SATA disk on the same box - which is accessible from Vista.
I tried tarring the files, but the Hebrew file names were unreadable under Vista.
I tried this line in my fstab, but it didn't help:
UUID=F2ACCD26ACCCE5E7                                   /WindowsD/              ntfs   ro,nls=iso8859-8,users 0 0


Any ideas how I can copy the files and preserve the Hebrew file names ?

TIA.

Aharon
-- The day is short, and the work is great, | Aharon Schkolnik and the laborers are lazy, and the reward | is great, and the Master of the house is | aschkolnik-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org impatient. - Ethics Of The Fathers Ch. 2 | 054 3344135
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Erez D | 14 Aug 12:22 2014
Picon

Q: suspend and resume a usb device from command line

i searched and could not find a solution

i need to suspend a specific usb device, and later resume it
i have no 'power/level' or 'power/pm_qos_no_power_off' under /sys/bus/usb/devices/...

does anyone know how i can achieve this ?
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Gmane