/*========================================================== | |
Open Sans | |
==========================================================*/ | |
@font-face { | |
font-family: 'OpenSans'; | |
src: url('../fonts/OpenSans-Light-webfont.eot'); | |
src: url('../fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'), | |
url('../fonts/OpenSans-Light-webfont.woff') format('woff'), | |
url('../fonts/OpenSans-Light-webfont.ttf') format('truetype'), |
#include <stdio.h> | |
typedef struct head { | |
int * first; | |
int * last; | |
int count; | |
} head_t; | |
typedef struct node { | |
struct node *prev; |
#Download Elementary OS from here: | |
#http://sourceforge.net/projects/elementaryos/files/stable/ | |
#First you update your system | |
sudo apt-get update && sudo apt-get dist-upgrade | |
#Install Google Chrome | |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' |
#!/bin/bash | |
# Adicione um novo remote; pode chamá-lo de "upstream": | |
git remote add upstream https://github.com/usuario/projeto.git | |
# Obtenha todos os branches deste novo remote, | |
# como o upstream/master por exemplo: | |
git fetch upstream |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
#! py | |
def solve(matrix, mul): | |
width = len(matrix) | |
if width == 1: | |
return mul * matrix[0][0] | |
else: | |
sign = -1 | |
total = 0 | |
for i in range(width): | |
m = [] |
public class ArvoreBinaria { | |
private No raiz; | |
private ArvoreBinaria arvoreEsquerda; | |
private ArvoreBinaria arvoreDireita; | |
public ArvoreBinaria() { } | |
public ArvoreBinaria getArvoreDireita() { | |
return arvoreDireita; | |
} |
package example.sort; | |
public final class Quicksort { | |
/** | |
* Sort the given array, calling the recursive sort method.. | |
* | |
* @param array | |
* the array we are sorting | |
*/ |
zkCoins is a novel blockchain design with strong privacy and scalability properties. It combines client-side validation with a zero-knowledge proof system. The chain is reduced to a minimum base layer to prevent double spending. Most of the verification complexity is moved off-chain and communicated directly between the individual sender and recipient of a transaction. There are very few global consensus rules, which makes block validation simple. Not even a global UTXO set is required.
In contrast to zk-rollups there is no data availability problem, and no sequencer is required to coordinate a global proof aggregation. The protocol can be implemented as an additional layer contained in Bitcoin's blockchain (similar to RGB[^5] or Taro[^6]) or as a standalone sidechain.
The throughput scales to hundreds of transactions per second without sacrificing decentralization.
The core design principle is to *"use the chain for what the chain is good for, which is an immutable order