create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
#!/bin/sh -x | |
set -e | |
SIZES=" | |
16,16x16 | |
32,16x16@2x | |
32,32x32 | |
64,32x32@2x | |
128,128x128 |
{ | |
"ad": { | |
"flag": "🇦🇩", | |
"name": "Andorra", | |
"dialCode": "+376" | |
}, | |
"ae": { | |
"flag": "🇦🇪", | |
"name": "United Arab Emirates", | |
"dialCode": "+971" |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
#!/usr/bin/env python3 | |
# Note: you might need to run "pip install halo tabulate tqdm" if these dependencies are missing on your machine | |
import argparse | |
import json | |
import requests | |
from datetime import datetime | |
from halo import Halo |
In this document, I will explain how to setup nut
(Network UPS Tools) on Ubuntu 18.04 and 20.04.
It is basically the next chapter of my previous gist, Upgrade nut on Ubuntu 18.04.
I'll only document USB
connected UPS and not the other supported connection modes.
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <signal.h> | |
#include <time.h> | |
#include <ctype.h> | |
#include <string> | |
//https://github.com/DaveGamble/cJSON | |
#include "cJSON.h" |
#!/usr/bin/env python3 | |
import subprocess | |
import sys | |
from pathlib import Path | |
import requests | |
import base64 | |
from tqdm import tqdm |
package my.example.compat; | |
/* | |
* NOTICE: modified since 2023 and later. | |
* | |
* Copyright (C) 2008 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at |
#!/usr/bin/env bash | |
# builds mpv & mpv.app on Apple silicon (M1 / M2) Macs | |
# run this script from the root directory of the mpv repo | |
# if anything fails, gtfo | |
set -ex | |
meson setup build | |
meson compile -C build |