Skip to content

Instantly share code, notes, and snippets.

Avatar

Dr Washington Sanchez drwasho

View GitHub Profile
View testnet_moderators.json
{
"data": {
"name": "OB1",
"description": "",
"link": "https://ob1.io/verified-moderators.html"
},
"types": [
{
"name": "standard",
"description": "A moderator that has been vetted by OB1",
View testnet_search.json
{
"name": "OB1",
"logo": "https://search.ob1.io/images/logo.png",
"links": {
"self": "https://search.ob1.io/listings/search?q=*\u0026sortBy=relevance\u0026network=mainnet\u0026nsfw=false\u0026mobile\u0026type=physical_good\u0026type=service",
"listings": "https://search.ob1.io/listings/search",
"vendors": "https://search.ob1.io/profiles/search?type=vendor",
"reports": "https://search.ob1.io/reports"
},
"options": {},
@drwasho
drwasho / killIndicator.ps1
Created Nov 7, 2019
War of Rights audio kill indicator
View killIndicator.ps1
GET-Content .\game.log -Tail 1 -Wait | ForEach-Object { # Add this script to C:\Program Files (x86)\Steam\steamapps\common\War of Rights
If($_ -like '*steamUsername killed*') { # Replace 'steamUsername' with your Steam username
Write-Host "Enemy killed" -ForegroundColor Green
$player = New-Object -TypeName System.Media.SoundPlayer
$player.SoundLocation = "$PSScriptRoot\burp_x.wav" # Use your own wave file to play a sound when you kill someone and update the filename here; put it in the same directory as the script
$player.Play()
}
}
@drwasho
drwasho / listing.json
Created Sep 30, 2019
Create listing body JSON
View listing.json
{
"slug": "",
"metadata": {
"contractType": "PHYSICAL_GOOD",
"format": "FIXED_PRICE",
"expiry": "2037-12-31T05:00:00.000Z",
"acceptedCurrencies": [
"TBTC",
"TBCH",
"TLTC",
View OpenBazaarAPI.yaml
swagger: '2.0'
info:
version: '1.0'
title: OpenBazaar API
description: >-
The OpenBazaar networking daemon combines a forked version of IPFS, a
Bitcoin wallet, and a peer-to-peer contracting system. This JSON API is the
primary mechanism for controlling the node. It offers a RESTful api for
building user interfaces as well as a number of RPC calls. In this
documentation you'll find a full list of API calls and example usages.
View obnsABI.json
[
{
"constant": false,
"inputs": [
{
"name": "handle",
"type": "string"
},
{
"name": "newName",
View profile_examples.json
{
"peerID": "QmYEChohLWGxbdgezhwSbaeCsTAG5iimzSkZyhLLUHv2TC",
"handle": "drwasho",
"name": "Washington Sanchez",
"location": "Brisbane",
"about": "The Dude",
"shortDescription": "Yo",
"nsfw": true,
"vendor": true,
"moderator": false,
View country_list.json
[
{
"name": "🌏 Worldwide",
"code": "ALL"
},
{
"name": "🇺🇸 United States",
"code": "UNITED_STATES"
},
{
View settings_example.json
{
"blockedNodes": [],
"country": "UNITED_STATES",
"localCurrency": "USD",
"mispaymentBuffer": 1,
"paymentDataInQR": true,
"refundPolicy": "All sales are final.",
"shippingAddresses": [
{
"addressLineOne": "31 Spooner Street",
View listing_example.json
{
"metadata": {
"contractType": "PHYSICAL_GOOD",
"format": "FIXED_PRICE",
"expiry": "2037-12-31T05:00:00.000Z",
"pricingCurrency": "USD"
},
"item": {
"title": "Vintage dress (physical; w/ options)",
"description": "This is a listing example.",