Skip to content

Instantly share code, notes, and snippets.

View patricksferraz's full-sized avatar
:atom:
“Every great advance in science has issued from a new audacity of imagination”JD

Patrick Ferraz patricksferraz

:atom:
“Every great advance in science has issued from a new audacity of imagination”JD
View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Classificacao;StateCode;25/02/2020;26/02/2020;27/02/2020;28/02/2020;29/02/2020;01/03/2020;02/03/2020;03/03/2020;04/03/2020;05/03/2020;06/03/2020;07/03/2020;08/03/2020;09/03/2020;10/03/2020;11/03/2020;12/03/2020;13/03/2020;14/03/2020;15/03/2020;16/03/2020;17/03/2020;18/03/2020;19/03/2020;20/03/2020;21/03/2020;22/03/2020;23/03/2020;24/03/2020;25/03/2020;26/03/2020;27/03/2020;28/03/2020;29/03/2020;30/03/2020;31/03/2020;01/04/2020;02/04/2020;03/04/2020;04/04/2020;05/04/2020;06/04/2020;07/04/2020;08/04/2020;09/04/2020;10/04/2020;11/04/2020;12/04/2020;13/04/2020;14/04/2020;15/04/2020;16/04/2020;17/04/2020;18/04/2020;19/04/2020;20/04/2020;21/04/2020;22/04/2020;23/04/2020;24/04/2020;25/04/2020;26/04/2020;27/04/2020;28/04/2020;29/04/2020;30/04/2020;01/05/2020;02/05/2020;03/05/2020;04/05/2020;05/05/2020;06/05/2020;07/05/2020;08/05/2020;09/05/2020;10/05/2020;11/05/2020;12/05/2020;13/05/2020;14/05/2020;15/05/2020;16/05/2020;17/05/2020;18/05/2020;19/05/2020;20/05/2020;21/05/2020;22/05/2020;23/05/2020;24/05/2020;25/05/2020
@patricksferraz
patricksferraz / pdf2csv_bcetrel.ipynb
Last active May 2, 2020 02:23
Script for scraping data from CETREL pdf reports
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"profiles": {
"defaults": {
#!/bin/sh
### BEGIN INIT INFO
# Provides: exampledaemon
# Required-Start: $local_fs $network $syslog
# Required-Stop: $local_fs $network $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Example
# Description: Example start-stop-daemon - Debian
@patricksferraz
patricksferraz / config
Last active March 11, 2021 23:38
Manjaro theme for terminator
[global_config]
scroll_tabbar = True
title_hide_sizetext = True
title_transmit_bg_color = "#2e3436"
title_receive_bg_color = "#c80003"
enabled_plugins = LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler
[keybindings]
[profiles]
[[default]]
background_color = "#0a191e"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env python
# coding: utf-8
from influxdb import InfluxDBClient
import pandas as pd
import numpy as np
import argparse
def generate_struct(register):
#!/bin/zsh
PrintUsage() {
echo "Usage: `basename $0` [-o log_file][-hv] <-aus> repositories"
echo "Options:"
echo "\ta: initialize, adds and publish the git repositories"
echo "\tu: update all repositories"
echo "\ts: get status of all repositories"
echo "\to: set file for log"
echo "\th: see this message"