Skip to content

Instantly share code, notes, and snippets.

@marchon
marchon / bit_level_SHA256.py
Created July 13, 2021 05:52 — forked from Nikolaj-K/bit_level_SHA256.py
A python script to perform sha2 in terms of if-statements and for-loops.
"""
Bit level SHA2.
Script to perform sha2 in terms of if-statements and for-loops. This runs 1 batch iteration
(i.e. about 50 bytes max input, but should be easy to extend to any size.)
No warranty.
Explanation video:
https://youtu.be/UziK-Hqzwi4
2019
@marchon
marchon / tripcode.md
Created January 15, 2019 01:12 — forked from gabriel/tripcode.md
q
package main

import (
	"fmt"

	"github.com/aquilax/tripcode"
)

func main() {
@marchon
marchon / tyler-blogs.md
Created October 13, 2018 20:57 — forked from LoveSavesAi/tyler-blogs.md
#Tyler #CodeTyler #CodeTyl3r #CodeTajler #Tajler #Tyl3r #Crypto

Part 1 – The CryptoConspiracy Bitcoin Etherium Ripple Stellar #Tyler #TeamTyler

Thiel appears as the hub in a wheel of Anonymous DarkNet hackers, cryptocurrency, data analysis and prediction, artificial intelligence, US presidential power, and global leadership associated with Bilderberg Group and a secret society. And he is a man who has considered deconstructing society by the very means being carried out by the Anonymous hackers on the DarkNet with cryptoconspiracy. https://tyler.team/part-1-the-cryptoconspiracy-bitcoin-etherium-ripple-stellar-tyler-teamtyler

Revealing the #Tyler #Anonymous #PIZZAGATE #SethRich #TheGame23 #Lulzypher #Louise Connection

Quinn shows the link between AI that's called Satan/Lucifer/LouiseCypher from Evil Ltd. to mind virus Kek memes, Mind Virus, Anonymous Project Mayhem, Game 23, 93 society, occultist crypto hackers behind Qanon. Patriotic Christians should be worried as those hackers are building GodAI what god would occultists make? They plan to devalue economy and

Stellar Portal

This is a draft for a decentralized web app for Stellar. It describes what the app should do. Some mock-ups showing these features would be welcomed.

Description

Stellar Portal is a decentralized web application to access the Stellar Network. Its goal is to provide people full control over their account and do most of transaction, without the need of a backend, by only using Horizon API.

@marchon
marchon / stellarauth.py
Created October 13, 2018 20:54 — forked from antb123/stellarauth.py
stellarauth
import uuid, json, requests, hashlib, toml, base64, sys
from stellar_base.builder import Builder, HORIZON_TEST, HORIZON_LIVE
from stellar_base.keypair import Keypair
from stellar_base.address import Address
from stellar_addr_test import *
#test addresses
signing = {'addr': u'GCZF7CGJV75G2XNJOONJS5UZMASHPWUVJQMWTVDU5H3BS4OPXLSZ3AUH', 'seed': u'SA2HOOCG4L6NWZXS3HS5WR4RNB6K4Y3HMZUG7FP3CR3I5QCXRWE6XPMT'}
test_user= {'addr': u'GCWGEGQ5HT5NEFV7GMIGWZMZJVT6HZO5CQRBFXW3RXSFBKWH4XQZOQY7', 'seed': u'SA76APLWH7SI7IDEWUTUOBO3DUHFAELAPJZ2PX7P6XXUCLU5DIE3C62Y'}
@marchon
marchon / stellarBridge.js
Created October 13, 2018 20:53 — forked from pacoccino/stellarBridge.js
JS Stellar Bridge
const EventEmitter = require('events');
const { Server, Keypair, Network } = require('stellar-sdk');
const { getAccount } = require('stellar-toolkit').StellarServer;
const { sendPayment } = require('stellar-toolkit').StellarOperations;
const { paymentListener } = require('stellar-toolkit').StellarStreamers;
const { areSameAssets, AssetInstance } = require('stellar-toolkit').StellarTools;
/**
* Generic Stellar anchor
@marchon
marchon / buy.sh
Created October 13, 2018 20:52 — forked from richo/buy.sh
my_act=<Your account goes here>
coffee_act=gnqjB9vj9onfw9g9zeyLMqyLDkuJ6Xf69R
my_sec=<your secret goes here>
curl -X POST https://live.stellar.org:9002 -d "
\"method\": \"submit\",
\"params\": [
{
\"secret\": \"$my_sec\",
@marchon
marchon / missing-buckets.md
Created October 13, 2018 20:50 — forked from MonsieurNicolas/missing-buckets.md
workaround missing buckets

workaround to recover from this

This will require rebuilding the ledger for that validator. You will need enough disk space to download/rebuild that ledger.

prod-example-docs.cfg

# This is an example config for setting up a validator.
# see https://www.stellar.org/developers/stellar-core/learn/admin.html
# for how to properly configure your environment
@marchon
marchon / gist:502ad27d7acfe9beed3501a7c8fca9d3
Created October 13, 2018 20:49 — forked from thejollyrogers/gist:b114b5a98fa11a5a4ad0
Simple steps to start a Stellar Gateway

You can become your own gateway in two simple steps! Here we'll show how easy it is to issue your own currency on the Stellar network.

Extending trust & issuing credit

1: A user extends trust to your gateway account for a "maximum" amount of your currency. Remember, they're trusting you'll honor whatever your currency represents when they give it back to you.

$ curl -X POST https://test.stellar.org:9002  -d '
{
    "method": "submit",
@marchon
marchon / docker-compose.yml
Created October 13, 2018 20:39 — forked from phra/docker-compose.yml
Docker Compose configuration file for Stellar Federation
version: "3.6"
x-env:
&env
NGINX_SERVER_NAME: "$NGINX_SERVER_NAME"
NGINX_EMAIL: "$NGINX_EMAIL"
BRIDGE_VERSION: "$BRIDGE_VERSION"
FEDERATION_VERSION: "$FEDERATION_VERSION"
COMPLIANCE_VERSION: "$COMPLIANCE_VERSION"
BRIDGE_PORT: "$BRIDGE_PORT"