Author: sroot
-
Caught in my spam trap – randrnews.co.uk
I’ve decided to start naming and shaming the people who spam me. I have an email address hidden in the code of one of my web sites. It doesn’t display to visitors but robots will read it. To give the spammers a sporting chance, the email address is nospam@….mydomain… I then email them to ask…
-
Mac OS X Screenshot save to folder (instead of desktop)
I take a lot of screenshots on my mac. Sometimes it’s simply the quickest way to save information from a web page or design I’m working on, sometimes it’s because I need to show someone what they should be seeing on their screen when I’m helping them with their computer by email. Taking a screenshot…
-
Rails Sunspot/Solr returning result for single character searches
I spent 8 hours trying to get this to work. I googled and found lots of people asking the question but no one with a solution, or rather the given solutions wasn’t working for me. 1) rake sunspot:solr:stop 2) Edit the solr/conf/schema.xml file; <fieldType name=”text” class=”solr.TextField” omitNorms=”false”> <analyzer> <tokenizer class=”solr.StandardTokenizerFactory”/> <filter class=”solr.StandardFilterFactory”/> <filter class=”solr.LowerCaseFilterFactory”/> <filter…