Skip to content

Instantly share code, notes, and snippets.

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 = ""
@Pitasi
Pitasi / AnalogClock.fsx
Created October 6, 2016 14:40
Orologio analogico
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()
@Pitasi
Pitasi / skeleton.go
Created July 31, 2016 13:06
Skeleton for Telegram bots written in Go
/* https://pitasi.space/creare-un-piccolo-bot-di-telegram-usando-go/ */
package main
import (
"log"
"regexp"
"gopkg.in/telegram-bot-api.v4"
)
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"},