https://github.com/DamRsn/NeuralNote
https://github.com/BShakhovsky/PolyphonicPianoTranscription
services: | |
- docker:dind | |
stages: | |
- dependencies | |
- test | |
- build | |
- publish | |
install_dependencies: |
[Unit] | |
Description=AutoSSH service to remotely access signald's unix socket for weechat's signal.py (/smsg +145789323231) | |
After=network-online.target | |
# Use this instead if autossh will interact with the local SSH server | |
# After=network-online.target sshd.service | |
[Service] | |
Environment="AUTOSSH_GATETIME=30" | |
Environment="AUTOSSH_POLL=30" | |
Environment="AUTOSSH_FIRST_POLL=30" |
// resource: http://ktkr3d.github.io/2020/01/27/Puppeteer-on-WSL/ | |
// install puppeteer | |
// > npm i -g puppeteer | |
// use chrome from windows: add this to ~/.profile | |
// PATH=/mnt/c/Program\ Files\ \(x86\)/Google/Chrome/Application:$PATH | |
const puppeteer = require('puppeteer'); |
npm install cordova-res --save-dev
1024x1024px
icon at resources/icon.png
2732x2732px
splash at resources/splash.png
"resources": "cordova-res ios && cordova-res android && node scripts/resources.js"
to scripts
in package.json
resources.js
file to scripts/resources.js
sudo chmod -R 777 scripts/resources.js
npm run resources
import { Document, Model, model, Types, Schema, Query } from "mongoose" | |
import { Company } from "./Company" | |
// Schema | |
const UserSchema = Schema<UserDocument, UserModel>({ | |
firstName: { | |
type: String, | |
required: true | |
}, | |
lastName: String, |
version: '2' | |
services: | |
openldap: | |
image: osixia/openldap:1.2.3 | |
container_name: openldap | |
environment: | |
LDAP_LOG_LEVEL: "256" | |
LDAP_ORGANISATION: "Example Inc." | |
LDAP_DOMAIN: "example.org" | |
LDAP_BASE_DN: "" |
This patch, based on commit https://github.com/Microsoft/TypeScript/commit/beebda3574be7f9a51f33ac24ab117f696ca9055, will add Intellisense support to projects which utilise the .mjs file extension for JavaScript modules.
tsserver
. I did not attempt to use the tsc
tool to do any kind of compilation of .mjs files.tsserver
to treat all .mjs files as regular JavaScript files. This might be semantically wrong since these files have different semantics.# non root user example for alpine | |
# | |
# usage: | |
# $ docker build --build-arg "USER=someuser" --tag test . | |
# $ docker run --rm test | |
FROM alpine | |
ARG USER=default | |
ENV HOME /home/$USER |
MIT License | |
Copyright (c) 2018 Noel Bundick | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |