-
Download armbian https://dl.armbian.com/orangepipc/archive/Armbian_5.69_Orangepipc_Debian_stretch_next_4.19.13.7z
we need to download a version for wich we know we have the linux headers in the depos. 4.19.13 is such a version.
If the link is dead a copy can be found in garronej/releases. -
Use
BalenaEtcher
to flash the image on a micro SD card. -
The default login is root 1234. When overwriting the root user password and dont forget that the key maping is is not yet configured.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//File @ /cygdrive/c/Program Files/nodejs/node_modules/npm/node_modules/pacote/lib/util/git.js | |
'use strict' | |
const BB = require('bluebird') | |
const cp = require('child_process') | |
const execFileAsync = BB.promisify(cp.execFile, { | |
multiArgs: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Ret<T> = T extends (...args: any) => Promise<infer R> ? R : (T extends (...args: any) => infer R ? R : any); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi, | |
We are going to require large quantity of 3G modem and we | |
are looking for establishing a trust relationship with a single supplier. | |
Our hard requirements are: | |
-Modems must implement standard Huawei AT command interface. | |
-It must be possible to place voice calls and send SMSs. | |
-Modems should be unlocked. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cscreen -d 32 -x 1600 -y 900 -r 60 | |
sleep 1 | |
cscreen -d 32 -x 1920 -y 1080 |
const typeGuard_= <U extends T, T>(o: T): o is U => true;
const o: number =33;
assert(typeGuard_<33, typeof o>(o));
o; //<= o is 33
//It would be nice to be able to do:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Prerequisite: | |
* You will need a supported Huawei 3G dongle: | |
* https://github.com/bg111/asterisk-chan-dongle/wiki/Requirements-and-Limitations | |
* | |
* You also have to install chan-dongle-extended. | |
* https://garronej.github.io/chan-dongle-extended-pages/ | |
* This tool of mine enable to send SMS via a CLI. | |
* | |
* You then need to run this script on something like a raspberry pi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Shape = Shape.Circle | Shape.Square; | |
namespace Shape { | |
export type Circle = { | |
type: "CIRCLE"; | |
radius: number; | |
}; | |
export type Square = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REACT_APP_WARNING_MESSAGE="**Vendredi 29 janvier**, session kubernetes pour le statisticien sur zoom. Plus d info sur [le canal tchap](https://www.tchap.gouv.fr/#/room/#SSPCloudXDpAw6v:agent.finances.tchap.gouv.fr)" | |
REACT_APP_INFO_MESSAGE="**NOUVEAU** Interface de gestion des variables d'environnement. Découvrez la page [Mes Secrets](/mes-secrets) 🚀" | |
REACT_APP_BASE_API_URL=https://onyxia-preview.lab.sspcloud.fr/api | |
REACT_APP_SERVICES_URL=https://innovation.pages.lab.sspcloud.fr/plateforme-onyxia/services-ressources/services.json | |
REACT_APP_TRAININGS_URL=https://innovation.pages.lab.sspcloud.fr/plateforme-onyxia/services-ressources/formations.json | |
REACT_APP_MONITORING_BASE_URI="https://grafana.lab.sspcloud.fr/d/mZUaipcmk/app-generique?orgId=1&var-id=" | |
# MINIO | |
REACT_APP_MINIO_BASE_URI=https://minio.lab.sspcloud.fr |