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 requests | |
from bs4 import BeautifulSoup | |
url = 'http://www.tntvillage.scambioetico.org/src/releaselist.php' | |
categorie = [{"id":"0","nome":"Tutte le categorie"}, | |
{"id":"4","nome":"Film"}, | |
{"id":"2","nome":"Musica"}, | |
{"id":"29","nome":"Serie TV"}, | |
{"id":"14","nome":"Documentari"}, | |
{"id":"13","nome":"Students Releases"}, |
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
/* https://pitasi.space/creare-un-piccolo-bot-di-telegram-usando-go/ */ | |
package main | |
import ( | |
"log" | |
"regexp" | |
"gopkg.in/telegram-bot-api.v4" | |
) |
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
open System.Windows.Forms | |
open System.Drawing | |
let f = new Form(TopMost=true, Text="Clock", Size=Size(400, 400)) | |
f.Show() | |
let pi = System.Math.PI | |
type AnalogClock() = | |
inherit UserControl() |
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
open System.Windows.Forms | |
open System.Drawing | |
type Bottone() = | |
inherit UserControl() | |
let mutable FColor = Color.Red | |
let mutable SColor = Color.FromArgb(175, 0, 0, 0) | |
let mutable STickness = 3 | |
let mutable LText = "" |
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
open System.Windows.Forms | |
open System.Drawing | |
let f = new Form(TopMost=true, Text="Ciao") | |
f.Show() | |
type Style = Filled | Border | |
type RettangoloArrotondato() = | |
inherit UserControl() |
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
<^>!'::Send, `` | |
<^>!ì::Send, ~ | |
#if getkeystate("capslock","t") | |
à::SendRaw, À |
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
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
cinst googlechrome | |
cinst vlc | |
cinst 7zip | |
cinst ccleaner | |
cinst steam | |
cinst spotify |
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
module.exports = { | |
// text | |
"i did not hit her": { type: 'text', value: 'https://www.youtube.com/watch?v=zLhoDB-ORLQ'} | |
// gif | |
"nodejs": { type: 'gif', id: 'CgADBAADLQIAAlnKaVMm_HsznW30oQI' }, | |
// sticker | |
"woah": { type: 'sticker', id: 'CAADAgAD5gADJQNSD34EF_pwQMgbAg' }, | |
} |
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
// Include Telegraf module | |
const Telegraf = require('telegraf'); | |
// Create a bot using TOKEN provided as environment variable | |
const bot = new Telegraf(process.env.TOKEN); | |
// Import replies file | |
const replies = require('./replies') | |
// Extract reply_to_message.message_id field from Telegraf ctx |
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
{ | |
"git.autofetch": true, | |
"editor.fontFamily": "Operator Mono Medium", | |
"terminal.integrated.fontFamily": "Hack", | |
"editor.fontSize": 16, | |
"editor.fontLigatures": true, | |
"editor.renderWhitespace": "all", | |
"editor.tabSize": 2, | |
"editor.formatOnPaste": true, |
OlderNewer