This file contains hidden or 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
| -- [[13,41,3,94,59], [59,79,70], [ 15,41,81], [11]] | |
| -- [[94,59,41,13,3],[79,70,59],[81,41,15],[11]] | |
| sampleData : List (List Float) | |
| sampleData = | |
| -- [[13,41,3,94,59], [59,79,70,0,0], [15,41,81,0,0], [11,0,0,0,0]] | |
| padAll [[13,41,3,94,59], [59,79,70], [ 15,41,81], [11]] | |
| zeroPad : Int -> List Float -> List Float | |
| zeroPad target ns = | |
| let |
- create database trigger function
- generate public private key Ed25519255 into database
- test database trigger function
- generate public key and private key mock data in event table
optional for this scope
- passphrase encryption in database
https://app.scrumdesk.com/#/projects/33918/work-scrum/803620-task
This file contains hidden or 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 pdb; pdb.set_trace() |
This file contains hidden or 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 jwt | |
| from cryptography.hazmat.primitives import serialization | |
| from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PrivateKey | |
| from cryptography.hazmat.primitives.serialization import Encoding, PrivateFormat, NoEncryption, PublicFormat | |
| from nacl.public import PrivateKey | |
| from cryptography.hazmat.backends import default_backend | |
| key = PrivateKey.generate() | |
| cryptography_key = Ed25519PrivateKey.from_private_bytes(bytes(key)) | |
| private_key_byte = cryptography_key.private_bytes( |
This file contains hidden or 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
| coincurve 13.0.0 pypi_0 pypi | |
| Python 3.7.4 (default, Aug 13 2019, 15:17:50) | |
| [Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin | |
| Type "help", "copyright", "credits" or "license" for more information. | |
| >>> from cryptography.hazmat.backends import default_backend | |
| >>> from cryptography.hazmat.primitives.asymmetric import rsa | |
| >>> private_key = rsa.generate_private_key( | |
| ... public_exponent=65537, | |
| ... key_size=2048, |
This file contains hidden or 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 numpy as np | |
| from scipy.optimize import curve_fit | |
| import matplotlib.pyplot as plt | |
| # %matplotlib inline | |
| x = [46,67,81,110,121,144,155,250,194,279,216,315,745,527] | |
| j = 0 | |
| buckets = [0] * len(x) | |
| m = 0 |
Monad https://youtu.be/ZhuHCtR3xq8
Haskell https://youtu.be/Vgu82wiiZ90
Design principle https://youtu.be/srQt1NAHYC0
Intresting talk
Angular type
Must be one of the following:
build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
docs: Documentation only changes
feat: A new feature
fix: A bug fix
perf: A code change that improves performance
This file contains hidden or 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
| #!/bin/bash | |
| # try haskell easily with nix shell | |
| # credit @freenode_srk:matrix.org | |
| nix-shell -p "pkgs.haskell.packages.ghc883.ghcWithPackages (p: [ ])" |