Skip to content

Instantly share code, notes, and snippets.

View rafaelribeiroo's full-sized avatar
🎯
Focusing

Rafael Ribeiro rafaelribeiroo

🎯
Focusing
  • Franca/Sao Paulo
View GitHub Profile
#cloud-config
autoinstall:
version: 1
# interactive-sections:
# - network
locale: "en_US.UTF-8"
identity:
hostname: 'Ubuntu-22'
username: 'pereira-ribeiro'
password: '$6$2LEKTy5/n1F6i0sF$rPbKnHp9I5VH5YEB6tt2Dxij.Rq92j/SntQo1faL4jPhcsAaxnurgOqpNjuNWJptRW5PCh/Z1fX3ymqDuV5ML1'
#cloud-config
autoinstall:
version: 1
# interactive-sections:
# - network
locale: "en_US.UTF-8"
identity:
hostname: 'Ubuntu-22'
username: 'pereira-ribeiro'
password: '$6$2LEKTy5/n1F6i0sF$rPbKnHp9I5VH5YEB6tt2Dxij.Rq92j/SntQo1faL4jPhcsAaxnurgOqpNjuNWJptRW5PCh/Z1fX3ymqDuV5ML1'
#cloud-config
autoinstall:
version: 1
# interactive-sections:
# - network
locale: "en_US.UTF-8"
identity:
hostname: 'Ubuntu-22'
username: 'pereira-ribeiro'
password: '$6$123456$..Jk9PGD0Iuy2g4GMWJzmPUhrJmBil5mDaT.wE09i5Zdm7HQbFafrzhODtnYlfc62ujypO/ITF8DY.D.N6mdN1'
#cloud-config
autoinstall:
version: 1
# interactive-sections:
# - network
locale: "en_US.UTF-8"
identity:
hostname: "Ubuntu-22"
username: "pereiraribeiro"
password: "123456"
<!DOCTYPE html>
<html id="facebook" class="_9dls __fb-light-mode" lang="en" dir="ltr">
<head>
<link data-default-icon="https://static.xx.fbcdn.net/rsrc.php/yT/r/aGT3gskzWBf.ico" data-badged-icon="https://static.xx.fbcdn.net/rsrc.php/yD/r/UJj0tgk-RrT.ico" rel="shortcut icon" href="https://static.xx.fbcdn.net/rsrc.php/yT/r/aGT3gskzWBf.ico" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=2,shrink-to-fit=no" />
<link rel="manifest" id="MANIFEST_LINK" href="/data/manifest/" crossorigin="use-credentials" />
<meta name="color-scheme" content="light" />
<meta name="theme-color" content="#FFFFFF" />
<style nonce="8b7rMLRE">
:root {
@rafaelribeiroo
rafaelribeiroo / main.py
Created December 19, 2023 03:39
bot-telegram
from asyncio import get_event_loop
from telegram import Bot
from configparser import ConfigParser
config = ConfigParser()
config.read('config.ini')
day = config['FACEBOOK']['interval']
bot = Bot(config['TELEGRAM']['token'])
from flask import Response, request
from decouple import config
from random import randint
from requests import post
from flask import Flask
quotes = (
'Ilyena, my love, forgive me!',
'A man who trusts everyone is a fool, and a man who trusts no one is a fool. We are all fools, if we live long enough.',
'What you want is what you cannot have. What you cannot have is what you want.',
biggest_index, objectt = max(enumerate(
handle.torrent_file().files()
), key=lambda x :x[1].size)
WARNING
/workspace/get_mail.py:139: DeprecationWarning: __iter__ is deprecated
biggest_index, objectt = max(enumerate(
/workspace/get_mail.py:141: DeprecationWarning: file_entry is deprecated
), key=lambda x :x[1].size)
#!/usr/bin/env bash
declare -A f=(
[user_dirs]=~/.config/user-dirs.dirs
[null]=/dev/null
)
source "${f[user_dirs]}"
declare -a d=(
#!/usr/bin/env zsh
declare -A f=(
[user_dirs]=~/.config/user-dirs.dirs
[null]=/dev/null
)
source "${f[user_dirs]}"
declare -a d=(