Skip to content

Instantly share code, notes, and snippets.

View mehmetbybz's full-sized avatar
💭
I may be slow to respond.

MEHMET mehmetbybz

💭
I may be slow to respond.
View GitHub Profile
@sayon-bitquery
sayon-bitquery / terminal
Created July 21, 2021 18:52
Tradingview-3.15
npm run serve
@sayon-bitquery
sayon-bitquery / App.vue
Created July 21, 2021 18:49
Tradingview-3.14
<template>
<div id="app">
<router-view />
</div>
</template>
<script>
export default {
name: 'App'
};
@sipa
sipa / buildmap.py
Created August 24, 2019 09:04
asmap build script
import sys
import re
import ipaddress
# This program loads AS mapping entries from stdin in the form "[IP]/[bits] AS[num]", where IP is an IPv4
# or IPv6 address, bits is an integer between 0 and 32 (for IPv4) or 128 (for IPv6), and num is an integer
# between 1 and 16777215.
def Parse(entries):
for line in sys.stdin:
@jminas
jminas / onsets_sart
Created August 25, 2015 19:12
onsets_sart
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Generating Onsets SART"
]
},
{
@gavinandresen
gavinandresen / BitcoinVersioning.md
Created April 10, 2012 23:09
Suggestions on more smoothly rolling out blockchain validation rule changes

Blockchain Rule Update Process

We recently rolled out two changes to the Bitcoin block acceptance rules (BIP16 and BIP30); this document records the lessons learned and makes recommendations for handling future blockchain rule changes.

Note: there are "soft" rule changes and "hard" rule changes. "Soft" changes tighten up the rules-- old software will accept all the blocks and transactions created by new software, but the opposite may not be true. "Soft" changes do not require the entire network of miners and merchants and users to upgrade or be left behind.

"Hard" changes modify the rules in a way that old, un-upgraded software consider illegal. At this point it is much, much more difficult (some might say impossible) to roll out "hard" changes, because they require every miner and merchant and user to upgrade.

Lessons Learned