-
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 want to pass XML as a string in an XML attribute.
<activity evt="<FHS>
<act>
<polyline penWidth="2" points="256,435 257,432 "/>
</act>
</FHS> />
Here the "evt"…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
We're building an app, our first using Rails 3, and we're having to build I18n in from the outset. Being perfectionists, we want real typography to be used in our views: dashes, curled quotes, ellipses et al.
This means in our locales/xx.yml files we have two choices:
Use real UTF-8 characters…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm using all of the below to take a field called 'code' from my database, get rid of all the HTML entities, and print it 'as usual' to the site:
<?php $code = preg_replace('~&#x([0-9a-f]+);~ei', 'chr(hexdec("\\1"))', $code);
$code = preg_replace('~&#([0-9]+);~e', 'chr("\\1")', $code);…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
What's the HTML character entity for the # sign? I've looked around for "pound" (keeps returning the currency), and "hash" and "number", but what I try doesn't seem to turn into the right character.
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have email addresses encoded with character entities, is there anything in .net that can convert them to plain string?
>>> More