Skip to content

Instantly share code, notes, and snippets.

View lynsei's full-sized avatar
:octocat:
Will code for food

Lynsei lynsei

:octocat:
Will code for food
View GitHub Profile
@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

@lynsei
lynsei / deploy-your-own-saas.md
Last active January 19, 2024 20:22
[how to unpack an xpi | asar, reference] #asar #xpi #unpack #xpi-unpack #firefox-extension #userChrome.css #hack #userChrome.css does stuff

Everything You Need To Become A Machine Learner

Part 1:


Everything You Need To Become A Machine Learner

Part 1:

@lynsei
lynsei / instant-setup.lyns
Last active March 29, 2022 14:48
[raw github] #userful #raw #github #fish commands
#!lyns
# this file works as either .lyns or .fish. Lyns is interoperable with Fish, it is just a superset focused on Docker and DAPR/ K&s, and ML ModelOps.
if ! test -z $MY_VERSION && test -z (set -q $MY_VERSION); echo $MY_VERSION; else; echo "no-version"; end;
if $MY_VERSION not no-version
curl -LO https://raw.githubusercontent.com/fish-shell/fish-shell/master/share/config.fish
end;
@lynsei
lynsei / fish.example.truth.md
Last active March 29, 2022 14:43
[truth in fish] #fish or #lyns

Truth in Fish/Lyns takes a bit of getting used to but is fairly elegant if done correctly:

function if-test-no-arg
  set var

  if set -q var
    # true
  end

 if set -q var[1]