A standalone executable that helps in deploying AWS lambda functions.
lambda-deploy.js --function-name FUNCTION_NAME --region REGION --action (create|update|delete) --path /path/to/your/project [ARGS]
| # Add multimedia source | |
| echo "deb http://www.deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list | |
| echo "deb-src http://www.deb-multimedia.org wheezy main non-free" >> /etc/apt/sources.list | |
| apt-get update | |
| apt-get install deb-multimedia-keyring # if this aborts, try again | |
| apt-get update | |
| # Go to local source directory | |
| cd /usr/local/src |
| sudo apt-get update | |
| sudo apt-get install apache2 | |
| sudo apt-get install mysql-server | |
| sudo apt-get install php5 | |
| sudo apt-get install libapache2-mod-php5 | |
| sudo apt-get install php5-mysql | |
| wget http://nchc.dl.sourceforge.net/project/opensis-ce/opensis5.1.zip | |
| sudo apt-get install unzip | |
| unzip opensis5.1.zip |
| #!/bin/bash | |
| ### BEGIN INIT INFO | |
| # Provides: flussonic | |
| # Required-Start: $local_fs $network $syslog | |
| # Required-Stop: $local_fs $network $syslog | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Start/stop flussonic streaming server | |
| ### END INIT INFO |
| ##################### ElasticSearch Configuration Example ##################### | |
| # This file contains an overview of various configuration settings, | |
| # targeted at operations staff. Application developers should | |
| # consult the guide at <http://elasticsearch.org/guide>. | |
| # | |
| # The installation procedure is covered at | |
| # <http://elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html>. | |
| # | |
| # ElasticSearch comes with reasonable defaults for most settings, |
| #https://www.vultr.com/docs/setup-nginx-rtmp-on-ubuntu-14-04 | |
| apt-get install build-essential libpcre3 libpcre3-dev libssl-dev unzip software-properties-common | |
| mkdir /usr/build | |
| #Download the Nginx and Nginx-RTMP source. | |
| wget http://nginx.org/download/nginx-1.7.8.tar.gz | |
| wget https://github.com/arut/nginx-rtmp-module/archive/master.zip | |
| #Extract the Nginx and Nginx-RTMP source. | |
| tar -zxvf nginx-1.7.8.tar.gz | |
| unzip master.zip | |
| #Switch to the Nginx directory. |
| VERSION=0.20.6 | |
| sudo apt-get update | |
| sudo apt-get install openjdk-6-jdk | |
| wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-$VERSION.deb | |
| sudo dpkg -i elasticsearch-$VERSION.deb | |
| # be sure you add "action.disable_delete_all_indices" : true to the config!! |
| # Step 1: Adding the ppa where tryton is release | |
| sudo add-apt-repository ppa:rayanayar/tryton-2.8 | |
| # Step 2: Update the packages | |
| sudo apt-get update | |
| # Step 3: Install all the packages and modules at once |
| install realtime Kernel and Kernel Headers: | |
| apt-get install -y linux-image-rt-amd64 linux-headers-rt-amd64 | |
| remove the old kernel | |
| apt-get remove -y linux-image-3.2.0-4-amd64 linux-headers-3.2.0-4-amd64 | |
| update-grub ##reconfigure the bootloader for the new Kernel | |
I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> https://gist.github.com/rtt/5a2e0cfa638c938cca59 (horribly quick and dirty, you've been warned!)
Note: this was written in April/May 2014 and the API may have changed since. I have nothing to do with Tinder, nor their API, and I do not offer any support for anything you may build on top of this