This file contains hidden or 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
| /check.sh | |
| /export.sh | |
| /node_modules/ | |
| /scripts/ | |
| /package-lock.json | |
| /dashboardTmp.png | |
| /dashboardTmp2.png |
This file contains hidden or 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
| // ==UserScript== | |
| // @name qwiklabs.com - Compact view | |
| // @namespace malys | |
| // @match https://*.cloudskillsboost.google/course_sessions/* | |
| // @grant none | |
| // @version 1.0 | |
| // @author malys | |
| // @description Compact view | |
| // ==/UserScript== |
This file contains hidden or 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
| #!/usr/bin/sh | |
| # Wacom Intuos BT S pad | |
| # ___________________________________________ | |
| # | _____________________________________ | | |
| # | / | | | | \ | | |
| # | | 0 | 1 | | 2 | 3 | | | |
| # | \_______|________|____|_______|_______/ | | |
| # | ___________________________________ | | |
| # | | | | |
This file contains hidden or 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
| // npm i fetch-cookie debug node-fetch chalk | |
| // Remote configuration for BBox router (Bouygues telecom) | |
| // set password in admin console (xxxxx) | |
| // TODO waiting OpenAPI descriptor to generate client automatically | |
| /**************** | |
| * Please contribute supporting new methods including them in methods.js | |
| * see https://api.bbox.fr/doc/apirouter/index.html | |
| * or open chrome dev tools and see the network tab and export the request in fetch format | |
| *****************/ |
This file contains hidden or 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
| {% if docker %} | |
| export DOCKER_DIR=/mnt/wsl/shared-docker | |
| export DOCKER_SOCK="$DOCKER_DIR/docker.sock" | |
| export DOCKER_HOST="unix://$DOCKER_SOCK" | |
| #if [ ! -f "$DOCKER_SOCK" ]; then | |
| # mkdir -pm o=,ug=rwx "$DOCKER_DIR" | |
| # chgrp docker "$DOCKER_DIR" | |
| # nohup sudo -b dockerd < /dev/null > $DOCKER_DIR/dockerd.log 2>&1 | |
| #fi |
This file contains hidden or 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
| //node convertToCurl.mjs script.yml > test.sh | |
| // mv convertToCurl.js convertToCurl.mjs | |
| import convertToCurl from './convertToCurlLib.mjs' | |
| import yargs from 'yargs' | |
| import { | |
| hideBin | |
| } from 'yargs/helpers' | |
| const argv = yargs(hideBin(process.argv)).argv | |
| console.log(convertToCurl(argv._[0])) |
Based on zx-semrel concept, followed scripts are examples to automate full releasing process with zx scripts.
zx-semrel concept proposes an implementation of semantic release for node projects using zx.
In our case, we try to generalize this idea to:
- provide a script agnostic to build technology (npm, maven ,gulp, ...): release.mjs
- provide a script using maven for build engine: release_maven.mjs
- provide modularity architecture to factorize code and to cover more use case: release_util_update.mjs
This file contains hidden or 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
| @echo off | |
| rem ================================================================ | |
| rem To suspend a process, use the following command: | |
| rem suspend.cmd | |
| rem =========================== | |
| rem To resume a process, use the following command: | |
| rem suspend.cmd resume | |
| rem ================================================================ | |
| rem Process to suspend or resume |
This file contains hidden or 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
| /* | |
| Prerequisites: | |
| * Plantuml + Java | |
| * Mark | |
| * npm i -g zx | |
| * zx markExport.mjs "password" | |
| <!-- Attachment: ./release_stable.puml.png --> => generate automatically image from release_stable.puml | |
| <!-- file://D:/example.js;10;12 --> => insert code snippets | |
| */ |