Live Table: https://diafygi.github.io/webcrypto-examples/
I couldn't find anywhere that had clear examples of WebCryptoAPI, so I wrote examples and made a live table with them. Pull requests welcome!
- generateKey | importKey |
import asyncio | |
class EchoServerClientProtocol(asyncio.Protocol): | |
def connection_made(self, transport): | |
self.transport = transport | |
self.peername = transport.get_extra_info('peername') | |
print('Connection from {}'.format(self.peername)) | |
def data_received(self, data): |
# Set AWS credentials and S3 paramters | |
AWS_KEY="" | |
AWS_SECRET="" | |
S3_BUCKET="" | |
S3_BUCKET_PATH="/" | |
S3_ACL="x-amz-acl:private" | |
function s3Upload | |
{ | |
path=$1 |
Live Table: https://diafygi.github.io/webcrypto-examples/
I couldn't find anywhere that had clear examples of WebCryptoAPI, so I wrote examples and made a live table with them. Pull requests welcome!
import socket | |
import os | |
import threading | |
import hashlib | |
from Crypto import Random | |
import Crypto.Cipher.AES as AES | |
from Crypto.PublicKey import RSA | |
import signal | |
from lazyme.string import color_print |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>HKAtrialFibrillationDetectionOnboardingCompleted</key> | |
<integer>1</integer> | |
<key>HKElectrocardiogramOnboardingCompleted</key> | |
<integer>3</integer> | |
</dict> | |
</plist> |
brew install mingw-w64
rustup target add x86_64-pc-windows-gnu
.cargo/config
.cargo/config
[target.x86_64-pc-windows-gnu]
import React from 'react'; | |
function Parent(){ | |
const data = 'Data from parent'; | |
return( | |
<div> | |
<Child dataParentToChild = {data}/> | |
</div> | |
) | |
} |
import React from 'react'; | |
class Parent extends React.Component{ | |
constructor(props){ | |
super(props); | |
this.state = { | |
data: null | |
} | |
} |
#!/usr/sbin/nft -f | |
# | |
# This config was adapted from various sources. | |
# | |
# Use at your own risk. Learn what each rule does | |
# prior to implementing in your environment. | |
# | |
flush ruleset |
import { IconDefinition } from '@fortawesome/fontawesome-svg-core'; | |
import SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon'; | |
import makeStyles from '@material-ui/styles/makeStyles'; | |
import React, { forwardRef } from 'react'; | |
type Props = Omit<SvgIconProps, 'viewBox'> & { | |
icon: IconDefinition; | |
}; | |
const useStyles = makeStyles({ |