Advanced Search
Search Results
1352 total results found
How do I use cURL in PHP on Windows?
To configure cURL to be able to run in PHP uncomment this line (remove the semi-colon) in the php.ini file: ;extension=php_curl.dllApparently in UNIX systems Apache will read cURL’s curl-ca-bundle.crt file at startup and cURL will be able to use that informat...
Why can't I add a photo using AT Photo in Plone?
If you’ve used the product ATPhoto or ATPhoto Album in Plone 2.1, but now it is breaking in Plone 2.5, before you rip your hair out, here’s what you need to do: copy the code from this site: http://dev.plone.org/collective/browser/ATPhoto/trunk/configure.zcml ...
Configuring PEAR on Windows
PEAR is the PHP Extension and Application Repository. Applications written in PHP often include references to external libraries and PEAR is a way to manage these. On Windows if PEAR hasn’t already been configured log in to the server and run go-pear.bat in th...
Configuring MediaWiki to Search for Three Letter Words
By default MediaWiki uses MySQL and the default FULLTEXT indexing uses built-in stop words and a minimum word length of four. A list of the stop words is available but are the usual thing (the, and, one_, etc.). You can set your own stop words by setting the f...
Configuring Short URLs in MediaWiki
Short URLs dispense with the index.php/ part of MediaWiki page URLs. If the MediaWiki instance is located in a subfolder (http://foo.ucla.edu/wiki) then Aliases can be used. If the MediaWiki instance is at the web root (http://wiki.foo.ucla.edu) then Rewriting...
csh and single quotes
In csh, using quotes in a quoted string can be tricky, especially if the string contains both single and double quotes. If you use single quotes to quote the string, use ‘\’’ (a single quote, a backslash followed by two single quotes) where you want to insert ...
Useful Commands for Vi
The page is meant to document some of the more useful, but obscure commands in vi. For commands exclusive to vim see Reasons To Use Vim Over Vi. Please feel free to add commands you would like to see on this page. % move to matching (, {, or [ n G goto...
Speed of unpack() in PHP
I needed to extract a list of integers from a binary string. I was curious to know if PHP’s unpack function is fast compared to a custom function, so I wrote a test for it.<?php$filename = '<some large file>';$unpack_time = 0.0;$unpack_time2 = 0.0;$un...
Online Books
Listed below is a compilation of sites dedicated to providing electronic copies of books. Book Spot Books2Read.com Bookstore Books On-Line: Archives BookWire Brave new e-books The eBook Directory eBooknet.com Electronic Theses and Dissertations in the Humaniti...
using find and chmod together in Unix
In Unix, if you need to clear up a set of subdirectories to see what permissions or ownership of everything under a given directory, these commands work for me on Solaris. There are differences because you don’t want to give execute permissions to files. And t...
What is Jottit.com?
Released by Aaron Swartz in 2007, Jottit.com is a website that allows anyone to quickly and simply create their own web page. Upon entering text into the text box on the main page, Jottit.com automatically generates a page for the user. By manipulating the “...
Sending a full web page in Apple Mail
A cool trick that I stumbled on with Mail is sending an entire web page. It formats perfectly and looks amazing.While in Safari, do Apple-I (Mail contents of this page)It automatically sends the page to Mail, ready to send.This is normally Get Info as you kno...
Why can't I play ram files on my mac
If you are a Mac user and you are having difficulties playing the videos posted on this site, please do the following steps: Make sure you a version of Real Player installed (you might want to look to install Version 10.0.0 or higher). Open up a Safari web bro...
How to map Novell network drive when running Windows Vista
With the introduction of Windows Vista, mapping network drive to the Novell server without using the Novell Vista Client is still possible. In order to accomplish this, you have to make some changes with the way Vista authenticate. Open Control Panel Administ...
How do faculty and staff get their official UCLA email address changed?
UCLA faculty and staff cannot change their information in the Campus Directory by themselves. They have to go through their department person. To find the correct person in your dept. there is a link off the Campus Directory website http://www.directory.ucla.e...
CCLE-Moodle: What to try if users can't login
This article may be very old. Please reach out to local support staff if you have questions.This article is directed at Moodle support staff.Moodle users need to authenticate using UCLA’s Shibboleth service. If there is a problem in the authentication chain, u...
X11 on MacBook Pros
As of August 2007, Apple made a real effort to hide X11 on Tiger install disks for MacBook Pros. It doesn’t get installed by default, and it’s not available through the installer. To get it, insert disk 1, open Terminal and run:open /Volumes/Mac\ OS\ X\ Instal...
finding words in binary files
In Unix the strings -a command will output all the text strings in a binary file.Solaris man page for strings says: “The strings utility looks for ASCII strings in a binary file. A string is any sequence of 4 or more printing characters ending with a newl...