Skip to content

Instantly share code, notes, and snippets.

Doing what I love to do!

Iván Corrales Solera ivancorrales

Doing what I love to do!
View GitHub Profile
jc-torresp /
Last active Sep 24, 2022
Setup a Raspberry Pi Plex Media Server (Including external storage media and Windows to Raspbian migration)

Raspberry Pi Plex Server


Ensure our operating system is entirely up to date:

sudo apt-get update
sudo apt-get upgrade
doi-t /
Last active Sep 25, 2019
CloudWatch Logs --> subscription filter --> Kinesis stream --> boto3.client('kinesis').get_records()
import base64
import datetime
import gzip
import json
import sys
import time
from typing import Any, Dict, List
import boto3
View exkorpion_demo.exs
defmodule ExkorpionSamples.MathExamplesTest do
use Exkorpion
def sum a, b do
a + b
def subs a, b do
a - b
ivancorrales / first-steps-with-erlang.erl
Created Jan 29, 2016
Basic example of creating a record and iterating over a list of elements.
View first-steps-with-erlang.erl
new_person(Name, Genre, Age) ->
#person{name=Name, genre=Genre, age=Age}.
ivancorrales / gist:d108cc0dccc1fad460ae
Created Dec 5, 2015
Avoiding using if-else statements
View gist:d108cc0dccc1fad460ae
function _ifElseFn(condition, cb, cb2){
var result = {true:cb,false:cb2};
return result[condition]();
function sayYourCarIsOld(){
console.log('your car is old');
function sayYourCarIsNew(){
ivancorrales / setUp.go
Created Jun 18, 2015
Go script to create workspace structure
View setUp.go
package main