Inline Skating

 

Veröffentlicht unter Inline Skating | Hinterlasse einen Kommentar

Rezepte

Ein Blick Toast

Veröffentlicht unter Cooking | Hinterlasse einen Kommentar

Powershell

Enable Execution

 

Set-ExecutionPolicy RemoteSigned

Determine installed version

$PSVersionTable.PSVersion

Start/Stop App Pool locally

C:\windows\system32\inetsrv\appcmd.exe start apppool <apppool>
C:\windows\system32\inetsrv\appcmd.exe stop apppool <apppool>

Start/Stop App Pool remotely

Invoke-Command -ComputerName <remoteServer> -ScriptBlock { Stop-WebAppPool -Name <apppool> }

 

Veröffentlicht unter Allgemein | Verschlagwortet mit , | Hinterlasse einen Kommentar

NuGet Tips and Best Practices

 

By Microsoft.com: Top 10 NuGet (Anti-) Patterns

In case NuGet.org is down, don’t become desperate. Remember that NuGet caches everything for you in:

%AppData%\Local\NuGet\Cache

Just redirect your package manager source to your local cache (in Visual Studio: Options / Package Manager / Sources)

Refer to Hanselman’s Blog here for details.

At times, you’d prefer a standalone NuGet installation, e.g. when you are going to setup a mirrored repository.

The commandline can be installed from here and the reference documentation can be found here. Use nuget-signed.exe and place it somewhere like c:\nuget, but not into %WINDIR%. Make sure that nuget is in your Path environment variable.

The default configuration file for NuGet is stored here:  %AppData%\NuGet\NuGet.config

To establish a local repository, just install the packages to a local folder using this command:

nuget install packages.config -o <outputfolder>

 

 

 

Mirror packages

To mirror packages, you need  NuGet.ServerExtensions.dll. This library can be placed alongside the nuget.exe command (you may need to unblock execution permissions file properties dialog).

 

You may also like the NuGet Package Explorer here.

Veröffentlicht unter .NET & Mono, Allgemein | Hinterlasse einen Kommentar

Database Performance Tuning

Oracle

About .NET Connection Strings: http://www.c-sharpcorner.com/uploadfile/nipuntomar/connection-strings-for-oracle/

Performance Tuning on Oracle http://docs.oracle.com/cd/B10500_01/text.920/a96517/aoptim.htm

