Aug 12 2010

Why Google Chrome?

There are some features that most ppl hasnt noticed in google Chrome. For my opinion Google Chrome will be the no1 choise of all net freaks.

Incognito mode (private browsing)

For times when you want to browse in stealth mode, for example, to plan surprises like gifts or birthdays, Google Chrome offers the incognito browsing mode. Here’s how the incognito mode works:

Webpages that you open and files downloaded while you are incognito aren’t recorded in your browsing and download histories.
All new cookies are deleted after you close all incognito windows that you’ve opened.
Changes made to your Google Chrome bookmarks and general settings while in incognito mode are always saved.
Keyboard shortcut: Ctrl+Shift+N

Advanced Search in Address Bar

Chrome uses a search engine as your type a url. So the address bar can be used for search and for inserting a url. Autocomplete is very helpful even in very specific searches.

Also Check out this screen. In options

There are default Search options but also Other search engines from Sites you use mostly (this is done for you automatically)

Quick Search

Type your search. As you type you can see the number of occurrences (current occurrences is highlighted in orange).
Check out that the search string is highlighted in the scrollbar also.

Keyboard shortcut: CTRL + F

Speed

see some past test i did with tracemonkey here


Jul 8 2010

CLLocationManager delegate method is not called in iOS4

Weird bug-easy solution.
I did have this weird issue also when updating to SDK4.0. I couldn’t get CLLocationManager to work on simulator. This problem also existed in iPhone Simulator 3.1.3.

The solution is quite weird. Open the Airport (wifi) in your mac and the CLLocationManager will work as before fetching the Cupertino, or in my case fetching a wide area of my country.
I guess the Location is estimated by the internet ip address of your connection.

Continue reading


Jun 24 2010

iPhone 4 vs iPhone 3GS (Comparison Sheets)


Check this informative comparison sheets….
Continue reading


May 12 2010

Windows 7 – GodMode

godmode
Sounds impressive eeeh?
This is a real deal check it for yourself.

How to make a godmode shortcut on your desktop?

Make a new folder in desktop and copy-paste the following code

GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}

This is actually the icon that will appear

Continue reading


Dec 2 2009

Check for Database Constraints

sql server

Problem
Adding constraints such as check constraints or foreign keys to a table are best practices to keep your data as clean as possible with minimal data enforcement rules performed at the database level. Unfortunately sometimes issues may occur where the data becomes out of synch and one of these constraints has been violated. This may be due to disabled constraints or constraints that are later added with the NOCHECK option. Finding these issues can be done by running queries to check each of the constraints, but is there any easier way to determine if the data the constraints support has been violated?

Solution
As mentioned already, one approach would be to write queries for each of the constraints and check the data to see if the constraints are being enforced. This is probably not all that difficult, but it could be time consuming. Another approach to tackle this issue is to use the DBCC CHECKCONSTRAINTS command. This command allows you to check the constraints to ensure that no data is violating the constraints that have been setup.

This command can be run as follows:

DBCC CHECKCONSTRAINTS (TableName) - checks an individual table
DBCC CHECKCONSTRAINTS (ConstraintName) - checks an individual constraint
DBCC CHECKCONSTRAINTS WITH ALL_CONSTRAINTS - checks all constraints in the database
DBCC CHECKCONSTRAINTS WITH ALL_ERRORMSGS - returns all rows that violate constraints
DBCC CHECKCONSTRAINTS WITH NO_INFOMSGS - suppress messages when query runs


Nov 23 2009

SQL Server, Empty your Database & Reset Identity Columns **made Simple

sql server

This is a SQL Script that Cleans your Database Records & resets Identity Columns, and it is all in 6 lines!

/*Disable Constraints & Triggers*/
exec sp_MSforeachtable 'ALTER TABLE ? NOCHECK CONSTRAINT ALL'
exec sp_MSforeachtable 'ALTER TABLE ? DISABLE TRIGGER ALL'


/*Perform delete operation on all table for cleanup*/
exec sp_MSforeachtable 'DELETE ?'


/*Enable Constraints & Triggers again*/
exec sp_MSforeachtable 'ALTER TABLE ? CHECK CONSTRAINT ALL'
exec sp_MSforeachtable 'ALTER TABLE ? ENABLE TRIGGER ALL'


