Mindblown: a blog about philosophy.

  • Grouping Customer Origins in EdgeCast Rules

    Edgecast Rules based on Hostname or IP Address, only if you have a common naming convention for the Directory Name, for example: prefix1_example.net prefix2_example.org You can then create a rule: IF ‘URL Path Directory’ ‘Matches’ Value: /123456/prefix1_* (I used 123456 in place of the CDN origin path, update this to your settings) ‘Ignore Case’, ‘Relative…

  • MySQL to MySQL move of data!

    Sometimes you want to move a database between hosts, this is an easy way to cut down on the clutter created in the process, is to output the backup directly to the new host. mysqldump -uExapmleUser -pExapmlePass -hExapmleHostNameOrIp ExapmleDatabaseName | mysql -uExapmleUser -pExapmlePass -hExapmleHostNameOrIp ExapmleDatabaseName

  • SmarterStats error when loading Defaults – Site Defaults Event code: 3005

    An Error Occurred Page: /Admin/Defaults/frmSiteDefaults.aspx Message The page or resource that you are accessing is unavailable or an error has occurred. This error occurred at 11/8/2012 11:00:16 AM and has been logged.   In my Event viewer I saw this error: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 11/8/2012 11:00:16…

  • Slash versus Backslash

    Slash versus Backslash, I saw this image, after googling,

  • Adding a new user to SQL server 2005, 2008, 2010

    Make sure you give the user sufficient permissions to the DB they are being given access to, typically being db_datareader, db_datawriter, db_ddladmin, and public.   There is also a SQL statement you can run: CREATE LOGIN [user] WITH PASSWORD=’password’, DEFAULT_DATABASE=[your_db], CHECK_POLICY=OFF GO CREATE USER [user] FOR LOGIN [user] EXEC sp_addrolemember N’db_datareader’, N’your_db’ EXEC sp_addrolemember N’db_datawriter’, N’your_db’…

  • An inside view as to what apache has going on

    A friend pointed me to this as an option, when trying to find out exactly what is going on with apache, you can run this: ps auxw | egrep “sbin/apache|httpd” | awk ‘{print”-p ” $2}’ | xargs strace “This one-liner will use strace to attach to all of the currently running apache processes output and…

  • Skull Ring

    I have found details on one of my favorite rings, IMAGE More on the makers can be read here.  The actual company that made the ring here.

  • Happy Halloween 2012

    My ‘costume’ is rather plain this year.  A blood choker was all I took the time to go with.  I am still the most dressed up person at work.  Will have to do more next year.  The GF had the idea of Playboy Bunnies for us, which would be fun.

  • Convert a WS_FTP configuration file to a format for FileZilla.

    I originally read about this script here.  Decided to include the script below: #!/usr/bin/php <? /* This script takes a config file from WS_FTP (WS_FTP.ini) and converts it to filezilla format Version 1.0 Author: Andrew Kerr (andrew@arrkerr.com) Credit is given where due in the function headers I make no claims about this program, use it…

  • Unable to Connect to C$ with a UNC connection on Windows Server 2008 (2k8), Windows 7, Windows 8, and Windows Server 2012 (2k12)

    Windows Vista, 7, Server 2008, 2008 R2 and newer Windows operating systems do not allow a user that is NOT the local Administrator access to the UNC location of c$ as it is considered an administrative share. This is a security within UAC (That I recommend leaving intact, I like security). Wiki makes mention of…

Got any book recommendations?