Skip to content

Instantly share code, notes, and snippets.

View killshot13's full-sized avatar
Working remotely

Michael R. killshot13

Working remotely
View GitHub Profile
@killshot13
killshot13 / .webmanifest().json
Last active October 7, 2021 12:14
.webmanifest
{
"short_name": "C.D.E.",
"name": "Code.Develop.Engineer.",
"icons": [
{
"src": "/images/Code-Develop-Engineer-ICON.192x192.png",
"type": "image/png",
"sizes": "192x192"
},
{
@killshot13
killshot13 / tsserver.ini
Last active September 16, 2021 23:38
ts-semantic-logfiles
[Info - 18:31:44.474] Starting TS Server
[Info - 18:31:44.474] Using tsserver from: /home/%USER_PROFILE%/.vscode-server/bin/%UNIQUE_ID%/extensions/node_modules/typescript/lib/tsserver.js
[Info - 18:31:44.483] <syntax> Log file: /home/%USER_PROFILE%/.vscode-server/data/logs/20210916T133054/exthost2/vscode.typescript-language-features/tsserver-log-UE9MsV/tsserver.log
[Info - 18:31:44.483] <syntax> Forking...
[Info - 18:31:44.510] <syntax> Starting...
[Info - 18:31:44.513] <semantic> Log file: /home/%USER_PROFILE%/.vscode-server/data/logs/20210916T133054/exthost2/vscode.typescript-language-features/tsserver-log-NSr4GX/tsserver.log
[Info - 18:31:44.513] <semantic> Forking...
[Info - 18:31:44.530] <semantic> Starting...
[Info - 18:32:24.142] TSServer exited. Signal: SIGABRT
[Info - 18:32:24.143] TSServer log file: /home/%USER_PROFILE%/.vscode-server/data/logs/20210916T133054/exthost2/vscode.typescript-language-features/tsserver-log-NSr4GX/tsserver.log
@killshot13
killshot13 / jsconfig.json
Last active June 20, 2022 09:07
.vscode>workflows
{
"baseline":
// baseline jsconfig.json version
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"checkJs": true
},
"exclude": [
@killshot13
killshot13 / config.json
Last active June 20, 2022 08:35
Quokka config.json for VSCode
{
"autoLog": true,
"babel": true,
"delay": 1500,
"logLimit": 300,
"node": "~/.nvm/versions/node/v16.15.1/bin/node",
"plugins": [
"alias-quokka-plugin",
"babel-alias-quokka-plugin",
"quokka-plugin-subdir",
@killshot13
killshot13 / exec.js
Last active July 26, 2021 11:42
nodeFunctions();
const { exec } = require('child_process')
exec('ls -ltra', (error, stdout, stderr) => {
if(error) {
// if an error occurs during exec process
console.error("Error", error.message);
return;
} else if(stderr) {
@killshot13
killshot13 / mongoObjIdGen.js
Last active January 12, 2022 06:35 — forked from solenoid/gist:1372386
MongoDB ObjectId generator script
const mongoObjectId = () => {
const timestamp = ((new Date().getTime() / 1000) | 0).toString(16)
return (
timestamp +
'xxxxxxxxxxxxxxxx'
.replace(/[x]/g, () => ((Math.random() * 16) | 0).toString(16))
.toLowerCase()
)
}
@killshot13
killshot13 / .gitmessage
Last active January 9, 2022 05:24
my-commit-message-convention
##################################################
# TEMPLATE #
##################################################
[Subject:]
[Body:]
[References:]
##################################################
# EXAMPLE #
@killshot13
killshot13 / stale.yml
Created June 28, 2021 12:39
GitHub Repo Workflows & Files
name: Mark stale issues and pull requests
on:
schedule:
- cron: "30 1 * * *"
jobs:
stale:
runs-on: ubuntu-latest
@killshot13
killshot13 / block-level.md
Last active June 3, 2021 05:58
HTML Elements

block level elements

Based on the Mozilla Web Docs

block-level element always starts on a new line and takes up the full width available (stretches out to the left and right as far as it can).

The complete list of all HTML "block-level" elements (although block and inline elements are no longer defined in HTML 5, use content categories instead).

Note: "block-level" is not technically defined for elements new in HTML5.

@killshot13
killshot13 / pandoc-install-intro.md
Last active October 23, 2024 01:49
A guide to installing and configuring Pandoc on the Windows & the Linux OS.

What is Pandoc?

Pandoc is open-source software used to transform various filetypes such as .md into more user-friendly filetypes including .pdf, .docx, and .html.