Skip to content

Instantly share code, notes, and snippets.

View marioplumbarius's full-sized avatar
🔥

Mario Souza marioplumbarius

🔥
View GitHub Profile
@marioplumbarius
marioplumbarius / export-linkedin-profile-as-pdf.js
Last active June 23, 2023 13:05
Export your linkedin public profile to PDF if you're having trouble with internationalization.
// Reason to create this script:
// My profile was created in portuguese, but when I translated
// it to english and tried to save my profile as PDF, it could not
// translate some words and dates to english, so I created this gist
// as an alternative.
// Usage
// 1. open your public profile in an incognito* browser tab. E.g.: https://www.linkedin.com/in/marioluan
// 2. copy-n-past the code below into the browser console
// 3. save as PDF
@marioplumbarius
marioplumbarius / .git.aliases
Created February 24, 2017 17:32
Git related gists.
alias glog="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
@marioplumbarius
marioplumbarius / sample.sh
Created March 17, 2017 13:17
Sample bash.
#!/bin/bash
execute(){
echo "sample execute like a charm!"
}
{
"Ansi 6 Color" : {
"Green Component" : 0.73333334922790527,
"Blue Component" : 0.73333334922790527,
"Red Component" : 0
},
"Tags" : [
],
"Ansi 12 Color" : {
@marioplumbarius
marioplumbarius / github-pr-closed-webhook-data-example.json
Created April 2, 2024 07:38
github-pr-closed-webhook-data-example
{
"accept": "*/*",
"host": "smee.io",
"user-agent": "GitHub-Hookshot/9b97f8a",
"max-forwards": "10",
"x-github-delivery": "96a80720-f0c2-11ee-9b0a-b980f6ca0037",
"x-github-event": "pull_request",
"x-github-hook-id": "470162148",
"x-github-hook-installation-target-id": "111815790",
"x-github-hook-installation-target-type": "organization",