Skip to content

Instantly share code, notes, and snippets.

View guilhermeprokisch's full-sized avatar

Guilherme guilhermeprokisch

  • Vienna
  • 00:51 (UTC -12:00)
View GitHub Profile
This file has been truncated, but you can view the full file.
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="4110" height="2381"><defs><path id="b" d="m.578.188 1.719-5.313 2.36.766q.702.221 1.03.484.33.27.422.703c.07.293.063.586-.03.875a1.42 1.42 0 0 1-.673.828c-.324.18-.758.219-1.297.125.157.149.274.282.36.407q.202.377.343.906l.454 1.734-.875-.281L4.03.094a8 8 0 0 0-.265-.906q-.128-.329-.25-.47a1 1 0 0 0-.266-.234 1.7 1.7 0 0 0-.39-.171l-.813-.266L1.28.407Zm1.656-2.75 1.516.5q.481.158.781.14a.88.88 0 0 0 .516-.172.93.93 0 0 0 .312-.437.85.85 0 0 0-.078-.719q-.205-.342-.781-.531l-1.687-.547Zm0 0"/><path id="c" d="m-.016 0 3.75-4.656.766.234.469 6.031-.813-.265-.11-1.813-2.202-.718L.734.234ZM2.22-1.703l1.797.594-.063-1.657Q3.905-3.515 3.922-4a5.5 5.5 0 0 1-.61.953Zm0 0"/><path id="d" d="m.547.172 1.719-5.313 1.062.344.047 4.172q-.018.579 0 .875.186-.279.547-.781L6.39-3.812l.953.312-1.719 5.313-.687-.22 1.437-4.452-2.969 3.953-.64-.203-.079-5.016L1.235.391Zm0 0"/><path id="e" d="M.563.188 2.28-5.125l2.016.64q.527.175.797.313.357
@guilhermeprokisch
guilhermeprokisch / ruff.toml
Last active September 24, 2024 10:04
common ruff.toml
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
@guilhermeprokisch
guilhermeprokisch / gist:5036659c0148dd30138f6e2ad57b9aa3
Created July 23, 2024 11:45
update patch version for .tools-version
#!/bin/bash
get_latest_patch_version() {
local plugin=$1
local current_version=$2
local major_minor=$(echo $current_version | cut -d. -f1-2)
local latest_patch=$(asdf list-all $plugin | grep "^$major_minor\." | sort -V | tail -n1)
echo $latest_patch
}
[alias]
cof = !git for-each-ref --format='%(refname:short)' refs/heads | fzf | xargs git checkout
c = !git add --all && git commit -m
ss = !git status -s
l = !git log --pretty=format:'%C(white)%s ⋮ %C(cyan)%cn ⋮ %C(green)%cr ⋮ %C(blue)%h ⋮ %C(red)%d'
r = !git restore --staged
amend=!git add --all && git commit --amend --no-edit
count = !git short shortlog -s --grep
; s = !zsh -c 'source ~/.config/zsh/zshrc && gitcommitplus'
s = !git status
{"schemaVersion":1,"label":"Coverage","message":"81%","color":"green","namedLogo":"pytest"}
document.write('<link rel="stylesheet" href="https://github.githubassets.com/assets/gist-embed-39872b2714d6.css">')
document.write('<div id=\"gist88336513\" class=\"gist\">\n <div class=\"gist-file\" translate=\"no\">\n <div class=\"gist-data\">\n <div class=\"js-gist-file-update-container js-task-list-container file-box\">\n <div id=\"file-shopify-admin-test-script-tag-js\" class=\"file my-2\">\n \n <div itemprop=\"text\" class=\"Box-body p-0 blob-wrapper data type-javascript \">\n\n \n<div class=\"js-check-bidi js-blob-code-container blob-code-content\">\n\n <template class=\"js-file-alert-template\">\n <div data-view-component=\"true\" class=\"flash flash-warn flash-full d-flex flex-items-center\">\n <svg aria-hidden=\"true\" height=\"16\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" data-view-component=\"true\" class=\"octicon octicon-alert\">\n <path fill-rule=\"evenodd\" d=\"M8.22 1.754a.25.25 0 00-.44 0L1.698 13.132a.25.25 0 00.22.368h12.164a.25.25 0 00.22-.368
*
INVERT
.jfk-bubble.gtx-bubble
.captcheck_answer_label > input + img
span#closed_text > img[src^="https://www.gstatic.com/images/branding/googlelogo"]
span[data-href^="https://www.hcaptcha.com/"] > #icon
#bit-notification-bar-iframe
::-webkit-calendar-picker-indicator
{"list":{"errorCode":404,"errorMessage":"Race List was not found"},"meetingHeader":{"dates":[{"db":"2020-07-05","date":"Jul 5","day":"Sunday","active":1},{"db":"2020-07-04","date":"Jul 4","day":"Saturday","active":1},{"db":"2020-07-03","date":"Jul 3","day":"Friday","active":1},{"db":"2020-07-02","date":"Jul 2","day":"Thursday","active":1},{"db":"2020-07-01","date":"Jul 1","day":"Wednesday","active":1},{"db":"2020-06-30","date":"Jun 30","day":"Tuesday","active":1},{"db":"2020-06-29","date":"Jun 29","day":"Monday","active":1}],"currentDate":"Jul 5","selectedDate":"Jul 5"}}
// ==UserScript==
// @name Play on Torrent
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.google.com*
// @grant GM_xmlhttpRequest
// @grant GM_addStyle
// @run-at document-end
// ==UserScript==
// @name Amazon to Z-library
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Add link to libgen on all ebook products
// @author Nobody
// @match https://www.amazon.*/*
// @match https://www.amazon.com/*
// @match https://www.amazon.com.br/*
// @grant none