-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
I need the package libusb for another package I am installing.
I tried the following which seemed to install the package,
sudo apt-get install libusb-dev
but when I try to install the other package I get,
configure: error: Package requirements (libusb-1.0 >= 0.9.1) were not met:
No package…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hi all,
this week we have been suffering some malicious vulnerability scans to our servers, increasing the load on them, making them nearly unusable.
The attack is easy to defend, just blocking the offending ip, but only after discovering it.
Is there any form of prevent it? Is it normal that…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I tried install psycopg2 via pip in my virtual env, but got this error:
ld: library not found for -lpq
(full log here: http://pastebin.com/XdmGyJ4u )
I tried install postgres 9.1 from .dmg and via port,
(gksks)iMac-Alexander:~ lorddaedra$ locate libpq
/Developer/SDKs/MacOSX10.7.sdk/usr/include/libpq
/Developer/SDKs/MacOSX10…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I'm installing the Bitnami Redmine stack (redmine + subversion). Firstly I install configure and test it locally (Ubuntu 14.04 LTS). And everything is OK.
I install Bitnami stack on server (Red Hat 4.4.7-4) and configure SVN.
I commit files into SVN and connect project into Redmine with SVN repository…
>>> More
-
as seen on Pro Webmasters
- Search for 'Pro Webmasters'
here is my htaccess file......
RewriteCond %{REQUEST_URI} ^/patients/billing/FAQ_billing\.html$ [OR]
RewriteCond %{REQUEST_URI} ^/patients/billing/getintouch\.html$
RewriteRule ^patients/billing/(.*)\.html$ $1.php [L,NC]
RewriteCond %{REQUEST_URI} ^/patients/findadoctor/a\.html$ [OR]
RewriteCond…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've got a java servlet which is hitting this bug when down-scaling images...
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5101502
I'm trying to work out the best way to work around it and would appreciate any ideas from the community.
Thanks, Steve
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am developing a simple web page to be viewed after an iphone application completes. I am finding the safari degrades the image quality of the jpg so its all fuzzy.
The image is background image applied to a div
div.foo
{
background: url(../images/foo.jpg) no-repeat;
width:320px;
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I would like to have a background image in my QGraphicsView that is always scaled (and cropped if necessary) to the size of the viewport, without scrollbars and without scrolling with the keyboard and mouse. The example below is what I am doing to scale and crop an image in the viewport, but I am…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I am designing a jpeg to bmp decoder which scales the image. I have been supplied with the source code for the decoder so my actual work is to design a scaler . I do not know where to begin. I have scouted the internet for the various scaling algorithms but am not sure where to introduce the scaling…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
hi,
1) if I create items in a for loop, is correct to add a new eventListener for each item ? Or should I add only 1 eventListener to the parent ? and call the event through ID ?
2) if I want to scale my item, (a LinkButton with icon image), I noticed that the icon is sometimes resized with delay…
>>> More