Skip to content

Instantly share code, notes, and snippets.

View andrelramos's full-sized avatar
🎯
Focusing

André Ramos andrelramos

🎯
Focusing
View GitHub Profile
@andrelramos
andrelramos / tldv.py
Created October 10, 2024 18:57 — forked from akash-gajjar/tldv.py
Download videos from TLDV.io
from datetime import datetime
from os import system
import requests
import json
## Please install ffmpeg before running this script and make sure it's in your PATH
## brew install ffmpeg
## Please install requests before running this script
## pip3 install requests
@andrelramos
andrelramos / app.py
Created February 12, 2024 17:14 — forked from thomasdarimont/app.py
Simple python example using flask, flask_oidc and keycloak
import json
import logging
from flask import Flask, g
from flask_oidc import OpenIDConnect
import requests
logging.basicConfig(level=logging.DEBUG)
app = Flask(__name__)
@andrelramos
andrelramos / myenvs
Created May 15, 2018 12:43 — forked from sibelius/myenvs
Myenvs
function myenvs() {
if [[ $# -ne 1 ]]; then
export $(cat .env | xargs)
else
export $(cat $1 | xargs)
fi
}
@andrelramos
andrelramos / 00.howto_install_phantomjs.md
Last active July 6, 2017 03:58 — forked from rahularyan/00.howto_install_phantomjs.md
How to install PhantomJS on Debian/Ubuntu

How to install PhantomJS on Ubuntu

Version: 2.1.1

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev