Skip to content

Instantly share code, notes, and snippets.

View lynsei's full-sized avatar
:octocat:
Huzzah!

Lynsei lynsei

:octocat:
Huzzah!
View GitHub Profile
@lynsei
lynsei / index.html
Last active October 2, 2022 17:22
Splash page generator
<div id="row">
<h1 id="heading" contenteditable="true">GLOBAL.PKGDIST.COM</h1>
<h4 id="strapline" contenteditable="true">GLOBAL SOFTWARE DISTRIBUTION CDN </h4>
<span><a class="button" href="https://github.com/lynslang/" target="_blank">LynsLang CE | EE</a></span>
</div>
@lynsei
lynsei / release-automation.lets-encrypt.jwilder.volume.lyns.md
Last active September 18, 2022 06:21
[Let's Encrypt + Nginx Proxy Companion + Release Detection + Key Mount and Cert Mount Sharing] #release #automation for #certs using #letsencrypt #certificate #key #automation
#
# This simply allows the script to find the private key, chain certifiate, and root cert for any sub-domain that was triggered in automation using Lets Encrypt and a Jwilder proxy # # # companion container and their awesome API!
#
#  1. With LynsLang/Fish or Bash you can first `docker ps` with a filter for "name=nginx-proxy-lets" which will provide the container id easily,
#     provided you supply the correct go-lang template parameters:
@lynsei
lynsei / distro-less.Dockerfile
Created August 29, 2022 01:15
[distroless nodejs apps] #Docker #Image for #NodeJS #Apps #Containers using a tiny NodeJS base image
# my new registry code will be stored at github.com/distro-less and will provide polyglot support
FROM node:8.15.0 AS build-env
ADD . /app
WORKDIR /app
FROM gcr.io/distroless/nodejs
COPY --from=build-env /app /app
WORKDIR /app
CMD ["js_file.js"]
@lynsei
lynsei / pertinent-docs.md
Last active July 19, 2022 14:24
[two simple docker commands for a reverse proxy init without effort]

Reference


# https://docs.timescale.com/install/latest/installation-docker/#more-docker-options
@lynsei
lynsei / Lynsei.md
Last active August 29, 2022 01:19
[Hello I'm Lynsei] #github #public #profile #personal (Lynsei account)

Lynsei

(◕‿◕) Hello!

I'm a very not famous cryptography author, implementer, and software architect with over 20 years experience designing and building securely deployable, AG/ quasi-AG, adaptive, reactive, PreCQ and PCQ cryptographic implementations for multiple threshold distributed event systems scenarios, defending against many sorts of attacks & on many different threat surfaces, and using production-ready architecture for everything from mail-toasters to e-commerce software.

All the software I produce is cloud based, and uses a custom policy framework to ensure it is compliant with FIPS-140(1-3), PCI-DSS, GDPR, HIPAA, ISO 9001 NIST standards. All the architecture I produce is pre-validated by standards organizations and penetration tested, fuzzed (Gitlab, Dependabot, Peach, Synopsis/ Blackduck), with aut(h)onomic CI security scanners governed by policy adhesion for Zero Trust Architecture (ZTA), multi-model threat paradigms, and following decrees instituted by the leaders in the industry and

@lynsei
lynsei / ssh-key-generation.md
Created June 11, 2022 08:09 — forked from cybersamx/ssh-key-generation.md
Generate a new SSH key pair

Mac and Linux

  • Open Terminal

  • Check if you already have a SSH keypair generated. Do the following:

    $ ls -la ~/.ssh/id_rsa*
    

If the files exist, you already have SSH installed. IMPORTANT: But if you wish to regenerate the SSH key pair, at least back up your old SSH keys.

# lyns lang [superset of fish]
#
# replace the output of npm pkg get as commands and generate an array from them:
set -e n && npm pkg get cmds | \
head -n-1 | \
tail -n +2 | \
while read -at i; \
set n "$n""$i"\n; \
end && \
echo -n $n | \
@lynsei
lynsei / iffe-js-these-are-a-few-of-my-favorite-things.js
Created May 2, 2022 01:33
[my favorite things, these are a few of them] #iffe #js
// IIFE: Immediately invoked, functional expr
var counter = (function(){
var i = 0;
return {
get: function(){
return i;
},
set: function( val ){
i = val;
@lynsei
lynsei / Slack status.js
Created April 25, 2022 00:04
[is slack down?] #javascript #node code for checking slack status
// Checks if Slack is down by examining their status page. Works perfectly with Siri.
let url = "https://status.slack.com"
let r = new Request(url)
let body = await r.loadString()
Safari.openInApp(url)
if (config.runsWithSiri) {
let needles = [
"up and running",
"smooth sailing"
]
@lynsei
lynsei / how-to-use-it.md
Created April 24, 2022 16:58
[microsoft edge text-to-speech api] through #rapid #api #text #to #speech #apis

TTS Text to Speech

  • Microsoft Edge API Service
  • 5000 requests per day max.
  • Uses RAPIDAPI.com
  • Set up to use node-fetch module and NodeJS

Link to RapidAPI