Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

32 total results found

The Document Object Model (DOM) and what it's good for

Programming and Web Development

If you develop for the web, you may have heard the term “Document Object Model” or “DOM” thrown around. You might have even used it without realizing it. The DOM is an object structure that represents web pages. It’s primary use is in Javascript, though it can...

document
dom
JavaScript
model
object

The importance of "!important" in CSS

Programming and Web Development CSS and Web Design

Normally, CSS works by having the most recently-declared rule take precedence. However, this isn’t always the case. Rules can be followed by the expression “!important” to give them precedence over later rules.This can come up a lot in systems like Plone, wher...

CSS
important

How to get rid of icons in Plone

Programming and Web Development Plone

Plone’s default style calls for an assortment of eye candy to decorate links, list items, and various other elements. Sometimes users don’t want to see these icons. Plone makes it easy to disable any of these individual elements, but sometimes tracking down al...

Plone
icons
remove

Case-insensitive searching in vi

MacOS, Windows, and Linux Linux and Unix

By default, all searches in vi are case-sensitive. To do a case-insensitive search, go into command mode (press Escape), and type :set ignorecase. You can also type :set ic as an abbreviation.To change back to case-sensitive mode, type :set noignorecase or :se...

search
Vi
case
insensitive
sensitive

Customizing vi

MacOS, Windows, and Linux Linux and Unix

The Unix editor vi lets you customize its behavior in a numer of ways. There are two ways to customize vi. The first way is to enter command mode by hitting Escape, then type a colon and the command as it is shown.The second way is to create a file called .exr...

custom
Vi
configuration

Setting REMOTE_USER Apache variable in scripts

Programming and Web Development

REMOTE_USER is an Apache server variable that is sometimes set on web pages. It is useful for identifying users who log in, since it can be stored in the Apache logs. It’s similar to session variables, but it’s not as easy to change.In modperl, the simplest wa...

Apache
remote
user
variable

How do I find what Perl modules are installed on my system?

Programming and Web Development

Assuming you have perldoc installed, simply typing perldoc perllocal will give you a nicely-formatted detailed list of all the installed Perl modules.For a simpler list that simply prints out the module names and their version numbers, there is another alterna...

cpan
modules
Perl

Greasemonkey and Firefox

Internet and Web Browsers Firefox

Greasemonkey is a Firefox extension that allows user-created Javascripts to tweak Firefox in various ways. Greasemonkey scripts are like Firefox extensions, but much simpler.You can download Greasemonkey from its page on Firefox add-ons.Once you have it instal...

Firefox
browser
extension
greasemonkey

Resizing form text areas on web pages

Internet and Web Browsers

Sometimes you run into forms on web pages that have text boxes that are too small for your liking. Is there any way to resize them?If you have Firefox 1.5 or higher, the answer is yes!First, install Greasemonkey. I love it, and this article will explain why yo...

Firefox
web
forms
greasemonkey
resize
textarea

Changing number of displayed news/events in Plone portlets

Programming and Web Development Plone

Find out which version of Plone you are running. Versions prior to 2.5 keep their portlet code in Zope Page Templates and can be modified easily. Plone 2.5 uses a new programming method called Views that complicates things. Versions after the 2.5.x series are ...

Plone
events
news
portlet

How can I search/replace strings in MySQL?

Programming and Web Development SQL

MySQL lets you replace all occurrences of a character or string of characters in a table with some other character or string.UPDATE table SET field1 = REPLACE(field1, 'replace_that', 'with_this'), field2 = REPLACE(field2, 'and_that', 'with_this')As an example,...

MySQL
SQL
search
replace
transpose

Get rid of default annoyances in MySQL Workbench

Programming and Web Development SQL

By default, if you make any changes to table rows, there is an annoying 2-step confirmation dialog when you click Apply. It also prevents you from doing many mass UPDATEs and DELETEs (this is called ‘Safe Updates’).Safe Updates is a good idea in principle, sin...

MySQL

Regular expression use cases

Programming and Web Development

This article is meant to be a companion to the regular expressions resources article. Instead of telling you how to do certain things, this article aims to answer, “why would I want to do that?”Character classesSyntax: [aeiou] or [0-9]Matches a single characte...

programming
regex

Knowledge Base Changes for March 2017

About This Knowledge Base Original Knowledgebase

Keith Rozett updated this Knowledge Base after a 7-year hiatus.The biggest change was the ability to review existing articles.Review Articles feature Logged-in users are encouraged to check existing articles for correctness, broken links, etc. A Review Article...

UCLA
changelog
Knowledge Base