javascript date object

April 17, 2006 | In WebTechnology | No Comments

note: the getMonth() and setMonth() method values are zero-based for the Javascript Date () object.

var someDate= new Date(“yy, mm, dd” )

January is 0, December is 11, etc.

crontab man entry from slackware

April 12, 2006 | In Linux | No Comments

slackware has great crontab man entry:

CRONTAB(1) CRONTAB(1)

NAME
crontab – manipulate per-user crontabs (Dillon’s Cron)

SYNOPSIS
crontab file [-u user] – replace crontab from file

crontab – [-u user] – replace crontab from stdin

crontab -l [user] – list crontab for user

crontab -e [user] – edit crontab for user

crontab -d [user] – delete crontab for user

crontab -c dir – specify crontab directory

DESCRIPTION
crontab manipulates the crontab for a particular user. Only the superuser may specify a dif-
ferent user and/or crontab directory. Generally the -e option is used to edit your crontab.
crontab will use /usr/bin/vi or the editor specified by your VISUAL environment variable to
edit the crontab.

Unlike other crond/crontabs, this crontab does not try to do everything under the sun.
Frankly, a shell script is much more able to manipulate the environment then cron and I see
no particular reason to use the user’s shell (from his password entry) to run cron commands
when this requires special casing of non-user crontabs, such as those for UUCP. When a
crontab command is run, this crontab runs it with /bin/sh and sets up only three environment
variables: USER, HOME, and SHELL.

crond automatically detects changes in the time. Reverse-indexed time changes less then an
hour old will NOT re-run crontab commands already issued in the recovered period. Forward-
indexed changes less then an hour into the future will issue missed commands exactly once.

Continue reading crontab man entry from slackware…

FTP and SFTP Clients

April 7, 2006 | In Other Tech, WebTechnology | No Comments

FTP

Windows – Internet Explorer – type ftp://user:password@ftpserver/url-path in address bar.

OS X -

SFTP

SFTP is similar to FTP, but unlike FTP, the entire session is encrypted, meaning no passwords are sent in cleartext form, and is thus much less vulnerable to third-party interception.

Windows – WINSCP

OS X – Fugu Fugu the Fish

« Previous PageNext Page »

Powered by WordPress RSS XMLRSS Feed - Syndicate this Site and comments feed
linux GNUpowered by Apache tomcatMySQL ABPHP - The Language the Web Runs on

^Top^ Gare CalhounGare CalhounGare CalhounGare CalhounGare Calhoun