Skip to content

Instantly share code, notes, and snippets.

View foxrtb's full-sized avatar

FoxD foxrtb

View GitHub Profile
@foxrtb
foxrtb / add-systemd-from-script
Last active July 8, 2018 18:05
paccoin systemd service
#Pipe the conf to systemd path
cat <<EOF > /etc/systemd/system/pacd.service
[Unit]
Description=PAC daemon
After=network.target
[Service]
User=root
Group=root
@foxrtb
foxrtb / example
Created September 28, 2018 12:02
<table id="myTable"
class="table table-striped"
data-url="http://localhost:3000/mnlist.json"
data-pagination="true"
data-page-size="30"
data-page-list="[30,60,90,all]"
data-search="true"
data-striped="true"
data-click-to-select="true"
data-sort-name="lastpaidtime"
@foxrtb
foxrtb / pacpool-payments.json
Created December 24, 2018 20:28
pacpool-payments.json
[
{
"coin": "$PAC",
"address": "PRjtfEnUxhkqd9eGKdT8TjHDwFxXPvZPDD",
"addressInfoLink": "http://explorer.paccoin.io/address/PRjtfEnUxhkqd9eGKdT8TjHDwFxXPvZPDD",
"amount": 614.070897954732,
"transactionConfirmationData": "f541532b359c1d1cac5b8e32c6151c5a8bd78b471af816af39d2b8fc5b58cc3c",
"transactionInfoLink": "http://explorer.paccoin.io/tx/f541532b359c1d1cac5b8e32c6151c5a8bd78b471af816af39d2b8fc5b58cc3c",
"created": "2018-12-24T20:09:28.263919"
},