Reference:
sudo fdisk -l
//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 |
(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) |
{ | |
"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": { |
Reference:
sudo fdisk -l
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(); |
/* | |
* 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 | |
] |
#!/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 |
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 |
Summary | |
This article provides instructions on setting the hostname of a Mac OS X workstation from the terminal. | |
This can be useful when configuring your workstation remotely through ssh, or when you need to change the fully qualified hostname of the workstation (which can't be done from the UI). | |
Note: The following procedure is for informational purposes only and is not an Autodesk certified or supported workflow. Should issues arise with this procedure, they will not be addressed by Autodesk Customer Support. | |
Procedure | |
Perform the following tasks to change the workstation hostname using the scutil command. | |
Open a terminal. |