Now and again, I’ll enable some sort of feature in CRiSP and not be sure either what I pressed or what I enabled.
If you ever find yourself with the big, blinking, square, cursor that overwrites and does not insert text just press Alt-I. → Continue reading “Big Square Blinking Cursor in CRiSP”
Let’s say you have a table and you want to know how many rows have the same e-mail adress.
SELECT count(*), email FROM email_list GROUP BY email HAVING count(*)>1 ORDER BY count(*) DESC;→ Continue reading “Searching for and counting duplicate entries in MySQL”
This assumes that you are creating the repo on your local drive.
First, create the directory in which you’ll store your repo.
Then, use svnadmin to create the repository in that directory:
svnadmin create /path/to/directory/
The typical convention is to set up an initial directory structure as follows:
To do so, do the following:
mkdir trunk branches tags
svn import -m ‘Import of initial directory structure’ file:///path/to/repo
Now cd to whatever working directory → Continue reading “Quick HowTo Create a Subversion Repository”
When designing and developing a new website it is tempting to try to do everything before launching it. My recommendation is to launch your new or updated site early and then make regular, incremental updates.
A good website is never finished; you are always making updates/changes/revisions to it. If you build your site on a flexible framework, one with an easy-to-use content management system, then it makes it that much easier to go back on a regular basis → Continue reading “Launch Your New or Updated Website Early and Update it Often”
This online utility will let you convert a set of vcards file into either a .csv, or an LDIF file that youcan use to import into Thunderbird or other mail programs.
http://labs.brotherli.ch/vcfconvert/→ Continue reading “Converting a .VCF file to .CSV”
Anyone who has used it knows that the default styling for the HTML <sup> tag leaves a lot to be desired. The biggest is that it modifies the line-height of the line on which it it rendered.
Here is some CSS that fixes that behavior:
vertical-align: baseline !important;
}→ Continue reading “CSS Styling for the HTML Superscript Tag”
If you have ever wanted to recursively search through all of the files in a directory for a specific string, here is the bash command to do it:
find . | xargs grep ‘string’ -sl→ Continue reading “How to search for a string in a group of text files from the Linux command line”