• Mac OS X,  Mac OS X Server

    Change Default Finder Views Using defaults

    We can manage the way the Finder displays objects using the FXPreferredViewStyle key in the com.apple.finder defaults domain. There are four options in the Finder drop-down for view style and these are Icons (icnv), List (nlsv), Columns (clmv), and Gallery (glyv). Given that only communists use anything other than the list view, we’re going to set the default to that with a simple defaults command: defaults write com.apple.finder FXPreferredViewStyle -string "nlsv" To undo our change and allow it to default to the last view, we can simply delete the key: defaults delete com.apple.finder FXPreferredViewSTyle

  • SQL

    SQL Constraints

    SQL constraints the data that can be in a table. A violation of a constraint causes an action to be aborted. Constraints can be defined upon creation or using the ALTER TABLE statement once created. The general syntax of a CREATE (or use ALTER instead of CREATE) when defining constraints is as follows: CREATE TABLE tablename ( columnname datatype(size) constraintname, columnname datatype(size) constraintname, columnname datatype(size) constraintname, columnname datatype(size) constraint name, columnname datatype(size) constraint name, ); Obviously, replace columnname with the name of each of your column, datatype with the types of data your column contains and constraint name with the constraint you wish to use. You have the following constraints…

  • Microsoft Exchange Server,  Windows Server

    Building Exchange 2010 Signatures En Masse

    There are a lot of environments that standardize mail signatures. In Exchange 2010 you can now automatically assign users a signature based on a user’s Active Directory information, thus allowing en masse standardization of signatures. To do so is pretty straight forward, first open the Exchange Management Console and browse to the Organization Configuration. Then click on Hub Transport and then on Transport Rules. Next, click New to create a new transport rule. Here you can build an organizational signature based on user’s Active Directory attributes. You can provide some text and then any of the attributes that you see fit by wrapping them in the standard double percentage signs…