Skip to content

Instantly share code, notes, and snippets.

@drwasho
drwasho / OB-insurance-contract.md
Last active July 31, 2017 23:16
Insurance contracts in OpenBazaar

OpenBazaar Insurance Contracts

Insurance Contract - Base Template

  • As with all Ricardian contracts in OpenBazaar, there are 4 stages:
    1. Vendor offer
    2. Buyer order
    3. Vendor order confirmation
    4. Buyer receipt
  • A completed Ricardian contract is called a 'trade receipt'
@loorlab
loorlab / .htaccess
Last active October 23, 2021 22:18
.htaccess WordPress - 2017 *Use it according to your server and your preferences.* // In the next line change this name --> Header set X-Powered-By "LOOR Lab" --> for which you want to use. DO NOT COPY\PASTE. Take only what you need carefully. The following code is just a few **examples** of optimizations that you can do in .htaccess file
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
@hanbzu
hanbzu / usbstartup.sh
Created December 26, 2013 17:19
Linux/Ubuntu: USB startup disk through the command line
# The Ubuntu USB startup creator often crashes.
# This is an alternate way of doing the same process through the command line
# First plug in the USB pendrive. It will mount automatically
# Then check where it is (which device)
df
# Let's say we see it's in /dev/sdb1
# Then we have to use /dev/sdb and NOT /dev/sdb1