When to rebuild index ? (see here on https://blogs.oracle.com/sysdba/entry/when_to_rebuild_index)

MySQL

Best Practices Performance Tuning http://joinfu.com/presentations/perf_tuning_best_practices.pdf

Tools:

  • SHOW Commands
  • EXPLAIN Command

 

 

Veröffentlicht unter Databases | Verschlagwortet mit , | Hinterlasse einen Kommentar

Configure Settings on IIS 7.x and IIS 6

The following script takes care of IIS 6 and IIS 7 configuration settings by executing a Windows command script using ADSUTIL.VBS on IIS 6 and APPCMD.EXE on IIS 7.

For more information see here:

This scripts sets the uploadReadAheadSize, SslNegotiateCert and SslAlwaysNegoClientCert on IIS 6 or IIS 7.

set APPCMD=%systemroot%\system32\inetsrv\appcmd.exe
set ADSUTIL=%systemdrive%\Inetpub\AdminScripts\AdsUtil.vbs
set WEBSITE=Default Web Site
set READAHEADSIZE=500000

if exist %APPCMD% (
echo IIS 7.x Read settings before:
"%APPCMD%" list config "%WEBSITE%" -section:system.webServer/serverRuntime
"%APPCMD%" list config "%WEBSITE%" -section:system.webServer/security/access
echo IIS 7.x Write settings:
"%APPCMD%" set config "%WEBSITE%" -section:system.webServer/serverRuntime /uploadReadAheadSize:"%READAHEADSIZE%" /commit:apphost
"%APPCMD%" set config "%WEBSITE%" -section:system.webServer/security/access /sslFlags:"SslNegotiateCert" /commit:apphost
echo IIS 7.x Read settings after:
"%APPCMD%" list config "%WEBSITE%" -section:system.webServer/serverRuntime
"%APPCMD%" list config "%WEBSITE%" -section:system.webServer/security/access
) else if exist %ADSUTIL% (
echo IIS 6 Read settings before:
cscript /nologo "%ADSUTIL%" get w3svc/1/uploadreadaheadsize
cscript /nologo "%ADSUTIL%" get w3svc/1/sslalwaysnegoclientcert
echo IIS 6 Write settings:
cscript /nologo "%ADSUTIL%" set w3svc/1/uploadreadaheadsize %READAHEADSIZE%
cscript /nologo "%ADSUTIL%" set w3svc/1/sslalwaysnegoclientcert true
echo IIS 6 Read settings after:
cscript /nologo "%ADSUTIL%" get w3svc/1/uploadreadaheadsize
cscript /nologo "%ADSUTIL%" get w3svc/1/sslalwaysnegoclientcert
) else (
echo Couldn't find tools to set IIS configuration.
)

The script must be run under an account with sufficient permissions.

Veröffentlicht unter Web Development | Verschlagwortet mit | Hinterlasse einen Kommentar

HTML 5

www.leastprivilege.com Writing more secure ASP.NET applications

The W3C page http://www.w3.org/TR/html5/

Can I use compatibility table

Use HTML5Shiv JavaScript library to make IE prior to version 9 support HTML5 styling.

How to use Boilerplate to get started with your project. Links: see youtube

http://html5boilerplate.com – Main site
http://initializr.com – more custom options
http://humanstxt.org/ – creators of humans.txt
http://mathiasbynens.be/notes/touch-icons – Touch Icon research
http://pornel.net/imagealpha – GUI for generating IE6 friendly png for Mac
http://pornel.net/pngnq – command line tool
http://twitter.com/h5bp – twitter account
http://groups.google.com/group/html5boilerplate – Google Group
http://html5boilerplate.com/docs/ – docs
https://github.com/paulirish/html5-boilerplate/issues/ – place to report bugs in HTML5 Boilerplate

Remy Sharps Blog

HTML5 Doctor

Comparison of JavaScript frameworks
http://en.wikipedia.org/wiki/Comparison_of_JavaScript_frameworks

The fluent conference http://fluentconf.com/fluent2012

Brendan Eich in JavaScript http://www.youtube.com/watch?v=Rj49rmc01Hs&feature=g-vrec

JavaScript Toolkits

http://gamequeryjs.com
http://craftyjs.com/

Impact Game Engine USD 99
Construct 2

Yahoo Yui Douglas Crockfords World Wide Web

HTML 5 Framework http://www.sencha.com/
jQuery  jQueryUI jQueryMobile EasyUI GPL, Commecial License USD 449

Form validation Validatious 2.0

PHP http://www.phpcodebase.com/

MSDN Project Silk (JavaScript, jQuery, ASP.NET) http://msdn.microsoft.com/en-us/library/hh404096

Favicon maker- Create a favicon from any image

Glyph Icons

 

Veröffentlicht unter Web Development | Verschlagwortet mit , , | Hinterlasse einen Kommentar

Perl GUI Automation

Automate GUI using Perl scripts.

What you need:
Win32::GUITaskAutomate (Sample, Sample, Sample, Reference)
Win32::GUIRobot
Prima

 

Veröffentlicht unter Web Development | Verschlagwortet mit , , , | Hinterlasse einen Kommentar

Microsoft Search Server

Microsoft Search Server used as add-on to Microsoft Share Point services.

The Trivadis installation procedure is here for Part I, Part II, Part III .

How to add searchable file type for PDF to Search Server on Technet.

 

Veröffentlicht unter Allgemein | Hinterlasse einen Kommentar

WSUS 3.1

Here are some links to WSUS resources:

What to do when WSUS folder is growing too large.

Garry Borger’s Blog.

Exploring the WSUS database, connecting to the WSUS database on MSDN

WSUS 3.0 SP2 download as of July 11 2011

MSDN Docs on WSUS 3.0 SP2

 

 

Veröffentlicht unter Allgemein | Verschlagwortet mit , | Hinterlasse einen Kommentar