Skip to content

Instantly share code, notes, and snippets.

View jtmancilla's full-sized avatar

Jose Antonio Mancilla jtmancilla

  • CDMX, México
View GitHub Profile
@vinayak-mehta
vinayak-mehta / disease_outbreaks_camelot.ipynb
Last active June 27, 2024 15:36
A jupyter notebook showing how Camelot can be used to extract tables from PDFs scraped from the IDSP website.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MauricioMoraes
MauricioMoraes / access_postgresql_with_docker.md
Last active June 28, 2024 16:17
Allow Docker Container Access to Host's Postgres Database on linux (ubuntu)

You have to do 2 things in order to allow your container to access your host's postgresql database

  1. Make your postgresql listen to an external ip address
  2. Let this client ip (your docker container) access your postgresql database with a given user

Obs: By "Host" here I mean "the server where docker is running on".

Make your postgresql listen to an external ip address

Find your postgresql.conf (in case you don't know where it is)

$ sudo find / -type f -name postgresql.conf

@chibondking
chibondking / server.R
Created May 19, 2013 02:35
Portfolio Analytics Shiny App
library(PerformanceAnalytics)
library(PortfolioAnalytics)
library(quantmod)
options( error = recover )
fastCovMcdEstimator <- function(x, spec=NULL,...) {
covMcdEstimate
}