using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies
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/sh | |
#† LUXCIUM LICENSE *NO* PERMISSION GRANTED - PROVIDED "AS IS" - WITHOUT WARRANTY | |
#+ PROVIDED "AS IS" - WITHOUT WARRANTY - *DO NOT* RUN THIS FILE ON ANY MACHINE | |
#+ THIS FILE IS *NOT* FIT FOR ANY PARTICULAR PURPOSE IN IT'S CURRENT FORM | |
#† Copyright © 2020 - LUXCIUM† (Benjamin Vincent Kasapoglu) <luxcium@neb401.com> | |
#+ THIS FILE HAVE NOT BEEN TESTET OR RUN YET! *DO NOT* RUN THIS FILE UNLESS | |
#+ YOU HAVE REVIEWED THE FULL CONTENT AND TAKE FULL RESPOSABILITY OF ANY | |
#+ PROBLEME IT MAY CAUSE TO YOU (or anyone) OR YOUR MACHINE (or any machine) | |
#† Scientia es lux principium✨ ™ |
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
/** Tentative de remue-méninge dans le but de trouver des mots semblables à «BIDULE» cette liste doit être réduite */ | |
// abandon | |
// abandonné | |
// abasourdissement | |
// abattu | |
// abîme | |
// aboli | |
// abrogé | |
// absence | |
// absurde |
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
Show hidden characters
// =====2020=====Luxcium=====Author==Benjamin=Vincent=(Luxcium)=License==MIT==== | |
{ | |
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and | |
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope | |
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is | |
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. | |
// Placeholders with the same ids are connected. | |
"template_delimiters": { | |
"scope": "javascript,typescript", |
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
// =====2020=====Luxcium=====Author==Benjamin=Vincent=(Luxcium)=License==MIT==== | |
{ | |
"window.zoomLevel": 0, | |
"editor.fontSize": 18, | |
"terminal.integrated.fontSize": 16, | |
"editor.suggestFontSize": 12, | |
"debug.console.fontSize": 12, | |
"errorLens.fontWeight": "bold", | |
"editor.fontLigatures": true, | |
"editor.fontFamily": "Victor Mono, Fira Code, Fira Code iScript", |
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
// =====2020=====Luxcium=====Author==Benjamin=Vincent=(Luxcium)=License==MIT==== | |
[ | |
// $ $ $ $ $ $ ============================================================= | |
// #region !! SNIPPETS | |
/* | |
* "text": "`" "alt+m", | |
* "template_placeholder" "alt+n", | |
* "TRY_THROW" "alt+t", | |
* "add_export_const" "cmd+i cmd+e", | |
* "export_const_arrow" "cmd+i cmd+c", |
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
//############################################################################## | |
//# # | |
//# !!! PLEASE USE CAUTION WHEN USING THIS FILE !!! # | |
//# # | |
//# THIS FILE CANNOT BE USED AS IS YOU MAY HAVE TO CUSTOMISE IT TO USE IT. # | |
//# Even if this file is shared with the public it has not been designed with # | |
//# public use in mind. I put them in the public space anyway so anyone # | |
//# can download them and edit them. # | |
//# # | |
//#+ Copyright (c) 2019-present Benjamin Vincent Kasapoglu # |
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
;(async () => { | |
// | |
/* code goese here */ | |
return void 0; | |
})().catch(error =>console.log('error message:', error.message)); |
I have made a quick VSCODE-Portable installer just execute the script inside a macOS empty folder to have a working copy of visual studio code portable that is self contained inside that folder (not messing with your main VSCode profile easy to throw away or to keep on a USB stick)
Run this script in an empty folder to install Luxcium's Vscode Portable:
bash <(curl -s https://gist.githubusercontent.com/Luxcium/7357d34622c148f6041842321f315d7a/raw/a758b82e6818b9b9b664b210228ea93f9314c1b4/luxcium-vscode-portable.sh)
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
#!/usr/bin/env /bin/sh | |
rm -f .DS_Store | |
this_file="$(basename "$(test -L "$0" && readlink "$0" || echo "$0")")" | |
in_this_folder="$(ls -A ./)" | |
if [ -z "$in_this_folder" ] || [ "$this_file" = "$in_this_folder" ]; then | |
echo "" | |
echo "🧞♀️" | |
echo 'please wait:' | |
else |