Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🐍

Euphemia Deathridge ephdtrg

💭
🐍
View GitHub Profile
View test_nextcloud.sh
#!/bin/sh
print_info()
{
echo "### Status"
echo "\`\`\`"
systemctl status --no-pager "snap.nextcloud.$1.service"
echo "\`\`\`"
echo "### Journal"
@ephdtrg
ephdtrg / config.mywish-testnet.json
Last active Nov 13, 2018
Config files for NEO MyWish Testnet
View config.mywish-testnet.json
{
"ApplicationConfiguration": {
"Paths": {
"Chain": "Chain_{0}",
"Index": "Index_{0}"
},
"P2P": {
"Port": 20333,
"WsPort": 20334
},
View gist:5d3fc4face225978016046696636b069
server {
listen 80;
server_name nextcloud.your-domain.com;
# Add headers to serve security related headers
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
View config.ini
# The filename (relative to data-dir) to create a unix socket for HTTP RPC; set blank to disable. (eosio::http_plugin)
unix-socket-path = keosd.sock
# The local IP and port to listen for incoming http connections; leave blank to disable. (eosio::http_plugin)
http-server-address = 127.0.0.1:9953
# The local IP and port to listen for incoming https connections; leave blank to disable. (eosio::http_plugin)
# https-server-address =
# Filename with the certificate chain to present on https connections. PEM format. Required for https. (eosio::http_plugin)
@ephdtrg
ephdtrg / gist:15a07c7dcf451fcdc40186c04a57ebee
Last active Jan 17, 2019
tron eventsubscribe messages
View gist:15a07c7dcf451fcdc40186c04a57ebee
Block subscription
event: message
data:{
"timeStamp":1547662317000,
"triggerName":"blockTrigger",
"blockNumber":5862702,
"blockHash":"000000000059752e606e215a10408041fa76ce55d6bfa0a4bdbf82fed2573e7c",
"transactionSize":166,
"transactionList":[
View gist:4ae5ff01008b1692198bd1b683b284f5
[
{
"constant": false,
"inputs": [],
"name": "renounceOwnership",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
View gist:aa13430d1739010c8926f18d109288d0
[
{
"constant": true,
"inputs": [
{
"name": "_addr",
"type": "address"
},
{
"name": "_index",
View docker-compose.yml
version: '2'
services:
db:
image: mariadb:10.1
environment:
MYSQL_ROOT_PASSWORD: your_mysql_root_password
MYSQL_USER: your_filerun_username
MYSQL_PASSWORD: your_filerun_password
MYSQL_DATABASE: your_filerun_database
@ephdtrg
ephdtrg / abi.json
Created Jul 18, 2019
abi for freeze tron payments contract
View abi.json
{
"entrys": [
{
"outputs": [
{
"type": "bool"
}
],
"constant": true,
"name": "CONTINUE_MINTING",
@ephdtrg
ephdtrg / .gitignore
Created Oct 11, 2019
Realty AI webserver impovements
View .gitignore
/RealtyTime/API_methods/settings_local.py
processed_models/
You can’t perform that action at this time.