Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Aditya K adk96r

🎯
Focusing
View GitHub Profile
@Savjee
Savjee / gist:b4b3a21d143a30e7dc07
Created Jan 16, 2016
s3-webhosting-bucket-policy
View gist:b4b3a21d143a30e7dc07
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
@chriskiehl
chriskiehl / Vitual keystroke example
Created Jun 10, 2012
Python win32api simple Vitual keystroke example
View Vitual keystroke example
#Giant dictonary to hold key name and VK value
VK_CODE = {'backspace':0x08,
'tab':0x09,
'clear':0x0C,
'enter':0x0D,
'shift':0x10,
'ctrl':0x11,
'alt':0x12,
'pause':0x13,
'caps_lock':0x14,