Skip to content

Instantly share code, notes, and snippets.

View mechamogeo's full-sized avatar
🌈
I'm gay

Geovani França mechamogeo

🌈
I'm gay
View GitHub Profile
@mechamogeo
mechamogeo / README.md
Created March 12, 2023 05:59 — forked from afunTW/README.md
sample code for icalendar and google calendar API

Intro

Thers's some MS-defined column in .ics that will be ignored when import .ics to google calendar. We can self modified those value and insert/update the google calendar by google calendar API.

  • icalendar: parse the .ics file
  • google-api-python-client: google calendar API

Usage

Keybase proof

I hereby claim:

To claim this, I am signing this object:

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@mechamogeo
mechamogeo / main.js
Last active March 29, 2021 01:42
A running worker to maintain process of unispotify with idle and shutdown
import Worker from "./worker.js";
const uri = 'https://webhook.site/209308bd-1ef5-40ce-b063-cf98a3321e02'
const runner = new Worker("12345678", [`${uri}/player`,`${uri}/song`]).start();
@mechamogeo
mechamogeo / kubectl-hpa-cli.sh
Created July 8, 2020 02:10
Simple CLI to manage soft scaling in Kubernetes using HPA Methods
#!/bin/bash
NAME="HPA Soft Scaling CLI"
DESCRIPTION="Simple to use HPA (Horizontal Pods Autoscaling) manager to Kubernetes, Creation of Geovani Perez França"
VERSION=0.0.2
# UTILS FUNCTIONS #################################################################################
function get_hpa_description() {
unset hpa_describe pods_min pods_max pods_actual