Skip to content

Instantly share code, notes, and snippets.

View UbuntuEvangelist's full-sized avatar
🏠
Working from home

Masum UbuntuEvangelist

🏠
Working from home
View GitHub Profile
# 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

lambda-deploy.js

Description

A standalone executable that helps in deploying AWS lambda functions.

Synopsis

lambda-deploy.js --function-name FUNCTION_NAME --region REGION --action (create|update|delete) --path /path/to/your/project [ARGS]

@UbuntuEvangelist
UbuntuEvangelist / flussonic.sh
Created November 1, 2015 13:50 — forked from maxlapshin/flussonic.sh
Debian initscript for erlyvideo (flussonic)
#!/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.
@UbuntuEvangelist
UbuntuEvangelist / install-elasticsearch-debian
Created January 31, 2016 13:36 — forked from mystix/install-elasticsearch-debian
Install ElasticSearch on Debian
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!!
@UbuntuEvangelist
UbuntuEvangelist / gist:a8319c1ff2a80a8fe75f
Created February 3, 2016 16:20 — forked from sharoonthomas/gist:5857450
How to install tryton on debian/ubuntu
# 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
@UbuntuEvangelist
UbuntuEvangelist / gist:71917d477dc0565ea87b
Created March 11, 2016 18:53 — forked from wheezydial/gist:687685e4a0c28d507f1b
Install A2billing on Debian Wheezy Status Alpha Tutorial
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

Tinder API documentation

http://rsty.org/

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

API Details