Skip to content

Instantly share code, notes, and snippets.

View JoseVale99's full-sized avatar
🏠
Working from home

José Valentín Zarate Carreño JoseVale99

🏠
Working from home
View GitHub Profile
import re
def main():
text = "en el examen nadie copia"
pattern = re.compile(r"((a|b)(a|b)*)*")
veces = 0
for match in pattern.finditer(text):
if match.string[match.start():match.end()]:
# import libreries
from datetime import datetime
from calendar import calendar
from tkinter import (Label,Tk,Button)
root = Tk()
year = int(datetime.now().date().strftime('%Y'))
root.title(f"Calendar - {year}")
@JoseVale99
JoseVale99 / PostController.php
Last active March 10, 2023 18:04
composer require irazasyed/telegram-bot-sdk ^3.0 para instalar la librería de Telegram .
<?php
namespace App\Http\Controllers;
use Telegram\Bot\Api;
use Illuminate\Http\Request;
use App\Post;
class PostController extends Controller
{
public function index(){