Skip to content

Instantly share code, notes, and snippets.

View arianmaykon's full-sized avatar

Arian Maykon de Araújo Diógenes arianmaykon

View GitHub Profile
@sibelius
sibelius / woovi_job.md
Last active February 27, 2024 00:13
Woovi Job Description
@luizomf
luizomf / settings.json
Last active May 1, 2024 17:46
VS Code Python and Code Runner Settings for Windows
{
"window.zoomLevel": 5,
"editor.formatOnSave": true,
"code-runner.executorMap": {
"python": "clear ; .\\venv\\Scripts\\python.exe"
},
"code-runner.runInTerminal": true,
"code-runner.clearPreviousOutput": true,
// Python
"[python]": {
@DvilMuck
DvilMuck / aternosAntiAntiadblock.user.js
Last active May 3, 2024 05:10
Aternos Anti Anti Adblock userscript for Aternos.org
// ==UserScript==
// @name Aternos Anti Anti-adblock
// @namespace r0630hh1edcuum5397kimyc0ucwy2h3psn4c6r1u4j
// @version 0.1.23
// @description Fuck anti-adblock from the free hosting minecraft servers Aternos.org. Parry this you filthy casual!
// @author Angry Developer against excessive ADs
// @source https://gist.github.com/DvilMuck/f2b14f3f65e8f22974d781277158f82a
// @supportURL https://gist.github.com/DvilMuck/f2b14f3f65e8f22974d781277158f82a
// @updateURL https://gist.github.com/DvilMuck/f2b14f3f65e8f22974d781277158f82a/raw/aternosAntiAntiadblock.user.js
// @downloadURL https://gist.github.com/DvilMuck/f2b14f3f65e8f22974d781277158f82a/raw/aternosAntiAntiadblock.user.js
// ==UserScript==
//
// Install with Tampermonkey or Greasemonkey
//
// @name Aternos Anti AdBlock Blocker
// @version 1.0.5
// @description Blocks the anti ad block message and removes all red ad banners
// @author ErdbeerbaerLP
// @match https://aternos.org/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
@soberich
soberich / bulk_clone_bitbucket.sh
Created April 30, 2020 18:54
Bulk clone repos in Bitbucket REST Api 2.0
# prerequisites: `httpie`, `jq`, GNU's `parallel`. e.g. brew install <package>
# there is max 100 page length n pages where n is 100 length page. Execute one one by one (there is no way you'll get more than 100 times parallelization)
# in `.values[].links.clone[1].href` `1` is for SSH, where `0` would be for HTTPS.
http https://<user>:<pass>@api.bitbucket.org/2.0/repositories/<account_name> pagelen==100 page==<page_num> | jq -r '.values[].links.clone[1].href' | parallel git clone
# Voila it takes approx 1-2 minutes to clone a 100 repos.
@phil-blain
phil-blain / .gitattributes
Last active March 29, 2024 22:38
Git pickaxe : show only relevant hunks (filter displayed hunks using the given search string)
*.md diff=markdown
@RobertAKARobin
RobertAKARobin / python.md
Last active April 18, 2024 20:44
Python Is Not A Great Programming Language
@cgoering
cgoering / template.yaml
Created April 26, 2019 18:28
AWS Lambda memory usage metric in CloudFormation
CustomMetric:
Type: AWS::Logs::MetricFilter
Properties:
LogGroupName: !Sub /aws/lambda/${AWS::StackName}
FilterPattern: '[str="REPORT", ..., str="Max", str="Memory", str="Used:", MaxMemoryUsed, str="MB"]'
MetricTransformations:
- MetricNamespace: Organization/Project/Service
MetricName: MaxMemoryUsed
MetricValue: $MaxMemoryUsed
@webinista
webinista / HowToFixPycURLErrorMacOS.md
Last active April 23, 2021 07:18
PycURL error: ConfigurationError: Curl is configured to use SSL, but we have not been able to determine which SSL backend it is using. Please see PycURL documentation for how to specify the SSL backend manually.

Partly pulled from the comments here: pycurl/pycurl#526

May also be a fix for this error:

ImportError: pycurl: libcurl link-time ssl backend (none/other) is different from compile-time ssl backend (openssl)

If you try to install PycURL and receive this error:

@Ozahata
Ozahata / gist:795e25369fd311f1ad3de2a931178bfb
Last active April 23, 2020 14:24
(Mac) ImportError: pycurl: libcurl link-time ssl backend (none/other) is different from compile-time ssl backend (openssl)
brew install curl --with-openssl
echo 'export PATH="/usr/local/opt/curl/bin:$PATH"' >> ~/.bash_profile
# To not close the bash and open again
export PATH="/usr/local/opt/curl/bin:$PATH"