Skip to content

Instantly share code, notes, and snippets.

View drwasho's full-sized avatar

Dr Washington Sanchez drwasho

View GitHub Profile
{
"data": {
"name": "OB1",
"description": "",
"link": "https://ob1.io/verified-moderators.html"
},
"types": [
{
"name": "standard",
"description": "A moderator that has been vetted by OB1",
{
"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 November 7, 2019 00:06
War of Rights audio kill indicator
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 September 30, 2019 07:09
Create listing body JSON
{
"slug": "",
"metadata": {
"contractType": "PHYSICAL_GOOD",
"format": "FIXED_PRICE",
"expiry": "2037-12-31T05:00:00.000Z",
"acceptedCurrencies": [
"TBTC",
"TBCH",
"TLTC",
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.
[
{
"constant": false,
"inputs": [
{
"name": "handle",
"type": "string"
},
{
"name": "newName",
{
"peerID": "QmYEChohLWGxbdgezhwSbaeCsTAG5iimzSkZyhLLUHv2TC",
"handle": "drwasho",
"name": "Washington Sanchez",
"location": "Brisbane",
"about": "The Dude",
"shortDescription": "Yo",
"nsfw": true,
"vendor": true,
"moderator": false,
[
{
"name": "🌏 Worldwide",
"code": "ALL"
},
{
"name": "🇺🇸 United States",
"code": "UNITED_STATES"
},
{
{
"blockedNodes": [],
"country": "UNITED_STATES",
"localCurrency": "USD",
"mispaymentBuffer": 1,
"paymentDataInQR": true,
"refundPolicy": "All sales are final.",
"shippingAddresses": [
{
"addressLineOne": "31 Spooner Street",
{
"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.",