Skip to content

Instantly share code, notes, and snippets.

Avatar

Mario Dian mariodian

View GitHub Profile
@0xd61
0xd61 / ruc_calc.js
Created November 11, 2019 19:42 — forked from mewelling/ruc_calc.js
Paraguay Cédula + RUC calculation
View ruc_calc.js
/*
To calculate the RUC number for your cedula:
Starting with the rightmost digit, multiply it by 2.
Then, multiply the next digit by 3 and add it to the first result.
Then, multiply the next digit by 4 and add it to the running total.
... keep doing this.
Finally, take the remainder of the the total divided by 11 (called the modulo),
and subtract it from 11.
original inspiration: http://www.necesitomas.com/digito-verificador
@jakejarvis
jakejarvis / tor.sh
Created October 1, 2019 00:16
system-wide Tor proxy on macOS
View tor.sh
#!/usr/bin/env bash
#
# ######################################################################
# Start Tor and switch the system-wide proxy settings in macOS
# ----------------------------------------------------------------------
# Usage:
# `./tor.sh` in Terminal, kill with ctrl + c
# ----------------------------------------------------------------------
# Source:
# https://kremalicious.com/simple-tor-setup-on-mac-os-x/
@tyler-smith
tyler-smith / README.md
Last active July 21, 2017 08:23
OB Contract Fund Transfer
View README.md

OB Contract Fund Transfer

payout.py is a tool that allows an OpenBazaar buyer and one of (vendor|moderator) to move funds from an OpenBazaar contract.

Both parties agree to payout the funds in an OB contract to a given address. They need two pieces of data. Order id, and BTC address to send funds to.

In this example we'll use:

Order ID: 02b11c97fe709c8c732a5e37faea598ae27016cf

@tyler-smith
tyler-smith / agreement.md
Last active July 21, 2020 23:50
Moderation Agreement
View agreement.md

OpenBazaar Moderation Agreement

Author Version Last Updated
Tyler Smith 0.1.0 2016-04-18

Based on the moderation policy of @serp.

Goal

@chris-belcher
chris-belcher / pro-decentralization-link-list.md
Last active June 11, 2022 09:29
pro-decentralization-link-list
View pro-decentralization-link-list.md
@drwasho
drwasho / OpenBazaar REST API - GET calls.md
Last active July 27, 2019 14:22
Documentation for the OpenBazaar REST API
View OpenBazaar REST API - GET calls.md

OpenBazaar REST API Documentation

OpenBazaar has two distinct components: a server and a client. 

The ‘server’ is the network daemon that connects with the OpenBazaar P2P network and contains the node’s database. It is the ‘business end’ of the OpenBazaar application, as it connects directly with other nodes on the network, caches data, digital signs contracts, and holds private keys etc. The server can either run locally (i.e. on your computer) or remotely on a virtual private server (e.g. Digital Ocean, Docker, Heroku).

The ‘client’ is what the user interacts with operate the functions of the server. The client uses a combination of REST and Websocket (WS) APIs to control the network and market function of the server. This enables developers to create alternative or feature-specific clients for OpenBazaar.

If the OpenBazaar server is running locally, the base URL will be:

@joepie91
joepie91 / vpn.md
Last active June 5, 2023 12:03
Don't use VPN services.
View vpn.md

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
@eyeskiller
eyeskiller / sproste_slova.csv
Last active October 17, 2016 22:19
sproste_slova.csv
View sproste_slova.csv
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
buzerant
buzeranta
cicina
ciciny
cicinbrus
cicinbrusa
cicinbrusi
cicvor
cicvora
cicvori
@eyeskiller
eyeskiller / Pentesting blog sources
Last active May 29, 2022 19:42
Some of the blogs on Pentesting by some of the best researchers
View Pentesting blog sources
http://pentestmonkey.net/blog
http://jeremiahgrossman.blogspot.com
http://www.darknet.org.uk
http://spylogic.net
http://taosecurity.blogspot.com
http://www.room362.com
http://blog.sipvicious.org
http://blog.portswigger.net
http://blog.c22.cc
http://carnal0wnage.blogspot.com