Skip to content

Instantly share code, notes, and snippets.

View rmxsantiago's full-sized avatar
🎯
Focusing

Rafael Santiago rmxsantiago

🎯
Focusing
View GitHub Profile
@rmxsantiago
rmxsantiago / twitchapi.ino
Last active November 15, 2022 21:52
Twich API
#include <ESP8266WiFi.h>
#include <WiFiClientSecure.h>
#include <Arduino_JSON.h>
#include <sstream>
#include <string>
#include <cstring>
#ifndef STASSID
@rmxsantiago
rmxsantiago / gist:863239ea39ee4307459e3b73f754611c
Created May 7, 2022 16:42 — forked from christofluethi/gist:646ae60d797a46a706a5
Convert m4a to mp3 on OS X command line using ffmpeg
brew update
brew link yasm
brew link x264
brew link lame
brew link xvid
brew install ffmpeg
ffmpeg wiki:
https://trac.ffmpeg.org/wiki/Encode/MP3
@rmxsantiago
rmxsantiago / coding_challenges.md
Created October 30, 2020 17:16
List of Coding Challenges
@rmxsantiago
rmxsantiago / free_images_websites.md
Last active July 23, 2020 14:27
List of Free Image Resources
@rmxsantiago
rmxsantiago / System Design.md
Created September 5, 2019 23:37 — forked from redhot2007/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@rmxsantiago
rmxsantiago / php-env.md
Last active September 4, 2019 23:35
PHP Environment

PHP

  • Run brew install php

Composer

This will generate composer.phar

  • Run mv composer.phar /usr/local/bin/composer

To check if composer is globally available, run composer --version

@rmxsantiago
rmxsantiago / atom-plugins.md
Last active August 15, 2019 13:54
Atom plugins I tested and use.
Name
language-liquid
language-markdown
atom-beautify
@rmxsantiago
rmxsantiago / videotest.json
Last active September 19, 2020 00:24 — forked from jsturgis/gist:3b19447b304616f18657
public test videos
var mediaJSON = { "categories" : [ { "name" : "Movies",
"videos" : [
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ],
"subtitle" : "By Blender Foundation",
"thumb" : "images/BigBuckBunny.jpg",
"title" : "Big Buck Bunny"
},
{ "description" : "The first Blender Open Movie from 2006",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ],