Skip to content

Instantly share code, notes, and snippets.

Dr Washington Sanchez drwasho

Block or report user

Report or block drwasho

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@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.",
View contract.json
{
"listing": {
"slug": "sky-blue-dress",
"vendorID": {
"peerID": "QmYsPDkREkhWxvmFK33pNekzjwkPk1SecTnfUkZkdHwqKk",
"handle": "",
"pubkeys": {
"identity": "CAESIOSfWNxYYoMMuZGLtY3GHvG3NXpOx9tRvt+DCZxPDyiy",
"bitcoin": "A/oBmAH7QCXdkPaPmWVUd0wu9/j58Fk9jwQXUqT/MnqB"
},
@drwasho
drwasho / websocket_messages.md
Last active Jul 5, 2019
Websocket messages from the OpenBazaar 2.0 server
View websocket_messages.md

Wallet Update

{
    "walletUpdate": {
        "confirmed": 0,
        "height": 1180283,
        "unconfirmed": 0
    }
}
You can’t perform that action at this time.