В папке ~/%userprofile%/.ssh/ должен быть config, ключи (публичные *.pub и не публичные без расширения) а так же known_hosts
Config :
# Personal Github
Host github.com
User __________
IdentityFile ~/.ssh/id_rsa
| // original from: http://mashe.hawksey.info/2014/07/google-sheets-as-a-database-insert-with-apps-script-using-postget-methods-with-ajax-example/ | |
| // original gist: https://gist.github.com/willpatera/ee41ae374d3c9839c2d6 | |
| function doGet(e){ | |
| return handleResponse(e); | |
| } | |
| // Enter sheet name where data is to be written below | |
| var SHEET_NAME = "Sheet1"; |
| /** | |
| * Module dependencies. | |
| */ | |
| var express = require('express') | |
| , routes = require('./routes') | |
| , http = require('http') | |
| , mongoose = require('mongoose') | |
| , path = require('path'); |
| PREFIX=$HOME | |
| VERSION=1.2.3 | |
| # Install Protocol Buffers | |
| wget http://protobuf.googlecode.com/files/protobuf-2.4.1.tar.bz2 | |
| tar -xf protobuf-2.4.1.tar.bz2 | |
| cd protobuf-2.4.1 | |
| ./configure --prefix=$PREFIX | |
| make | |
| make install |
| # Thanks to @samsonjs for the cleaned up version: | |
| # https://gist.github.com/samsonjs/4076746 | |
| PREFIX=$HOME | |
| VERSION=1.2.3 | |
| # Install Protocol Buffers | |
| wget http://protobuf.googlecode.com/files/protobuf-2.4.1.tar.bz2 | |
| tar -xf protobuf-2.4.1.tar.bz2 | |
| cd protobuf-2.4.1 |
Only do this if you understand the consequences: all node programs will be able to bind on ports < 1024
sudo setcap 'cap_net_bind_service=+ep' /usr/local/bin/node
Important: your node location may vary. Use which node to find it, or use it directly in the command:
| export abstract class HttpException extends Error { | |
| status: number; | |
| constructor(status: number, message: string) { | |
| super(message); | |
| this.status = status; | |
| this.name = "HttpError"; | |
| } | |
| } | |
| export class HttpBadRequestException extends HttpException { |
| /* eslint-disable require-jsdoc */ | |
| /** | |
| * All specific http exceptions should inherit this class | |
| */ | |
| class HttpException extends Error { | |
| /** | |
| * | |
| * @param {number} status HTTP status code | |
| * @param {string} message Error message | |
| */ |