Skip to content

Instantly share code, notes, and snippets.

View interbiznw's full-sized avatar
🎯
Focusing

J62 interbiznw

🎯
Focusing
View GitHub Profile
Ready to Record.
Recording...
Recording Finished.
Sending Speech Request...
Processing Request Response...
JSON String Returned: {"messageBody": {"directives": [{"namespace": "SpeechSynthesizer", "name": "speak", "payload": {"contentIdentifier": "amzn1.as-ct.v1.Domain:Application:Music#ACRI#DeviceTTSRendererV4_8238283f-d812-452c-851e-30e35ef2dedb", "audioContent": "cid:DeviceTTSRendererV4_8238283f-d812-452c-851e-30e35ef2dedb_1326322354"}}, {"namespace": "AudioPlayer", "name": "play", "payload": {"playBehavior": "REPLACE_PREVIOUS", "audioItem": {"streams": [{"progressReport": {"progressReportDelayInMilliseconds": 0, "progressReportIntervalInMilliseconds": 900000}, "streamUrl": "https://opml.radiotime.com/Tune.ashx?serial=AEGBPNIX5KOMRPXWY6KUIOMJMHCA&formats=aac,mp3&partnerId=4JqugguZ&id=s35880", "offsetInMilliseconds": 0, "expiryTime": "2016-09-15T20:29:57+0000", "streamId": "amzn1.as-ct.v1.Dee-Domain-Music#ACRI#url#ACRI#4e12fc31-da8e-4990-94a2-f96ec4dce4ce:1", "progressReportRequired": true}], "audioItemId":
Recording...
Recording Finished.
Sending Speech Request...
Processing Request Response...
JSON String Returned: {"messageBody": {"directives": [{"namespace": "SpeechSynthesizer", "name": "speak", "payload": {"contentIdentifier": "amzn1.as-ct.v1.Domain:Application:Music#ACRI#DeviceTTSRendererV4_59efcee7-4d44-4416-a9e7-319cae889f79", "audioContent": "cid:DeviceTTSRendererV4_59efcee7-4d44-4416-a9e7-319cae889f79_21124473"}}, {"namespace": "AudioPlayer", "name": "play", "payload": {"playBehavior": "REPLACE_PREVIOUS", "audioItem": {"streams": [{"progressReport": {"progressReportDelayInMilliseconds": 0, "progressReportIntervalInMilliseconds": 900000}, "streamUrl": "http://opml.radiotime.com/Tune.ashx?id=s31104&formats=ogg,real,html,flash,wmpro,aac,wmvoice,wma,wmvideo,mp3,qt&partnerId=4JqugguZ&serial=AEGBPNIX5KOMRPXWY6KUIOMJMHCA&latlon=47.631863,-122.34427", "offsetInMilliseconds": 0, "expiryTime": "2016-09-15T20:38:25+0000", "streamId": "amzn1.as-ct.v1.Dee-Domain-Music#ACRI#url#ACRI#b9f0ccc9-4761-4294-b79a-581c6c9c0
@interbiznw
interbiznw / tmux-cheatsheet.markdown
Created January 27, 2018 07:51 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@interbiznw
interbiznw / redis-backup.sh
Created February 4, 2018 23:15 — forked from acenqiu/redis-backup.sh
redis rdb backup script
#!/bin/bash
#
## redis backup script
## usage
## redis-backup.sh port backup.dir
port=${1:-6379}
backup_dir=${2:-"/data/backup/redis"}
cli="/usr/local/bin/redis-cli -p $port"
@interbiznw
interbiznw / 1_google_cloud_storage_backup_tutorial.md
Created February 11, 2018 01:07
Tutorial shows how to make backups to Google Cloud Storage.

Google Cloud Storage backup tutorial

Introduction

This tutorial shows how to make backups to Google Cloud Storage. The backups are:

  • automatic
  • stored off site
  • incremental
@interbiznw
interbiznw / pools.json
Last active March 5, 2018 19:19
insight-api---pools.json
[
{
"poolName": "Bitfly",
"url": "https://zcash.flypool.org/",
"searchStrings": [
"/flypool/"
]
},
{
"poolName": "NaN",
@interbiznw
interbiznw / btcpd.service
Created February 28, 2018 00:24
Bitcoin Private currency daemon service
[Unit]
Description=Bitcoin Private distributed currency daemon
After=network.target
[Service]
User=ubuntu
Group=ubuntu
Type=forking
PIDFile=/home/ubuntu/BitcounPrivate/btcpd.pid
@interbiznw
interbiznw / pool_config.js
Last active April 26, 2018 17:10
Z-nomp pool config setting explinations ( pool_configs/litecoin.json )
{
"enabled": true, //Set this to false and a pool will not be created from this config file
"coin": "litecoin.json", //Reference to coin config file in 'coins' directory
"address": "mi4iBXbBsydtcc5yFmsff2zCFVX4XG7qJc", //Address to where block rewards are given
/* Block rewards go to the configured pool wallet address to later be paid out to miners,
except for a percentage that can go to, for examples, pool operator(s) as pool fees or
or to donations address. Addresses or hashed public keys can be used. Here is an example
of rewards going to the main pool op, a pool co-owner, and NOMP donation. */
@interbiznw
interbiznw / coin_config.js
Last active March 4, 2018 08:37
Z-nomp coin config explination ( coins/litecoin.json )
{
"name": "Litecoin",
"symbol": "ltc",
"algorithm": "scrypt",
/* Magic value only required for setting up p2p block notifications. It is found in the daemon
source code as the pchMessageStart variable.
For example, litecoin mainnet magic: http://git.io/Bi8YFw
And for litecoin testnet magic: http://git.io/NXBYJA */
"peerMagic": "fbc0b6db", //optional
@interbiznw
interbiznw / config.json.js
Last active March 4, 2018 08:36
Z-nomp portal config explinations ( config.json )
{
/* Specifies the level of log output verbosity. Anything more severe than the level specified
will also be logged. */
"logLevel": "debug", //or "warning", "error"
/* By default NOMP logs to console and gives pretty colors. If you direct that output to a
log file then disable this feature to avoid nasty characters in your log file. */
"logColors": true,