Skip to content

Instantly share code, notes, and snippets.

View Alex0007's full-sized avatar

Alex0007

View GitHub Profile
openapi: 3.0.0
info:
title: 'Webdock API'
description: 'Webdock awesome API!'
version: 1.0.0
servers:
-
url: 'https://api.webdock.localhost'
description: 'Webdock API parameters'
paths:
@Alex0007
Alex0007 / index.js
Created May 1, 2021 17:44
Reset stellar wallet home_domain and inflation_dest
const StellarSdk = require('stellar-sdk');
const secret = 'YOUR_SECRET'
const main = async () => {
const server = new StellarSdk.Server('https://horizon.stellar.org');
const keypair = StellarSdk.Keypair.fromSecret(secret);
const account = await server.loadAccount(keypair.publicKey())
@Alex0007
Alex0007 / torrc
Last active October 27, 2023 12:09
tor configuration for surfing speed
DNSPort 9053
ExcludeSingleHopRelays 0
AllowSingleHopCircuits 1
KeepalivePeriod 60
#NewCircuitPeriod 15
UseEntryGuards 1
NumEntryGuards 8
CircuitBuildTimeout 5
EnforceDistinctSubnets 0
OptimisticData 1