#28: crontab settings for deploying Ultrasphinx
Solved!
the SelfSolved instance deployed uses Ultrasphinx for its full-text indexer and search provider. The sphinx indexer needs to be run regularly to index new text that appears on the site.
I need crontab incantations to set the indexer to create delta indexes...
#27: Please select a file before uploading
I have a problem when allowing users to select a profile image on the registration form. The image is being lost between the confirmation page and the checkout page. So after submitting the form, I land on the first confirmation page without any problem. But...
#26: Switch a MySQL table charset to UTF8
Solved!
I would like to switch a MySQL table or database to the UTF-8 character set, after it has already been created as Latin1.
#25: Create bookmarklet that uses an iframe to submit data
The current SelfSolved bookmarklet takes you out of page context (it redirects you). I want to create a bookmarklet that opens up an iframe on the current page. This, is of course, cross-domain.
#23: Compile tsocks 1.8.x on OS X
One persistent problem that I run into is that I need to access certain network resources through a SOCKS proxy server. This works great for web resources, but I also need SSH and Subversion access. SOCKS support in these tools are woefully inadequate or...
#22: Pylons - how to turn off caching completely
Solved!
Using Pylons 0.9.6, it would be desireable to turn off template caching completely at the Beaker level so that template changes would be reflected immediately during development.
#21: Eclipse: exclude directories from file searches
Solved!
In Python / Pylons projects, there is often a data directory consist of semi-compiled text used for template generation. It would be useful if I can skip searching over these files while working in Eclipse. Eclipse has a functionality to search for strings...
#20: Subversion: ignore a version controlled file on commit
For my project, I have several runtime configuration files that differs on each machine it's installed on. Each developer that works on the project needs to make changes to the conf file, but I don't want the developer-dependent, custom settings in their individual...
#19: Performance Teknique Car Alarm ICBM-7071
Installing ICBM-7071 car alarm in 2002 Ford Crown Vic.
Problem1 - Solved
The indicated trunk switch input on the 8 pin connector was mislabeled. The manual said that the third wire from the left should be a black wire for the trunk input but the actual wire...
#14: Setting up trac under mod_wsgi returns NULL result error
When accessing the trac URI, a text/plain document is returned with Python errors, ending with
SystemError: NULL result without error in PyObject_Call
#13: Compiling mod_wsgi fails with relocation error
/usr/bin/ld: /usr/local/lib/python2.5/config/libpython2.5.a(node.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/python2.5/config/libpython2.5.a: could not read symbols: Bad...
#12: Find all words that end in...
Given a list of words in a text file, one word per line (such as, /usr/share/dict/words on OS X) there should be a quick way to find all words that end in a substring.
Example:
Find all words that end in "me"
assume
consume
presume
...
#11: Python formencode doesn't run validations when input is None
Using FormEncode 1.0.1, validations don't seem to run when an input value of None is provided to the FancyValidator.to_python or Schema.to_python method.
Example
validation schema:
class ValidToken(formencode.FancyValidator):
def _to_python(self, value...
#10: How can I tell if a PNG has transparency?
Solved!
I have a PNG, and I want to know if the background (or any regions) are transparent.
#9: How do I increase the buffer in VLC?
this streaming video i'm watching is skipping
#8: can't view cspan in browser: i want the direct URL
the cspan.org streaming is sketchy in every browser that i use, i'd like to view the direct stream in VLC or another media viewer.
#7: New Nokia Phone Tethering in OS-X
I have two unlocked Nokia phone an N95 and an E71, and it's a PAIN to get tethering working.
My scenario:
OS X (Leopard 10.5.6)
AT&T
#6: SVN directory is viewable through Apache
Solved!
Contents of .svn directories, when located under an Apache web root, are viewable via a browser. This leads to potential exploits, as referenced by Adam Gotterer.
The hack obviously starts in .svn directory, specifically at the entries file. You can access...
#5: Firefox downloads hang with "a few seconds remaining"
Solved!
All downloads stop at "a few seconds remaining" but do not ever finish. The underlying TCP connection is already marked closed.
#4: Paster restart socket error
After saving source files (with --reload option activated), sometimes paster can't restart and encounters the below error.
Mac OS 10.5
-------------------------
Starting server in PID 58828.
Traceback (most recent call last):
File "/usr/local/bin/paster...