I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWS_ACCESS_KEY_ID = "YOUR_KEY_ID" | |
AWS_SECRET_ACCESS_KEY = "YOUR_ACCESS_KEY" | |
AWS_STORAGE_BUCKET_NAME = "BUCKET-NAME" | |
AWS_QUERYSTRING_AUTH = False | |
AWS_S3_SECURE_URLS = True | |
from boto.s3.connection import OrdinaryCallingFormat, S3Connection | |
AWS_S3_CALLING_FORMAT = OrdinaryCallingFormat() | |
S3Connection.DefaultHost = "s3-eu-west-1.amazonaws.com" # Must match your specific region |
Memory Optimization (Christer Ericson, GDC 2003)
http://realtimecollisiondetection.net/pubs/GDC03_Ericson_Memory_Optimization.ppt
Cache coherency primer (Fabian Giesen)
https://fgiesen.wordpress.com/2014/07/07/cache-coherency/
Code Clinic 2015: How to Write Code the Compiler Can Actually Optimize (Mike Acton)
http://gdcvault.com/play/1021866/Code-Clinic-2015-How-to
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir -p /opt/bin | |
curl -L `curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r '.assets[].browser_download_url | select(contains("Linux") and contains("x86_64"))'` > /opt/bin/docker-compose | |
chmod +x /opt/bin/docker-compose |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Workflow (Genre is the Parent Field, Artist is the Dependent Field): | |
// 1. user interacts w/ Genre select list widget via JS script. | |
// 2. JS script fetches the new Artist list in views.py | |
// 3. JSON response will be used as the new values/options for the Artist select list widget. | |
(function($) { | |
$(function() { | |
// Artist's select option values will depend on | |
// the Genre's selected option. | |
var $genreSelectWidget = $('#id_genre'); |