sudo apt-get install direwolf ax25-apps ax25-tools
Direwolf is our software TNC
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "email@work_mail.com" -f "id_rsa_work_user1"
I hereby claim:
To claim this, I am signing this object:
CONTAINER="name" | |
DB="Db name" | |
TABLE="Table Name" | |
FILE="file.csv" | |
sudo docker exec -u postgres ${CONTAINER} psql -d ${DB} -c "COPY ${TABLE} TO STDOUT WITH CSV HEADER " > ${FILE} |
import {Subject} from 'rxjs/Subject'; | |
import {BehaviorSubject} from 'rxjs/BehaviorSubject'; | |
import {Observable, ObservableInput} from 'rxjs/Observable'; | |
import {concatMap, switchMap} from 'rxjs/operators'; | |
enum QueueActions { | |
RESET = 'RESET', | |
ADD = 'ADD', | |
} |
// package.json | |
"jest": { | |
"roots": [ | |
"<rootDir>/tests/unit" | |
], | |
"moduleNameMapper": { | |
"[\\s\\S]*.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/tests/unit/__mocks__/fileMock.js", | |
"[\\s\\S]*.(css|less)$": "<rootDir>/tests/unit/__mocks__/styleMock.js", | |
"~/([a-zA-Z0-9/.\\-_]*)": "<rootDir>/src/$1" |
This issue is so infuriating that I'm going to take some time to write about it.
MOST IMPORTANT. Your local development server must be bound to IP address 0.0.0.0. Some do this by default, but many don't. You need to make sure that you run your local server with correct IP bindings. You may need to provide additional flags to your serve commands e.g. polymer serve --hostname domain.local
, hugo serve --bind 0.0.0.0
. If you use a named domain like domain.local
, it has to be defined in /etc/hosts
and pointing at 0.0.0.0.
My Parallels setting is using Shared Network, nothing special there.
Open macOS Terminal and type ifconfig
. Look for the value under vnic0
> inet
. It is typically 10.211.55.2
.
package main | |
import ( | |
"net/http" | |
) | |
func redirect(w http.ResponseWriter, req *http.Request) { | |
http.Redirect(w, req, | |
"https://" + req.Host + req.URL.String(), | |
http.StatusMovedPermanently) | |
} |
const OAuth = require('oauth'); | |
const Twit = require('twit'); | |
const nconf = require('nconf'); | |
// temp global var | |
var oAuthTokenSecret; | |
// load config file which contains twitter app tokens | |
nconf.file({ file: './config/twitter-share.json' }).env() |
defmodule Image do | |
defstruct [:grid, :pixel_map] | |
end | |
defmodule RandomImageGenerator do | |
def create(width, bar_size, filename \\ "out.png") do | |
%Image{} | |
|> create_grid(width) | |
|> build_pixel_map(width, bar_size) |