/*Reset Identity on tables with identity column*/
exec sp_MSforeachtable 'IF OBJECTPROPERTY(OBJECT_ID(''?''), ''TableHasIdentity'') = 1 BEGIN DBCC CHECKIDENT (''?'',RESEED,0) END'

If you dont want to miss any saved Diagrams… Continue reading


Jul 6 2009

SQL Script for Constrains

sql server

This is a SQL Script that returns a list of all constrains in a database..


SELECT f.name AS ForeignKey,
OBJECT_NAME(f.parent_object_id) AS TableName,
COL_NAME(fc.parent_object_id, fc.parent_column_id) AS ColumnName,
OBJECT_NAME (f.referenced_object_id) AS ReferenceTableName,
COL_NAME(fc.referenced_object_id, fc.referenced_column_id) AS ReferenceColumnName
FROM sys.foreign_keys AS f
INNER JOIN sys.foreign_key_columns AS fc
ON f.OBJECT_ID = fc.constraint_object_id


Jun 29 2009

55 + 1 Sources for Web Design Inspiration

Here is the list ….

  1. The Best Designs
  2. Six Shooter Media’s Free Templates
  3. 2Advanced Studios
  4. Andreas Viklund Free Website Templates
  5. Studio7Designs
  6. Style Grind
  7. Open Source Web Design
  8. The Web Design Inspiration Photoset
  9. Most Inspired
  10. Open Source Templates
  11. Templates Box
  12. Smashing Magazine
  13. CSS Beauty
  14. CSS Galleries
  15. Drupal Sites
  16. Open Source Web Templates
  17. CSS Remix
  18. Glenn Wolsey 10 Most Beautiful Blog Designs
  19. CSS Drive
  20. Perfection
  21. CSS Elite
  22. SyleGala
  23. Creative Pakistan
  24. The FWA
  25. CSS Hazard
  26. Beautifully Webdesign
  27. Unmatched Style
  28. CSS Import
  29. Light on Dark
  30. StyleBoost
  31. CSS Bloom
  32. Screen Fluent
  33. CSS Websites
  34. Website Design Awards
  35. 3point7designs
  36. CSS Galaxy
  37. Screenalicio.us
  38. The Dreamer
  39. Style Crunch
  40. CSS Flavor
  41. Inspiration King
  42. CSS Thesis
  43. Web Creme
  44. CSS Zen Garden
  45. CSS Reboot
  46. WebDigity
  47. The Pixel Creativity
  48. Top Wordpess Themes
  49. CSSClip
  50. Deviant Art
  51. 83 Beautiful WordPress Themes (smashing magazine)
  52. Go Drupal
  53. One Pixel Army
  54. CSS Mania
  55. Design Shack
  56. Css Gallery

May 14 2009

Apache on Windows 7 (WampServer Solution)

0
Continue reading


May 7 2009

Windows 7 Release Candidate (RC) – download

The 32- and 64-bit versions of Windows 7 RC are available in five languages: English, German, Japanese, French, and Spanish.

The RC will expire on June 1, 2010. Starting on March 1, 2010, your PC will begin shutting down every two hours. Windows will notify you two weeks before the bi-hourly shutdowns start. To avoid interruption, you’ll need to install a non-expired version of Windows before March 1, 2010. Penty of time till then.

Download

I already installed the new version of Windows 7.

First Impressions???

Didn’t have to install any drivers. (windows update did that for me, although everything work ok at First logo in)

Nice Design and overall responsiveness

All programs used in Vista worked ok in Windows 7.
The Only issue I had was with an ActiveX (logmein.com) (see next post). This problem was bypassed cause remote desktop connection work pretty well.

UAC Warning messages were fewer

Network and Sharing Center look better now (i can manually change the ip with no 2-3 UAC warnings !!! was very annoying)

Taskbar can hold easily 1o times more Apps with no problem. (tip: Shift + Click to open a new instance)

Visual Studio 2008 work ok with no problems
Adobe CS4 Suite work ok with no problems
Nero 9 work ok with no problems
WampServer 2 work ok with no problems

What are you vista ppl waiting for… give it a try