Skip to content

Instantly share code, notes, and snippets.

View anvius's full-sized avatar

Antonio Villamarin anvius

View GitHub Profile
@gallir
gallir / covid.py
Created April 3, 2021 22:08
covid prediction with fbprophet
#! /usr/bin/env python3
import pandas as pd
import pycountry
from datetime import date, timedelta
from fbprophet import Prophet
from concurrent.futures import ProcessPoolExecutor
from .base import Series
@dbonillaf
dbonillaf / links_bonilista_519.md
Last active March 22, 2021 07:44
Links sobre la atracción de talento remoto
@cellularmitosis
cellularmitosis / README.md
Last active April 26, 2024 06:45
Quick-n-dirty QEMU script to spin up Debian on various CPU's
@amateusz
amateusz / Namecheap VPN manual configuration file.md
Last active March 29, 2023 15:16
Configuration file for Namecheap VPN - connect a unsupported device (no need for their proprietary app)

Namecheap VPN OpenVPN configuration file

They have this instructions for routers running dd-wrt, but I found myself unable to setup my desktop (NetworkManager) and iPhone manually. It seems, as those options cannot be set in any GUI/wizard OpenVPN creator, therefore a .ovpn configuration file is needed. I've came up with this file. It works.

Just keep in mind they might roll-out any server without a prior notice, like they'd just done today (9.11.2019) with Rejkjavik node. Strange.

Steps:

@PARC6502
PARC6502 / OpenSourceBaas.md
Last active May 24, 2024 18:44
List of open source, self hosted BaaS - Backend as a service

Backend as a Service

Supabase - ~52K stars

  • Designed explicitly as an open source firebase alternative
  • Typescript based
  • Docker support

Appwrite - ~32K stars

  • Written in JavaScript and PHP
  • Docker based
  • Realtime support across all services
@pasela
pasela / go-http-proxy.go
Created April 4, 2018 05:16
Simple HTTP proxy server written in Go.
// Simple HTTP proxy server written in Go.
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"net/http/httputil"

Plataformas

  • udacity.com
  • teamtreehouse.com
  • pluralsight.com
  • codeschool.com
  • codecademy.com
  • pro.codecademy.com
  • egghead.io
  • campusmvp.es (español)
@enricofoltran
enricofoltran / main.go
Last active April 1, 2024 00:17
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"os"
"os/signal"
import hashlib as hasher
import datetime as date
# Define what a Snakecoin block is
class Block:
def __init__(self, index, timestamp, data, previous_hash):
self.index = index
self.timestamp = timestamp
self.data = data
self.previous_hash = previous_hash
@bschwartz757
bschwartz757 / async.js
Last active November 15, 2023 03:23
Async/await function to fetch data from multiple URLs in parallel
/* Client side, works in Chrome 55 and Firefox 52 without transpilation */
//https://blogs.msdn.microsoft.com/typescript/2016/11/08/typescript-2-1-rc-better-inference-async-functions-and-more/
async function fetchURLs() {
try {
// Promise.all() lets us coalesce multiple promises into a single super-promise
var data = await Promise.all([
/* Alternatively store each in an array */
// var [x, y, z] = await Promise.all([
// parse results as json; fetch data response has several reader methods available:
//.arrayBuffer()