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 string | |
import random | |
def generate(length=35, digits_count=5, upper_count=5, special_count=5): | |
lower_count = max(0, length - digits_count - upper_count - special_count) | |
digits = random.sample(string.digits, digits_count) | |
specials = random.sample(string.punctuation, special_count) | |
upper = random.sample(string.ascii_uppercase, upper_count) |
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
<div class="container"> | |
<div class="login"> | |
<h1 class="login-heading"> | |
<strong> | |
Welcome. | |
</strong> | |
Please login. | |
</h1> | |
<form method="post"> | |
<input type="text" |
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
### Keybase proof | |
I hereby claim: | |
* I am dznet on github. | |
* I am dznet (https://keybase.io/dznet) on keybase. | |
* I have a public key ASDphi3aUZqsRQ_umZgs7O1paogOq2GiqyVRBCXHYeqyfAo | |
To claim this, I am signing this object: |
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
<div id="app"></div> |
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
TelegrafContext { | |
tg: | |
Telegram { | |
token: '300000002:AAAAAAAAAAAAAAA-AAAA-AA_AAAAAAAAAAAAAA', | |
options: | |
{ apiRoot: 'https://api.telegram.org', | |
webhookReply: true, | |
agent: [Object] }, | |
response: undefined }, | |
update: |
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
int ledPin = 13; | |
//led for visualization (use 13 for built-in led) | |
int speakerPin = 11; | |
//speaker connected to one of the PWM ports | |
#define c 261 | |
#define d 294 | |
#define e 329 | |
#define f 349 |