Skip to content

Instantly share code, notes, and snippets.

View davesade's full-sized avatar
🌳
growing

David Kubec davesade

🌳
growing
View GitHub Profile
@davesade
davesade / notes.md
Last active December 15, 2017 14:11
Super quick notes from re:Invent 2017

AWS Reinvent 2017

Media Intelligence

Enriching metadata. National Geographic - more photos each year. Petabytes of images, 100+ years of content. How to enrich metadata?
Upscaling images without adding noise (adding colorisation etc.).
Deep learning based image analysis
Pipeline: Store, Analyze, Deliver.
Objects (water, boat) => scenes (ocean) => concept (sailing)

@davesade
davesade / assumerolehints.md
Last active June 28, 2018 10:33
Memory refresher

AWS CLI

aws sts assume-role --role-arn <<target_role_ARN>> --role-session-name DEMONSTRATION

Export to ENV VAR

export AWS_ACCESS_KEY_ID=...
export AWS_SECRET_ACCESS_KEY=...
export AWS_SESSION_TOKEN=...

Keybase proof

I hereby claim:

  • I am davesade on github.
  • I am davesade (https://keybase.io/davesade) on keybase.
  • I have a public key ASC3BhG9_u6Sv8OVCnlo0LcfVXOSUysqq5gzUIso4RL2Ego

To claim this, I am signing this object:

@davesade
davesade / camera_top_down_shooter_gms2
Last active April 4, 2020 22:50
There were too many recommendations for GM older versions, how to set a camera and proper scaling of pixelart, so I decided to translate it into GMS2
// CREATE EVENT
/// @description Set camera
global.debug = true
// Scaling based on: https://www.youtube.com/watch?v=wv3R2Q536ZU
ideal_width = 0; //Doesn't matter because we are going to calculate this.
ideal_height = 256;
zoom = 3;
max_zoom = 1;
view_zoom = 5
view_max_zoom = 10

Keybase proof

I hereby claim:

  • I am davesade on github.
  • I am davesade (https://keybase.io/davesade) on keybase.
  • I have a public key ASC-OD10eR8eM9_xjRShY-j5W3uCOOZadlrARDEAg45Oigo

To claim this, I am signing this object: