This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configurations | |
WINDOWS_USERNAME="tiago" | |
# END | |
echo "Installing WSL Ubuntu 22" | |
sudo apt update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack\TestHooks] | |
"Disabled"=dword:00000001 | |
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\DataCollection] | |
"AllowTelemetry"=dword:00000000 | |
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\DataCollection] | |
"AllowTelemetry"=dword:00000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const appName = 'App Web' | |
const companyName = 'D6' | |
const version = '1.0.0' | |
const hasSw = (navigator.serviceWorker && navigator.serviceWorker.controller) | |
const mode = (window.matchMedia('(display-mode: standalone)').matches) | |
? 'standalone' | |
: 'web' | |
const sw = hasSw | |
? 'sw-on' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bot running | |
on: [push] | |
jobs: | |
run: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v2 | |
with: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node.js Package | |
on: push | |
jobs: | |
build: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load fs : 0.389ms | |
load path : 0.101ms | |
load array-uniq : 2.768ms | |
load array-union : 4.911ms | |
load fs : 0.081ms | |
load fs : 0.077ms | |
load path : 0.072ms | |
load fs : 0.030ms | |
load ./old.js : 7.852ms | |
load fs.realpath : 18.000ms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import telepot | |
from telepot.loop import OrderedWebhook | |
from flask import Flask, request | |
app = Flask(__name__) | |
token = '' | |
#Test used Localtunnel | |
#Run: lt --port 8000 -s tergvffgs | |
url = 'https://tergvffgs.localtunnel.me' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from telegram.ext import CommandHandler, Updater | |
def echo_cmd(bot, update): #/echo text | |
update.message.reply_text(update.message.text) | |
def main(): | |
token = '' | |
#Test used Localtunnel | |
#Run: lt --port 8000 -s tergvffgs | |
url = 'https://tergvffgs.localtunnel.me' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="pt-br"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title> Teste JavaScript</title> | |
<script type="Text/javascript"> | |
function calcular() { | |
var pontos = 0; | |
var doc = document.getElementsByName("quiz01"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"PT": { | |
"start": "<b>Olá!</b> \nEu sou um bot desenvolvido para <b>tirar sarro das pessoas 😅</b> \nConvide-me para seus grupos e adicione seus amigos para nos divertimos muito juntos! \n<b>Bem o meu trabalho é se alguém editar a sua messagem em um grupo, eu vou notificá-lo do que ele ou ela disse antes.</b> \nConvide-me para os grupos usando este link! \nhttp://telegram.me/DontEditBot?startgroup=new", | |
"first_edit": [ | |
"\nPor que você editou sua mensagem? Eu vi o que você disse \nVocê disse:\n", | |
"\nEu vi o que você disse antes! 😎Editar será inútil agora!\n", | |
"\nEu vi o que você disse!😎\nSinta-se livre para editar novamente. Eu sempre sei!\nVocê disse:\n", | |
"\nNovamente você editou sua mensagem! Mas eu vi o que você disse! Você disse:\n", | |
"\n👮🏻(Dont edit bot) é como um policial e se preocupa com o que você diz! Você disse:\n", | |
"\nPor que você editou sua mensagem? Eu vi o que você disse\nVocê disse:\n" | |
], |
NewerOlder