git force push by delete and push

December 7, 2017

git push origin :
git push origin

Advertisements

move nuget packages cache path

December 4, 2017

env variable: NuGetCachePath

https://stackoverflow.com/questions/35710780/can-the-nuget-3-2-package-cache-location-be-changed

poshgit into powershell on windows

December 1, 2017

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Confirm
PowerShellGet\Install-Module posh-git -Scope CurrentUser
Add-PoshGitToProfile

git undo merge

October 2, 2017

git reset –hard HEAD~1

will undo the last commit

https://stackoverflow.com/questions/2389361/undo-a-git-merge-that-hasnt-been-pushed-yet

 

check version of windows installation media

August 28, 2017

dism /Get-WimInfo /WimFile:g:\sources\install.wim /index:1

flip words on space in excel

November 1, 2016

useful for eg firstname lastname

=CONCATENATE(MID(A2;FIND(” “;A2)+1;LEN(A2));” “;LEFT(A2;FIND(” “;A2)))

windows 10 kiosk mode assigned access

October 24, 2016

https://technet.microsoft.com/en-us/itpro/windows/manage/set-up-a-kiosk-for-windows-10-for-desktop-editions

 

outlook.com email on android as exchange

May 15, 2016

exchange
manual setup
s.outlook.com

https://support.office.com/en-us/article/Set-up-email-on-an-Android-phone-or-tablet-886db551-8dfa-4fd5-b835-f8e532091872

Danish characters using alt codes

May 10, 2016

Ø – ALT+0216

ø – ALT+0248

http://tools.oratory.com/altcodes.html

Solving Surface Pro 4 sleep problems

April 19, 2016

Will this do it?

powercfg /batteryreport

powercfg /energy

powercfg /requests

powercfg /requestsoverride DRIVER “Realtek High Definition Audio(SST)” SYSTEM DISPLAY AWAYMODE