./src/
src/cli.ts
src/index.ts
./vite.config.ts
vite.config.ts
import { resolve } from "node:path"
./src/
src/cli.ts
src/index.ts
./vite.config.ts
vite.config.ts
import { resolve } from "node:path"
#! /bin/bash | |
if [[ -z $1 ]] || [[ "$1" != "-r" ]] && [[ "$1" != "--reinstall" ]]; then | |
type docker >/dev/null 2>&1 && echo "Docker already installed, exiting" && exit 0 | |
fi | |
echo "Installing Docker..." | |
sleep 2 | |
# from the docker website - Install Docker Engine on Ubuntu |
#!/bin/bash | |
type docker >/dev/null 2>&1 || { echo "Docker could not be found"; exit 1; } | |
function usage() | |
{ | |
cat << EOF | |
Usage: $progname [--port NUM] [--dir STR] [--image STR] | |
optional arguments: |
#!/bin/bash | |
## installs node 16.x | |
## install with: | |
## curl -fsSL https://tinyurl.com/install-node-16-pop-os | sudo -E bash - | |
sudo rm /etc/apt/sources.list.d/nodesource.list | |
sudo apt --fix-broken install | |
sudo apt update |
const fs = require("fs"); | |
const path = require("path"); | |
const glob = require("glob"); | |
const TurndownService = require("turndown"); | |
const turndownService = new TurndownService({ | |
// options | |
headingStyle: "atx", | |
bulletListMarker: "-", | |
linkStyle: "referenced", |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | |
<script> | |
; | |
(async () => { | |
// get browserInfo | |
let nVer = navigator.appVersion; | |
let nAgt = navigator.userAgent; |
/** | |
* defer javascript! | |
* | |
*/ | |
function defer_parsing_of_js($url) | |
{ | |
if (FALSE === strpos($url, '.js')) return $url; | |
if (strpos($url, 'jquery.js')) return $url; | |
return "$url' defer "; | |
} |
<?php | |
/** | |
* to get VsCode snippets and intellesense for wordpress and acf php functions | |
* add this file to your theme or plugin directory and install PHP Intelephense vscode extention. | |
* | |
* Generated stub declarations for WordPress. | |
* https://wordpress.org | |
* https://gist.githubusercontent.com/jasenmichael/851282b82c7059e41a9a89efcaf1f6ce/raw/d841c986ec1e11aa3b73b2203dd6e08ede17cafc/wp_stubs.php | |
*/ |