-
Find the Discord channel in which you would like to send commits and other updates
-
In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
Discover gists
For everyone that has come to know the TON blockchain, most will probably know that TON is mineable. However, the TON blockchain was never a PoW consensus algorithm. The TON blockchain is actually a consensus algorithm based on PoS and implements sharding expansion. Therefore, the TON blockchain has the characteristics of tightly-coupled sharding that PoW does not have.
The TON blockchain is essentially a PoS blockchain, and the most important PoS infrastructure is the validator. Currently, there are more than 100 validators in the world, and most are private validators. To assist in the health of the TON blockchain, TON holders can pledge their TON to validators and get TON PoS staking rewards as additional income.
Currently, the TON PoS APY reward is about 13%. TonStake.com, as an example, allows users to stake their TON to validators through Centralized validator service where they can earn an additional 13% TON after one year a
import { | |
vec, | |
Vector, | |
} from 'excalibur'; | |
/** | |
* sweeps a polygon p along another polygon q by using minkowski to sum the two polygons. | |
* @param p the first polygon | |
* @param q the second polygon | |
*/ |
#!/usr/bin/env bash | |
# Must set variables: | |
# REPO_DIR | |
# AUTHOR_PATTERN | |
# REPO_PATTERN | |
source ./config.sh | |
cd "$REPO_DIR" || exit |
# to remove the file on git without deleting from local | |
# use -> git rm --cached | |
find . -name .ipynb_checkpoints -print0 | xargs -0 git rm -r --ignore-unmatch | |
echo .ipynb_checkpoints >> .gitignore |
#!/bin/bash | |
version=1.0.1 | |
versionDate="2014-02-14" | |
function showHelp() { | |
echo "watchfile - monitor file(s)/command and perform action when changed | |
Possible ways of usage | |
---------------------------------------- |
# This hosts file is brought to you by Dan Pollock and can be found at | |
# http://someonewhocares.org/hosts/ | |
# You are free to copy and distribute this file for non-commercial uses, | |
# as long the original URL and attribution is included. | |
#<localhost> | |
127.0.0.1 localhost | |
127.0.0.1 localhost.localdomain | |
255.255.255.255 broadcasthost | |
::1 localhost |
name: Security audit | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
push: | |
paths: | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
jobs: | |
security_audit: |
1/03/2023
""" | |
Websockets client for micropython | |
Based very heavily on | |
https://github.com/aaugustin/websockets/blob/master/websockets/client.py | |
""" | |
import ubinascii as binascii | |
import urandom as random | |
import ure as re |