input { border:1px solid #ccc; padding:4px 4px; line-height:20px; min-height:20px; font-size:13px; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px; transition:border linear .25s, box-shadow linear .25s; -webkit-transition:border linear .25s, box-shadow linear .25s; -moz-transition:border linear .25s, box-shadow linear .25s; box-shadow:inset 0 1px 3px rgba(0,0,0,0.1); -webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,0.1); -moz-box-shadow:inset 0 1px 3px rgba(0,0,0,0.1); background-color:#F9F9F9; } input:focus { border-color:#09c; border-color:rgba(0,135,200,0.75); box-shadow:inset 0 1px 3px rgba(0,0,0,0.1), 0 0 8px rgba(81,169,236,0.66); -webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,0.1), 0 0 8px rgba(81,169,236,0.66); -moz-box-shadow:inset 0 1px 3px rgba(0,0,0,0.1), 0 0 8px rgba(81,169,236,0.66); outline:none; }
Wednesday, November 16, 2011
Stylish HTML Textboxes
If you want a nice border around your focused html textboxes, simply use the following CSS style:
Thursday, August 18, 2011
Unable to connect to Analysis Services
If you are running multiple instances of Analysis Services on your machine (I am running MSSQLSERVER2008 - which is default instance - and MSSQLSERVER2008R2), you may get the following error when connecting to the non-default instance (via SQL Management Studio - NOTE: connect with MACHINENAME\INSTANCENAME):
I solved the problem by running the SQL Server Browser as LOCAL SYSTEM instead of NETWORK SERVICE. Open 'SQL Server Configuration Manager' -> Right click 'SQL Server Browser' and open the properties -> Chose 'Local System' as Built-In account in the 'Log on as' tab
No connection could be made because the target machine actively refused it 127.0.0.1:2382 (System) |
I solved the problem by running the SQL Server Browser as LOCAL SYSTEM instead of NETWORK SERVICE. Open 'SQL Server Configuration Manager' -> Right click 'SQL Server Browser' and open the properties -> Chose 'Local System' as Built-In account in the 'Log on as' tab
Monday, March 21, 2011
Execute .SQL Script
If you want to execute a sql script without SQL Management Studio, you can use SQLCMD.exe.
"C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\sqlcmd.exe" -i MySQLScript.sql
This allowed me to write a deploy.bat file which creates and fills all my required databases.
This allowed me to write a deploy.bat file which creates and fills all my required databases.
Monday, March 14, 2011
Find out Macbook Screen Model
If you have to find out your Macbook (Pro) Screen Model Number (because it is broken and you have to buy a new one on ebay), just enter
ioreg -lw0 | grep IODisplayEDID | sed "/[^<]*
in Terminal.
It will give you something like this:
LTN154BT
Color LCD
ioreg -lw0 | grep IODisplayEDID | sed "/[^<]*
in Terminal.
It will give you something like this:
LTN154BT
Color LCD
Labels:
apple,
ltn15bt,
macbook,
macbook pro,
model,
model number,
screen
Subscribe to:
Posts (Atom)