Skip to content

Instantly share code, notes, and snippets.

View dznet's full-sized avatar
:octocat:
Grow with us!

dzNET dznet

:octocat:
Grow with us!
View GitHub Profile
@dznet
dznet / marcha_imperial
Created November 19, 2015 12:56 — forked from tagliati/marcha_imperial
Marcha imperial para arduino
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
TelegrafContext {
tg:
Telegram {
token: '300000002:AAAAAAAAAAAAAAA-AAAA-AA_AAAAAAAAAAAAAA',
options:
{ apiRoot: 'https://api.telegram.org',
webhookReply: true,
agent: [Object] },
response: undefined },
update:
@dznet
dznet / index.html
Created November 7, 2017 03:46
React DailyUI - 001 - Sign Up
<div id="app"></div>
### 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:
@dznet
dznet / index.html
Last active February 24, 2019 03:06
Simple login form
<div class="container">
<div class="login">
<h1 class="login-heading">
<strong>
Welcome.
</strong>
Please login.
</h1>
<form method="post">
<input type="text"
@dznet
dznet / password.py
Last active August 22, 2020 18:41 — forked from rostyq/password.py
python password generator
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)