Skip to content

Instantly share code, notes, and snippets.

View legioz's full-sized avatar

Luiz legioz

  • Curitiba
View GitHub Profile
@legioz
legioz / get_last_business_day.py
Last active May 25, 2021 14:17
Get Last Business Day Calendar
```python
import datetime
import pandas as pd
def get_last_business_day(frequency_type):
"""
* retorna uma lista com as últimas datas válidas para analise em um período de 60 dias
"""
freq = frequency_type.upper()
@legioz
legioz / README.md
Last active March 25, 2021 20:43
Institutional Certificates Applied to Linux, Containers and Python Virtual Environment

Institutional Certificates Applied to Linux Apps and Python Virtual Environment

#!/bin/bash

### Script installs root.cert.pem to certificate trust store of applications using NSS
### (e.g. Firefox, Thunderbird, Chromium)
### Mozilla uses cert8, Chromium and Chrome use cert9

###
### Requirement: apt install libnss3-tools