Getting rid of ^M ..
This thing keeps bugging me from time to time. It seems to reappear just after I have not used it long enough that I've forgotten how to do it.. That's why I'm linking to it. Smart, hmm? ^M
technorati tags:vim
Notes on URLs I want to remember
technorati tags:vim
How to mirror a SVK repository onto an SVN repository
tells you how to mirror a local SVK repository onto an SVN repository. Exactly what I need
svk mkdir //mirror
$ svk ls http://svn.scottstuff.net/public/
$ svk sync --all
$ svk mkdir //mirror/public/typo
$ svk smerge --baseless //typo/ //mirror/public/typo -m 'Initial publication' technorati tags:search
Confessions of an Excel Junkie
has articles and quite importantly examples of a bunch of stuff you can do in Excel.. Enjoytechnorati tags:excel, spreadsheets
technorati tags:GTD
Always forget about svn propset. It's quite useful!
svn propset svn:mime-type text/html element name
technorati tags:svn
technorati tags:stocks
Blog of Leonid Mamchenkov » Vim for Perl developers
Ok .. I'm not technically a perl developer. But then technically, I'm neither a developer not a sofware engineer.. Let's leave that part out for now. Leonid has some pretty good VIM tips on this page.
I didn't notice it on this page, but one tip from me is to use gf to open the file under which the cursor is present. Makes sense? No? Try it ... and it will :)
technorati tags:vim
How do you open the directory listing for the folder which contains the current file?
Simple :vi %:p:h
But I keep forgetting it .. that's why it's here!
technorati tags:vim
While looking up some information about debugging on Solaris 10, I came across this presentation by Christoper Beal, on using dtrace. I'll call it an introduction to dtrace. I don't need it right now, but seems like it will be really useful. I'm going to get my hands dirty with this, as soon as I can.
Just when I discovered Performancing, I saw a post on Slashdot about Flock. Is it a coincidence? Probably, but I'm going to try using both and see which one I prefer... Well, an idea just struck me " Use Performancing with Flock"
That way I can try both without having to switch back and forth!.. Brilliant!! You might see me posting some more :)
technorati tags:Blogging
sudo apt-get install linux-headers-`uname-r`
sudo apt-get install build-essential
sudo apt-get install shareutils
sudo apt-get install linux-source-2.6.x
/boot 250 MB ext3 /dev/sda1
/ 65 GB reiserfs /dev/sda5 (LVM)
sudo pvscan
PV /dev/sda5 VG Ubuntu lvm2 [x.y GB/0 free]
# load device module
modprobe dm-mod
#change logical volumes to active
sudo vgchange -a y
#create mount point
sudo mkdir /mnt/newroot
#list devices for VG ubuntu
sudo ls /dev/Ubuntu
root swap_1
# I want to mount root -- that's where my data is
# remember that it is reiserfs
# I just realized that I also had a swap partition under my logical volume!
sudo mount -t reiserfs /dev/Ubuntu/root /mnt/newroot/
cd /mnt/newroot
cd my_data_dir
ls -al
Locale userLocale = Locale.getDefault();
private static String getFormatString(String formatStr, Object[] args) {
if (args != null) {
// MessageFormat is brain dead in the fact that it won't
// convert unknown or unhandled object types into Strings.
// So we have to do it...
for (int i=0, count=args.length; iObject obj = args[i];
// don't bother with bogus or handled types...
if (obj == null || obj instanceof String ||
obj instanceof Number || obj instanceof Date)
continue;
// convert anything unknown
args[i] = obj.toString();
}
formatStr = MessageFormat.format(formatStr, args);
}
return formatStr;
}
public static String getFormatString(String rscBundleName, String msgKey, Object[] args) {
String formatStr = getString(rscBundleName, msgKey);
return getFormatString(formatStr, args);
}
public static String getFormatString(String rscBundleName, String msgKey, Object arg) {
if (arg == null) {
arg = "NULL";
}
Object[] args = {arg};
return getFormatString(rscBundleName, msgKey, args);
}
public static String getString(String rscBundleName, String msgKey) {
ResourceBundle resourceBundle = (ResourceBundle)rscBundlesTable.get(rscBundleName);
if (resourceBundle == null) {
Locale locale = getLocale();
if (locale == null) {
resourceBundle = ResourceBundle.getBundle(rscBundleName);
} else {
resourceBundle = ResourceBundle.getBundle(rscBundleName, locale);
}
// Cache resource bundle
rscBundlesTable.put(rscBundleName, resourceBundle);
}
String str;
try {
str = resourceBundle.getString(msgKey);
} catch (MissingResourceException mRE) {
str = null;
}
return (str == null) ? msgKey : str;
}
gives the following
man chatr
chatr(1)
NAME
chatr - change program's internal attributes
....
chatr +s disable /libcrypto.sl /ldapdelete
| OS | Dynamic Library Environment Variable |
| Windows NT, 2000, 2003 | PATH |
| Linux | LD_LIBRARY_PATH |
| Sun Solaris | LD_LIBRARY_PATH |
| IBM AIX/td> | LIBPATH |
| HP-UX | SHLIB_PATH |
| HP Tru64 | LD_LIBRARY_PATH |
| Apple Mac OS X, Version 10.3.1 | DYLD_LIBRARY_PATH |
| IBM OS/400 | ADDENVVAR ENVVAR(LIBPATH) VALUE ('(sapjco-install-path)') |
| IBM z/OS | LIBPATH |
Annual tax bills are mailed once a year no later than November 1, and can be paid in two installments. Every effort is made to get a copy of the tax bill to each new property owner. To avoid penalties, you should check the status of your property taxes and/or request a duplicate bill by calling our office. Our Interactive Voice Response System allows you to obtain information from the computer 24 hours a day, 7 days a week. (Don't wait until it's too late and you are required to pay penalties.) If you did not receive a bill, or if you recently purchased a property, you may obtain a duplicate tax bill by calling (408) 808-7900 or visiting our office. | |
#!/usr/bin/bash
RELEASE=${1}
RELEASE=${RELEASE:?No release specified. Please choose from available releases : `ls resources`}
source resources/${RELEASE}/env.sh
#VOB_HOME=/lhome/sravat/piglet/ccase/vobs/CommonTech/cis
VOB_PATH=$VOB_HOME/test/configToolTest/scripts/build
JAVA_HOME=/usr/local/j2sdk1.4.2_04
ANT_HOME=/lhome/sravat/tools/Ant/1.6.3beta1
WORKDIR=/lhome/sravat/workspace/CIS/scripts
HYPERION_HOME=/mnt/sravat3/Hyperion
PATH=$ANT_HOME/bin:$JAVA_HOME/bin:$PATH
ISMP_HOME=/lhome/sravat/local/ISMP/5.03
PROPERTIES_FILE=sravat.cis.build.properties
BUILD_LOG=build.log
export VOB_HOME VOB_PATH JAVA_HOME ANT_HOME WORKDIR HYPERION_HOME PATH ISMP_HOME PROPERTIES_FILE BUILD_LOGTARGET=$2
TARGET=${TARGET:=makeConfigTest}
export TARGETcp $WORKDIR/resources/${RELEASE}/${PROPERTIES_FILE} $WORKDIR/${PROPERTIES_FILE}
cp $WORKDIR/resources/${RELEASE}/ismp.cp ${ISMP_HOME}/ismp.cp
cp $WORKDIR/resources/${RELEASE}/alias.properties ${ISMP_HOME}/alias.properties
rm ${ISMP_HOME}/*.release
touch ${ISMP_HOME}/is.${RELEASE}.releasepushd $VOB_PATH
xterm -geometry 255x6+25+0 -e tail -f $WORKDIR/${BUILD_LOG} &
LOGTASK=$!
$ANT_HOME/bin/ant --noconfig -Dcis.build.properties=$WORKDIR/${PROPERTIES_FILE} -buildfile configToolTest.xml -logfile $WORKDIR/${BUILD_LOG} $TARGET
sleep 10
kill $LOGTASK
popdecho "Done"
Copyright © 2009 Note my web All rights reserved. Theme by Laptop Geek. | Bloggerized by FalconHive.