I hereby claim:
- I am vsshs on github.
- I am vaidas (https://keybase.io/vaidas) on keybase.
- I have a public key whose fingerprint is 875E A503 04A2 F2ED B50A FB0B 258D BC2A 3A54 CE30
To claim this, I am signing this object:
%date{yyyy-MM-dd HH:mm:ss,fff} [%Generic] %level %class - %message |
DECLARE @NewLineChar AS CHAR(2) = CHAR(13) + CHAR(10) | |
SELECT * | |
FROM <tablename> | |
WHERE <fieldname> like '%'+@NewLineChar | |
# Automatically adds branch name to the end of every commit message. Handy for git/JIRA integrations. | |
# Make a copy of .git/hooks/prepare-commit-msg.sample in your repo and name the file prepare-commit-msg (remove "sample" extension) | |
# Paste the following into the file, save the file, and try it out in bash | |
NAME=$(git branch | grep '*' | sed 's/* //') | |
echo $(cat "$1") " in branch: $NAME" > "$1" |
SELECT | |
TO_TIMESTAMP(TO_DATE(date), TO_TIME(time)) AS Timestamp, | |
sc-status as Status, sc-substatus as Sub-Status, cs-method as Method, | |
cs-uri-stem as URL, cs-uri-query as Query, time-taken as Time-Taken-ms | |
FROM '[LOGFILEPATH]' | |
WHERE | |
time-taken > 1000 | |
AND TO_DATE(date) = '2015-12-18' |
git update-index --assume-unchanged Web/css/page.css | |
git update-index --assume-unchanged Web/js/*.js | |
** check with | |
git ls-files -v | grep ^[a-z] |
netsh wlan show profile name="INSERT SSID HERE" key=clear |
Import-Module WebAdministration | |
$iisAppPoolName = Read-Host 'What is IIS app pool name and App Name e.g. "local.mysite.com"?' | |
$iisAppPoolDotNetVersion = "v4.0" | |
$iisAppName = $iisAppPoolName | |
$directoryPath = Read-Host 'Where is the site located? e.g. D:\Git\mySite' | |
if (Get-Module -ListAvailable -Name PsHosts) { | |
Write-Host "PsHosts exists. Good. Adding entry to hosts..." | |
#create hosts entry | |
Add-HostEntry $iisAppPoolName 127.0.0.1 |
## based on https://github.com/github/gitignore | |
## Ignore Visual Studio temporary files, build results, and | |
## files generated by popular Visual Studio add-ons. | |
# User-specific files | |
*.suo | |
*.user | |
*.userosscache | |
*.sln.docstates |
%date{yyyy-MM-dd HH:mm:ss,fff} [%proc] %level %class - %message |
I hereby claim:
To claim this, I am signing this object: