Skip to content

Instantly share code, notes, and snippets.

View mayeaux's full-sized avatar
💭
Coding

Anthony mayeaux

💭
Coding
View GitHub Profile
@mayeaux
mayeaux / centos-bitcoind-guide.markdown
Created December 4, 2015 22:37 — forked from janx/centos-bitcoind-guide.markdown
Install bitcoind on CentOS 6.5

##RPM Packages##

sudo yum install qt-devel protobuff-devel qrencode-devel

##Switch to user bitcoind##

sudo useradd bitcoind
sudo su - bitcoind
mkdir bitcoind

mkdir bitcoind/deps

@mayeaux
mayeaux / commit_format_examples.txt
Created December 23, 2015 20:52 — forked from mutewinter/commit_format_examples.txt
Examples of my commit format.
chore: add Oyster build script
docs: explain hat wobble
feat: add beta sequence
fix: remove broken confirmation message
refactor: share logic between 4d3d3d3 and flarhgunnstow
style: convert tabs to spaces
test: ensure Tayne retains clothing
@mayeaux
mayeaux / tinder-api-documentation.md
Created March 9, 2016 04:16 — forked from rtt/tinder-api-documentation.md
Tinder API Documentation

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

HTML5 Audio Player w/ Responsive Playlist

I changed this!

This is an HTML5 audio player that detects the user agent of your device/browser/OS and applies styling that matches the native audio player. The playlist responds to the width of your screen and features basic UI controls.

Feel free to fork this pen and add your own user agent styles for different browsers, devices and operating systems.

@mayeaux
mayeaux / app.js
Created January 1, 2017 02:19 — forked from JuanJo4/app.js
Twitter OAuth with node-oauth for node.js + express 4
/*
Node.js, express, oauth example using Twitters API
Install Dependencies:
npm install express
npm install oauth
Create App File:
Save this file to app.js
@mayeaux
mayeaux / encoding-video.md
Created August 17, 2017 05:38 — forked from Vestride/encoding-video.md
Encoding video for the web

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aacc --with-opus
@mayeaux
mayeaux / stream-file-uploads-nodejs.js
Created August 29, 2017 17:56 — forked from schempy/stream-file-uploads-nodejs.js
Streaming File Uploads With Node.Js
var http = require('http');
var router = require('routes')();
var Busboy = require('busboy');
var port = 5000;
// Define our route for uploading files
router.addRoute('/images', function (req, res, params) {
if (req.method === 'POST') {
// Create an Busyboy instance passing the HTTP Request headers.
@mayeaux
mayeaux / ffmpeg-install.sh
Created September 17, 2017 03:02 — forked from clayton/ffmpeg-install.sh
Install FFMPEG on OS X with HomeBrew to convert Mp4 to WebM
# Installation
brew install ffmpeg --with-vpx --with-vorbis --with-libvorbis --with-vpx --with-vorbis --with-theora --with-libogg --with-libvorbis --with-gpl --with-version3 --with-nonfree --with-postproc --with-libaacplus --with-libass --with-libcelt --with-libfaac --with-libfdk-aac --with-libfreetype --with-libmp3lame --with-libopencore-amrnb --with-libopencore-amrwb --with-libopenjpeg --with-openssl --with-libopus --with-libschroedinger --with-libspeex --with-libtheora --with-libvo-aacenc --with-libvorbis --with-libvpx --with-libx264 --with-libxvid
# Easy Peasy
ffmpeg -i video.mp4 video.webm
@mayeaux
mayeaux / index.sh
Created October 5, 2017 19:13 — forked from r4hul-in/index.sh
follow everyone on gab
#!/bin/bash
# follow everyone on gab.ai easily
# this may or may not break at any time, as this api is unofficial/undocumented/whatever you want to call it.
# insert your cookies into /tmp/cookies
# you can extract them using EditThisCookie, in the Netscape HTTP cokie format.
# limited to first 10000 users on gab, change the number in $(seq if there are more users in the future
# of course, 200 = success, anything else = failure
for i in $(seq 10000)
do
curl -o /dev/null --silent --head --write-out '%{http_code} -' -X POST --cookie /tmp/cookie https://gab.ai/users/$i/follow
@mayeaux
mayeaux / WebhookTutorial.md
Created October 29, 2017 04:27
Simple Webhook Tutorial (Twitter -> Discord using IFTTT)

You can still find the guide in the revision tab. (On phones: A history-like button) However, it is very old and unmaintained, so it's for reference only.

My Discord account has become a victim in the selfbot crackdown. If you'd like to, send an email to support@discordapp.com with the following:

Hello Discord,
Recently, my dear friend austinhuang#1076 got his account deleted for selfbotting. I believe his actions were not meant to harm Discord and they were wrongfully punished. I know, and he also knows, that selfbotting is against ToS but you could've at least talk to him before deleting his account. I am writing this message to ask you to unban him. He has valuable assets like DiscordTel and valuable contributions like the AD and Webhook huides. 

Thanks for considering these aspects,