Reference:
sudo fdisk -l
ln -s /opt/eff.org/certbot/venv/local/lib64/python2.7/dist-packages/cryptography /opt/eff.org/certbot/venv/local/lib/python2.7/dist-packages/cryptography | |
ln -s /opt/eff.org/certbot/venv/local/lib64/python2.7/dist-packages/cffi /opt/eff.org/certbot/venv/local/lib/python2.7/dist-packages/cffi | |
ln -s /opt/eff.org/certbot/venv/local/lib64/python2.7/dist-packages/cffi-1.10.0.dist-info /opt/eff.org/certbot/venv/local/lib/python2.7/dist-packages/cffi-1.10.0.dist-info | |
ln -s /opt/eff.org/certbot/venv/local/lib64/python2.7/dist-packages/_cffi_backend.so /opt/eff.org/certbot/venv/local/lib/python2.7/dist-packages/_cffi_backend.so | |
ln -s /opt/eff.org/certbot/venv/local/lib64/python2.7/dist-packages/.libs_cffi_backend /opt/eff.org/certbot/venv/local/lib/python2.7/dist-packages/.libs_cffi_backend | |
ln -s /opt/eff.org/certbot/venv/local/lib64/python2.7/dist-packages/zope.interface-4.1.3-py2.7-nspkg.pth /opt/eff.org/certbot/venv/local/lib/python2.7/dist-packages/zope.interface-4.1.3-py2.7-nspkg.pth | |
ln -s /opt/eff.org/certbot/ven |
#!/bin/bash | |
# IP address to cycle through (in order of priority) | |
ip=( "192.168.20.102" "192.168.20.103" ) | |
# Check if synergy is already connected | |
if pgrep "synergyc"; then | |
# Synergy already connected | |
echo "Synergy is already running." | |
else |
/* | |
* Copyright (c) 2016 WeYouMe Network., and contributors. | |
*/ | |
#pragma once | |
#define BLOCKCHAIN_VERSION ( version(0, 19, 5) ) | |
#define BLOCKCHAIN_HARDFORK_VERSION ( hardfork_version( BLOCKCHAIN_VERSION ) ) | |
#ifndef SHOW_PRIVATE_KEYS | |
#define SHOW_PRIVATE_KEYS 1 |
{ | |
"id": 3, | |
"name": "webuilder", | |
"owner": { | |
"weight_threshold": 1, | |
"account_auths": [], | |
"key_auths": [[ | |
"TWYM7GXFkFDNkweQJHhegS1iX5vg1oEouAhZ5EZZR34cYUxQvHFii5", | |
1 | |
] |
Client: | |
fetching with headers: | |
{ "Content-Type": "application/json" } | |
Stringifying JSON: | |
body: JSON.stringify(data) | |
Server: add: | |
app.use((req, res, next) => { | |
res.setHeader("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept"); | |
next(); |
Reference:
sudo fdisk -l
{ | |
"env": { | |
"es6": true, // Use ES6 recommended | |
"node": true, // We code in node | |
"browser": true // We also code for browser | |
}, | |
//"parser": "babel-eslint", | |
"extends": "eslint:recommended", // Use the recommended ESlint rules | |
"parserOptions": { |
(function (globalThis, factory) { | |
if (typeof exports === 'object' && typeof module !== 'undefined') | |
if (typeof global === 'object') | |
return factory(global) | |
else | |
return factory(exports) | |
if (typeof define === 'function' && define.amd) | |
return define(['exports'], factory) |
//Primitive Type Comparison | |
var a = 1; | |
var b = 1; | |
var c = a; | |
console.log(a == b); //true | |
console.log(a === b); //true | |
console.log(a == c); //true | |
console.log(a === c); //true |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
root /your/root/path; | |
index index.html; | |
server_name you.server.com; |