Skip to content

Instantly share code, notes, and snippets.

View chr0nu5's full-sized avatar
:octocat:
The gravitational pull of curiosity is infinite

John chr0nu5

:octocat:
The gravitational pull of curiosity is infinite
View GitHub Profile
@chr0nu5
chr0nu5 / Dockerfile
Created November 8, 2023 18:02
Node + Puppeteer
FROM node:slim
# We don't need the standalone Chromium
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
# Install Google Chrome Stable and fonts
# Note: this installs the necessary libs to make the browser work with Puppeteer.
RUN apt-get update && apt-get install gnupg wget -y && \
wget --quiet --output-document=- https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/google-archive.gpg && \
sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' && \
response = requests.post(
url="{}/1/payment_links".format(self.url),
headers={
"Content-Type": "application/json; charset=utf-8"
},
data=json.dumps({
"api_key": self.key,
"amount": self.format_value(reserva.get_total()),
"postback_config": {
"orders": self.postback,
- task: SonarQubePrepare@4
inputs:
SonarQube: https://sonar.d3.do:9000
projectKey: fd695902226ad04a56d16c09e2c18bd7925264db
- task: SonarQubeAnalyze@4
inputs: # none
- task: SonarCloudPublish@4
displayName: 'Publish Code Analysis'
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>MUSE TEST</title>
</head>
<body>
<script>
window.alert("teste");
@chr0nu5
chr0nu5 / invite.py
Last active September 14, 2021 18:51
class Person:
def __init__(self):
self.name = None
def set_name(self, name):
self.name = name
def ask_out(self, person):
return "{} + {}".format(person1.name, person2.name)
Nome: Advanced Corretora de Câmbio Ltda.
Codigo: 117
Nome: Albatross Corretora de Câmbio e Valores S.A
Codigo: 172
Nome: Ativa Investimentos S.A. Corretora de Títulos Câmbio e Valores
Codigo: 188
Nome: Banco A.J. Renner S.A.
{
"idUsuario": "40",
"pessoa":
{
"nome": "Camila da Silva Augusto",
"sexo": "F",
"numeroCPF": "22837141844",
"dataNascimento": "1985-03-12"
},
"idTipoContratacao": "4",
@chr0nu5
chr0nu5 / API.md
Created March 20, 2017 12:40 — forked from iros/API.md
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method:

@chr0nu5
chr0nu5 / gmail_imap_example.py
Created January 17, 2017 14:17 — forked from robulouski/gmail_imap_example.py
Very basic example of using Python and IMAP to iterate over emails in a gmail folder/label. http://www.voidynullness.net/blog/2013/07/25/gmail-email-with-python-via-imap/
#!/usr/bin/env python
#
# Very basic example of using Python and IMAP to iterate over emails in a
# gmail folder/label. This code is released into the public domain.
#
# RKI July 2013
# http://www.voidynullness.net/blog/2013/07/25/gmail-email-with-python-via-imap/
#
import sys
import imaplib
http://182.176.139.129:6969/announce
http://5.79.83.193:2710/announce
http://91.218.230.81:6969/announce
http://atrack.pow7.com/announce
http://bt.henbt.com:2710/announce