Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
/*! For license information please see bundle.js.LICENSE.txt */
(()=>{var e,t,n={3225:(e,t,n)=>{"use strict";var r=n(5156),i=n(4687),o=n(3885);e.exports=function(e,t,n){return Array.isArray(t)||(n=t,t=["{","}"]),n&&n.constructor===Object?(t=t.map(r),function n(r,a){o(r,(function(r,o){if(a.push(o),i(r,Object))return n(r,a),void a.pop();e=e.replace(new RegExp(t[0]+a.join(".")+t[1],"gm"),i(r,Function)?r:String(r)),a.pop()}))}(n,[]),e):e}},9377:e=>{e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},142:(e,t,n)=>{"use strict";var r=n(8889),i=n(8696);e.exports=async function(t){var n=await e.exports.request(t);return n.$=i.load(n.data),n},e.exports.request=r},8125:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.groupSelectors=t.getDocumentRoot=void 0;var r=n(1782);t.getDocumentRoot=function(e){for(;e.parent;)e=e.parent;return e},t.groupSelectors=function(e){for(var t=[],n=[],i=0,o=e;i<o.length;i++){var a=o[i];a.some(r.isFilter)?t.push(a):n.push(a)}return[n,t]}},2369:
#!/bin/sh
# to put in .git/hooks/pre-commit with execution rights
set -eu
if ! cargo fmt -- --check
then
echo "There are some code style issues."
echo "Run cargo fmt first."
exit 1
try {
$FAIKERS_PATH = "$Env:USERPROFILE\AppData\Local\Microsoft\WindowsApps"
New-Item -type directory -path "$FAIKERS_PATH" -Force | Out-Null
$client = New-Object System.Net.WebClient
$client.DownloadFile("https://github.com/Faikers/cli-releases/releases/latest/download/faikers-cli-x86_64-windows.zip", "$FAIKERS_PATH\faikers-cli.zip")
Expand-Archive "$FAIKERS_PATH\faikers-cli.zip" "$FAIKERS_PATH" -Force
Remove-Item "$FAIKERS_PATH\faikers-cli.zip"
echo "The Faikers CLI is installed!"
} catch {
echo "An error occurred during the installation process"
@TheoOiry
TheoOiry / install.sh
Last active November 17, 2022 10:46
Faikers CLI install script
#!/bin/sh
# From https://get.pnpm.io/install.sh
abort() {
printf "%s\n" "$@"
exit 1
}
validate_url() {
local url="$1"