I hereby claim:
- I am seguri on github.
- I am seguri (https://keybase.io/seguri) on keybase.
- I have a public key ASDHGBAkrnBQdNrjCDwzZlolH6jDzeZb6KLuhD99khm3jAo
To claim this, I am signing this object:
| /** | |
| * After Save & Deploy, invoke `/register` | |
| * Open Telegram, go to your bot, write something: you should receive it back. | |
| */ | |
| export default { | |
| async fetch(request, env, context) { | |
| const { headers } = request | |
| const { hostname, pathname } = new URL(request.url) | |
| const telegram = 'https://api.telegram.org/bot' + env.TOKEN |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python3 | |
| """ | |
| Hamming(7,4) is a linear error-correcting code that encodes four bits of data | |
| into seven bits by adding three parity bits. | |
| The minimal Hamming distance between any two correct codewords is 3, and | |
| received words can be correctly decoded if they are at a distance of at most one | |
| from the codeword that was transmitted by the sender. |
| package com.example.vat_validator; | |
| import eu.europa.ec.taxud.vies.services.checkvat.CheckVatPortType; | |
| import eu.europa.ec.taxud.vies.services.checkvat.CheckVatService; | |
| import javax.xml.datatype.XMLGregorianCalendar; | |
| import javax.xml.ws.Holder; | |
| public class Main { |
| #!/usr/bin/env python | |
| # | |
| # Add a youtube video to a youtube playlist. | |
| # Usage: | |
| # ./this.py --playlist-id <playlist_id> --video-id <video_id> | |
| # | |
| import httplib2 | |
| import os | |
| import sys |
| from os.path import join | |
| from random import SystemRandom | |
| valid_chars = list('abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)') | |
| print(''.join(SystemRandom().sample(valid_chars, 50))) |