Skip to content

Instantly share code, notes, and snippets.

View kgoutsos's full-sized avatar

Konstantinos Goutsos kgoutsos

View GitHub Profile

Keybase proof

I hereby claim:

  • I am kgoutsos on github.
  • I am kgoutsos (https://keybase.io/kgoutsos) on keybase.
  • I have a public key ASA4nD_NEfK3sG52r295-H2IILcFLF6YzNYWloM438GB9Qo

To claim this, I am signing this object:

@kgoutsos
kgoutsos / win10-built-in-remove
Last active August 29, 2015 14:25
Windows 10 built-in app removal commands
get-appxpackage -Name *WindowsCamera* | Remove-AppxPackage
get-appxpackage -Name *ZuneMusic* | Remove-AppxPackage
get-appxpackage -Name *WindowsMaps* | Remove-AppxPackage
get-appxpackage -Name *MicrosoftSolitaireCollection* | Remove-AppxPackage
get-appxpackage -Name *BingFinance* | Remove-AppxPackage
get-appxpackage -Name *ZuneVideo* | Remove-AppxPackage
get-appxpackage -Name *BingNews* | Remove-AppxPackage
get-appxpackage -Name *WindowsPhone* | Remove-AppxPackage
get-appxpackage -Name *Windows.Photos* | Remove-AppxPackage
get-appxpackage -Name *BingSports* | Remove-AppxPackage
Request to /cg/rewrite-test/?catch=caught&this=that
RewriteCond %{THE_REQUEST} = GET /cgi-bin/php/pro/rewrite-test/?catch=caught&this=that HTTP/1.1
RewriteCond %{REQUEST_URI} = /cg/rewrite-test/?catch=caught&this=that
RewriteCond %{QUERY_STRING} = catch=caught&this=that
RewriteCond %{HTTP_HOST} = www.askapache.com
RewriteCond %{HTTP_USER_AGENT} = Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0
RewriteCond %{REMOTE_ADDR} = 8.8.8.8
RewriteCond %{AUTH_TYPE} = Digest
@kgoutsos
kgoutsos / winstore_graphics
Created January 25, 2015 14:24
Powershell script using imagemagick to create tiles of all sizes required in a Windows Store app
convert .\fullsize.png -resize 98x98 .\tile_98.png
convert .\fullsize.png -resize 78x78 .\tile_78.png
convert .\fullsize.png -resize 56x56 .\tile_56.png
convert .\fullsize.png -resize 558x558 .\tile_558.png
convert .\fullsize.png -resize 54x54 .\tile_54.png
convert .\fullsize.png -resize 48x48 .\tile_48.png
convert .\fullsize.png -resize 43x43 .\tile_43.png
convert .\fullsize.png -resize 42x42 .\tile_42.png
convert .\fullsize.png -resize 32x32 .\tile_32.png
convert .\fullsize.png -resize 310x310 .\tile_310.png