This file contains hidden or 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
| // Bot token | |
| const bot_token = '0123456789:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; | |
| // https://core.telegram.org/bots/webapps#validating-data-received-via-the-web-app | |
| function isValidHash() { | |
| // Parse query data | |
| const parsedData = Telegram.Utils.urlParseQueryString(Telegram.WebApp.initData) | |
| // Get Telegram hash | |
| const hash = parsedData.hash |
This file contains hidden or 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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| namespace MeetingSchedulerApp | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| // Ejemplo de uso de la clase MeetingScheduler |
This file contains hidden or 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
| # coding: utf-8 | |
| """Juego de la vida de Conway. | |
| Autor: Juan Luis Cano <juanlu001@gmail.com> | |
| El tablero es un array de NumPy, donde 0 significa célula muerta y 1 célula | |
| viva. Se muestra una animación con matplotlib. | |
| """ |
This file contains hidden or 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
| function Unidades(num){ | |
| switch(num) | |
| { | |
| case 1: return "UNO"; | |
| case 2: return "DOS"; | |
| case 3: return "TRES"; | |
| case 4: return "CUATRO"; | |
| case 5: return "CINCO"; | |
| case 6: return "SEIS"; |
This file contains hidden or 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
| /*************************************************************/ | |
| // NumeroALetras | |
| // The MIT License (MIT) | |
| // | |
| // Copyright (c) 2015 Luis Alfredo Chee | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights |
This file contains hidden or 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
| {"lastUpload":"2019-11-26T13:24:31.605Z","extensionVersion":"v3.4.3"} |