Architectural project manager and network admin for HH Architects, a small architectural firm in Dallas.
Tuesday, December 29, 2009
Friday, December 11, 2009
Online File Sharing
I was needing a way to share a few large files with some different individuals and decided to search for free and easy to use online file sharing.
Microsoft has Windows Live Sky Drive. http://skydrive.live.com/
MediaFire “File Hosting Made Simple”. http://www.mediafire.com/
Currently I think Sky Drive requires all parties to have a Windows Live ID, but MediaFire does not. I was able to create the account and share the folder with multiple people using a customized URL. They were not required to create a MediaFire account just to access the files I had made available.
Saturday, October 31, 2009
Speed up Revit FBX Renderings in Max Design
A simple change in the DesignVIZ options can vastly improve mental ray Pre-Processing when rendering scenes imported from Revit FBX files.
In Notepad, open the file "CurrentDefaults.ini in your local User's files (typically at C:\Users\YourUserName\AppData\Local\Autodesk\3dsMaxDesign\2010 - 32bit\enu\defaults\DesignVIZ.mentalray\CurrentDefaults.ini").
Search for the parameter 'DontRepeatRefMsg' and change it's value from 0 to 1.
Four lines down is the parameter 'InvalidateTMOptimization' and change it's parameter from 0 to 1. You should now have:
DontRepeatRefMsg=1
; comment comment comment...
; comment comment comment...
; comment comment comment...
InvalidateTMOptimization=1
Pre-Processing at the start of mental ray rendering should now happen in a few seconds instead of minutes.
You have to restart Max to accept the change. You should also edit the DesignVIZ.mentalray preset at your program installation folder, usually "C:\Program Files\Autodesk\3ds Max Design 2010\Defaults\DesignVIZ.mentalray\FactoryDefaults\CurrentDefaults.ini"
Be sure to do the editing for both x32 and x64 if you have both installed. Editing the INI file in the Max installation folder prevents a change if you choose an option from the "Customize>Custom UI and Defaults Switcher".
Source website:
http://newsletters.hagerman.com/newsletters/ebul81-ME.htm
Wednesday, October 21, 2009
Sunday, October 11, 2009
Enable the Administrator Account In Vista Home Premium
- Go To Start > Accessories > Command Prompt
Right-click on the icon “Command Prompt” and choose “Run-As Administrator” - A DOS box will appear.
- Type the following
- net user administrator /active:yes
(this will enable the administrator account) - net user administrator /active:no
(this will disable the administrator account) - net user administrator password
(this will set the password on the account)
(in this example “password” is the password) - net user
(this will list all the user accounts on the system)
- net user administrator /active:yes
Saturday, August 22, 2009
Vista Home – Net Account
I stumbled on how to accomplish changing the password expire settings in Vista Home Premium.
To remove the password expire date in Vista Home Premium, you have to use the old command line and use the net command to do this. I looked all over the GUI account dialog box for an option to to this but could not find one.
So to lift the password expire day do this.
- Under Start>Accessories> “Right-Click” on Command Prompt and click on “Run As Administrator”
- This will open a dos dialog box. At the prompt type in
- net accounts (this will list out all the settings for the current user)
- net accounts ? (this will list the syntax for using the command)
- net accounts /maxpwage:unlimited (this syntax will remove the password expiration date)
- net accounts /maxpwage:100 (this will set the password to expire in 100 days)
Friday, July 31, 2009
FreeBSD with ZFS filesystem
My notes to remember different zfs commands.
The FreeBSD Handbook is a good starting place.
or
zpool create zfsstorage /dev/ad0
zfs create zfsstorage/compressed
zfs set compression=on zfsstorage/compressed
zfs set compression=gzip-4 zfsstorage/compressed
zfs list
zfs set sharenfs="-maproot=root -network 10.1.41.0" zfsstorage/compressed
zfs get compressratio zfsstorage/compressed
zs get all
Wednesday, July 1, 2009
Using Ubuntu as a backup server
- Install Ubuntu 8.04 LTS with a minimal install
- Use apt-get update to update the repositories
- Use apt-get upgrade to make your new server current with security patches
- Use apt-get install rsnapshot, rsnapshot will be the backup technique we will use
- Configure your raid volume where your backups will be stored
- I use a hardware raid card, so all I need to do is make the partition.
- Use fdisk to create the partition.
fdisk /dev/sdb - I use jfs for my backup storage filesystem
- Use mkfs.jfs –L raid5 /dev/sdb1
- Add the new partition to /etc/fstab
LABEL=raid5 /mnt/raid5 jfs rw,atime 0 0
If you want you can use blkid to get the UUID of the new partition and use UUID instead of LABEL in /etc/fstab - If you try to mount the partition, you will probably get an error relating to there is not a /dev/ created yet.
- You now need to run partprobe to create the new /dev
- Now you can mount the partition
- mount /mnt/raid5
- Now we can edit the rsnapshot file located at /etc/rsnapshot.conf
- Set snapshot_root to be on your newly created partition like below
snapshot_root /mnt/raid5/rsnapshot/ - Skim thru the rest of /etc/rsnapshot.conf and modify as needed.
- Update here about ssh-keygen –t rsa
- Update here about sftp id_pub to server 2
- Update here about server 2 path in /etc/rsnapshot.conf
- Update here about running rsnapshot daily
- Update here about adding cron entries
- Update here about adding a samba share to access the backup from windows.
Thursday, April 16, 2009
pfSense vs. Vyatta
I recently installed pfsense at work to replace an aging smoothwall 2.0 firewall/transparent proxy. I like the use of FreeBSD as the underlying engine of pfSense. The add-on packages are relatively easy to install, except snort IDS has a few problems that are supposedly fixed in an upcoming version 1.2.3. You have the ability to enable SSH on the firewall, so you can use a command line to configure the firewall or just use the web interface.
I ran across another firewall/transparent proxy/IDS called Vyatta. I am currently testing out the features. At first glance, its seems to have a few more features than pfSense. You have the ability to use a web interface or a series of command line scripts that interact with the 2.6.x Linux kernel.
I am still do not have a determination of which I like better or which performs better on a given set of hardware restrictions.
Tuesday, April 7, 2009
Sugar CRM Installation Warning
"Errors have been detected during compatibility check. In order for your SugarCRM Installation to function properly, please take the proper steps to address the issues listed below and either press the recheck button, or try installing again.
Component | Status |
---|---|
Writable Modules Sub-Directories and Files | Warning: Not Writable |
Please fix the following module directories and the files under them before proceeding: /modules/ModuleBuilder/tpls" And you know that you have made everything "Writable" then you need to check for to hidden files that may not have been changed to writable. Under the /modules/ModuleBuilder/tpls/ look for the following files: .tmp_studioRelationship.tpl .tmp_studioRelationshipsExt.tpl These files have to be writable also or the installation will never proceed. I have seen posts on the SugarCRM forums that state these must be run as the user the webserver runs as but this is not the case. Just chmod 777 on these two files and all wil be good. |
Creating a Service on Windows XP or Windows Server 2003
- Start>Run>CMD (get to a command prompt or CLI for short)
- sc is the command to create the service
sc \\server create "MSSQL$ACT7" binPath= "C:\Program Files\Microsoft SQL Server\MSSQL$ACT7\Binn\sqlservr.exe -sACT7" DisplayName= "MSSQL$ACT7" depend= "SQLAgent$ACT7"
This will create a custom SQL Server example for an ACT database.
Updating FreeBSD
- freebsd-update fetch
- freebsd-update install
- freebsd-update -r 7.1-RELEASE upgrade
To figure out what version of FreeBSD you are using do this
uname -a
FreeBSD freebsd.example.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386