This document has now been incorporated into the uWSGI documentation:
http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html
Steps with explanations to set up a server using:
| set smoothscroll | |
| set ignorecase | |
| set smartcase | |
| set regexp | |
| set incsearch | |
| set showtabindices | |
| set noautofocus | |
| map H gT | |
| map L gt |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Combination</title> | |
| </head> |
| #!/usr/bin/env bash | |
| mkdir vim | |
| curl https://s3.amazonaws.com/heroku-vim/vim-7.3.tar.gz --location --silent | tar xz -C vim | |
| export PATH=$PATH:/app/vim/bin |
| #!/usr/bin/env python3 | |
| def swap(l, i, j): | |
| m = l[::] | |
| m[i], m[j] = l[j], l[i] | |
| return m | |
| class Puzzle: | |
| def __init__(self, initial_state=[0, 1, 3, 2, 4, 8, 5, 6, 7], goal_state=[1, 2, 3, 4, 5, 6, 7, 8, 0]): | |
| if len(initial_state) != len(goal_state): |
| #include <iostream> | |
| #include <vector> | |
| #include <cmath> | |
| //just for unassigned location | |
| enum | |
| { | |
| UNASSIGNED = 0, | |
| }; |
| package salesforceintegration.salesforce.salesforceclient; | |
| import java.io.IOException; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import java.util.Map; | |
| import org.apache.http.HttpEntity; | |
| import org.apache.http.ParseException; | |
| import org.apache.http.client.methods.CloseableHttpResponse; |
| Spark Internals - https://github.com/JerryLead/SparkInternals (good summary of internal architecture) | |
| Spark Tutorials - https://github.com/rklick-solutions/spark-tutorial (Nice summaries for important topics) | |
| pyspark Tutorials - https://github.com/mahmoudparsian/pyspark-tutorial | |
| RDDs - https://github.com/hammerlab/magic-rdds | |
| Spark Scala Tutorial - https://github.com/deanwampler/spark-scala-tutorial |