Are these ok? My config line is this:
./configure --enable-fastcgi --enable-fpm --with-mcrypt --with-zlib --enable-mbstring --with-openssl --with-mysql --with-mysql-sock --with-gd --with-jpeg-dir=/usr/lib --enable-gd-native-ttf --without-sqlite --disable-pdo --disable-reflection --with-curl --with-mysqli=/usr/bin/mysql_config
And the...
I've run into a peculiar problem where a hql query is working as expected on Windows but does not on Linux.
Here is the query:
select distinct resource from Resource resource , ResourceOrganization ro
where (resource.active=true) and (resource.published=true) and
((resource.resourcePublic=true) or ((ro.resource.id=resource.id and
r...
I have a bash script that runs on a machine (called lazyguy) that is usually turned off. Every night, lazyguy wakes up at a known time programmed in the BIOS, does a bunch of processing and inserts data to its Postgres database. Then, it goes to sleep (database and all).
How can get notified when the script did NOT run? Ideally, I'd ...
Hi,
Our school is setting up a Linux computer lab for students to use. We have Kinetic Books and would like to run it on these computers. The software is java-based. Is it possible to run it under Wine? Are there any general rules-of-thumb for which programs are Wine-compatible?
Thanks!
...
Until now I'm setting up my own development environment with Vagrant/VirtualBox/Chef (Ruby).
I wonder if there is a hosting company that provides pre-configured VPS for...
Ruby/Rails
Javascript/Node
...letting me just choose what I want to have installed and also which linux packages I would like to install in each VPS.
Are there h...
Hello,
I'm changing X's orientation with following command
xrandr -o left
xrandr -o normal
...
When orientation is changing screen becomes black for a moment then it switches orientation.
So how to get rid of this black screen effect ? Maybe some other options should be added to xrandr ?
Regards,
Levon
...
I have to create a software that must work on several *nix platforms (Linux, AIX, ...).
I need to handle internationalization and my translation strings are in the following form:
"Hi %1, you are %2." // English
"Vous êtes %2, bonjour %1 !" // French
Here %1 stand for the name, and %2 for another word. I may change the format, that's...
I want to make a call - either a function call or doing some condition for a PERIOD of time ... typically 10 - 20 seconds.
I would get some user input for the amount of time and do that ...
What is the proper function to use on Linux/Unix systems?
gettimeofday seems to be the way to go ... or perhaps time_t time(time_t *t) ... seems...
Hi!
Some time ago I read a discussion in /r/linux and someone mentioned a script that checks new messages in IRC channel (in irssi client) and if they contain announce urls for torrents, they are passed to a torrent client (rtorrent) for downloading. Sadly, I didn't bookmark it, nor I could find it now. Maybe someone has a similar scrip...
Hello.
I would like (in *nix) to allocate a large, contigious address space, but without consuming resources straight away, i.e. I want to reserve an address range an allocate from it later.
Suppose I do foo=malloc(3*1024*1024*1024) to allocate 3G, but on a 1G computer with 1G of swap file. It will fail, right?
What I want to do is sa...
Hi.
I am writing a program for linux in C to extract the wpa/wep key from a windows registry hive.
Initially I was hoping to use wine's CryptUnprotectData function, but I realise now that wine uses a different algorithm and just mimics window's version. I also realise that only the user that encrypted the data can decrypt it.
I am usi...
I see in Linux these things, but what is it?:
./configure
make
make install
etc etc.
...
I followed this tutorial: http://blog.boxedice.com/2010/01/19/updating-python-on-rhelcentos/ because I wanted to install python2.6 on a CentOS 5.5 machine without breaking yum.
And i was successfully able install python2.6. My question is that after completing the above commands the next time I try installing packages will it automatica...
The following is generated query from Hibernate (except I replaced the list of fields with *):
select *
from
resource resource0_,
resourceOrganization resourceor1_
where
resource0_.active=1
and resource0_.published=1
and (
resource0_.resourcePublic=1
or resourceor1_.resource_id=resource0_.id
...
I posted this as comments under this related thread. However, they seem to have gone unnoticed =(
I've used 'ffmpeg -i myfile.avi -f image2 image-%05d.bmp' to split 'myfile.avi' into frames stored as .bmp files. It seemed to work except not quite. When recording my video, I recorded at a rate of 1000fps and the video turned out to be 2m...
Can I change the Caps Lock key to Control and still keep the on/off nature of Caps Lock? I've checked into using xmodmap and seem to have hit a dead end. Many people want to swap them, but they also want to swap the way they work. I'd rather keep my new Control key as an on/off switch for Control.
...
ls -l
-rwxr-xr-x 1 root root 885 2010-07-08 13:55 /etc/backup-number-of-files*
-rwxrwxr-x+ 1 levchuk Users 1067 2010-08-30 14:37 /etc/backup-running-time*
Please notice the + on the 2nd line.
...
What is the difference between apt-get vs aptitude. Which one is better? pros/cons?
...
If all I have of a library is a *.a static library. Is there a way I can convert that to *.so dynamically linked library? Maybe using ld?
I'm using SUSE Linux. ELF platform.
...
I'm writing a shell script that will create a textual (i.e. diffable) dump of an archive.
I'd like to detect whether or not each file is printable in some given character set, and if it is printable, I'd like to convert to that character set from whatever one it's in, if this is possible, and make its contents part of the dump.
I've co...