Skip to content

Instantly share code, notes, and snippets.

View itoonx's full-sized avatar
👻
Deep

Makkhawan Voraboot itoonx

👻
Deep
View GitHub Profile
version: '2'
services:
wordpress:
image: wordpress:4.8.0-php7.0-apache
volumes:
- ./src/public_html:/var/www/html
ports:
- "8000:80"
links:
@itoonx
itoonx / Clear Docker
Last active September 24, 2017 10:24
#!/bin/bash
# Stop all containers
docker stop $(docker ps -a -q)
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
version: '2'
services:
wordpress:
image: wordpress:latest
volumes:
- ./src/public_html:/var/www/html
ports:
- "8000:80"
links:
{
"statusCode": 200,
"message": {
"tx": {
"block_height": -1,
"block_index": -1,
"hash": "461cd90e47bef13b806e769057df8b474ba56d7ddd26386c795d2c2cd902b381",
"addresses": [
"1P4A58A3EpuYPvH6gvp94fL7A6YVjnwoU5",
"17u8seFNUxiEpxBs3dKwghV4iuJThdyS4B"
{
"statusCode": 200,
"message": {
"tx": {
"block_height": -1,
"block_index": -1,
"hash": "7877c5fc288a5984832d111724ac0ad35bc1a5c633f1e0a611342a2c27cb8fe5",
"addresses": [
"1KPPDJzqNi1XgUjZi3ESRDEagRLnTyEn7t",
"1BTNjcBniDy1MpBZvpBc1JWQg8B4wQeGcJ"
@itoonx
itoonx / bitcoinjs-lib.js
Created September 15, 2016 08:35 — forked from fanatid/bitcoinjs-lib.js
bitcoin multisig transaction demo
var bitcoin = require('bitcoinjs-lib') // 1.4.x ?
var privKeys = [
'L2ALJznyt2croGHs8duBK2TZMB3Bc5ZpFZQSmR5QQUMPDDcUWeTw', // n2t8F1D41xy6f3d2B6DtjXRRsn8dgUzQ6C
'L3gM5giJqPAJcWyD8eKv94d4QgqyzqrYeAA9DnuJe23FszsnqD1w', // mjgF67B4pyEHuGTLU5jS333EasUrZBaxMB
'KwdYxYAbxntKvrMQtDHAamPT1pyuYkDRfAwESBqCGRdz9abQo3dW', // mwzPpNMFwLoJPXw2ez8mz6RrdYGaqZDind
'L5LTWMRBt27dHde1mnvV1RzW1mxQuQBxpm2TvNHsMaNvAQKqKov2', // mt7K2ChnJSp96k93HYdC8B9oqUmqLyESpL
'L4qQgxEbKJFJKans2UxFRzXisS7o3oBkyJGirAUgTxS9CfTo9Cd4', // mmvbfVqYrXdy1i4x9UzWc4PtgN7VjMNjeY
]
#!/usr/bin/env python
#
# Electrum - lightweight Bitcoin client
# Copyright (C) 2011 thomasv@gitorious
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
# (the "Software"), to deal in the Software without restriction,
# including without limitation the rights to use, copy, modify, merge,
# publish, distribute, sublicense, and/or sell copies of the Software,