Code, Strings, and Keys

    • About Thomas Powell
    • Account
    • It’s been [0] days since [program] last updated
    • Login
    • Password Reset
    • Pianist / Accompanist / Music Director Resume
    • Reading List 2025
    • Register
    • Running Gear – Shoes, Treadmill, and Bandages
    • Site Map
Illustration of a bird flying.
  • Gutsy and 100% CPU usage… udevd going nuts.

    This article seems to have the fix: Upgrade to Ubuntu Gutsy – emvs and udevd 100% cpu usage – aka udevd going nuts One typo I noticed: He refers to /etc/init.d/udevd instead of /etc/init.d/udev. The corrected steps:# apt-get remove evms# /etc/init.d/udev stop# /etc/init.d/udev start Full set of articles on evms

    April 9, 2008
  • Getting size estimates for tables in SQL SERVER 2000

    — SQL Server tables and row countsdeclare tables_cursor cursor for select name from sysobjects where xtype=’U’declare @table_name sysnameopen tables_cursorfetch next from tables_cursor INTO @table_namewhile @@fetch_status = 0begin exec sp_spaceused @table_name fetch next from tables_cursor INTO @table_nameendclose tables_cursordeallocate tables_cursor

    March 27, 2008
  • Restoredb.bat

    Using osql and trusted connection for SQL Server 2000. @echo offif {%2}=={} ( call :Usage goto :EOF)net stop mssqlservernet start mssqlserverosql -E -d master -Q “restore database %1 from disk=’%2′ with replace”goto :EOF::Subroutine area :Usage @echo Syntax: call restoredb.bat DatabaseNameFullDatabaseBackupPathgoto :EOF

    March 25, 2008
←Previous Page
1 … 268 269 270 271 272 … 310
Next Page→

Code, Strings, and Keys

Proudly powered by WordPress