Skip to content
View jeremybradbury's full-sized avatar
🎹
Making music
🎹
Making music
  • Portland, OR
  • 22:08 (UTC -08:00)

Block or report jeremybradbury

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. courier-redigraph courier-redigraph Public

    A logless Secure Messaging Courier made with Redis & GraphQL

    JavaScript 5

  2. courier-postgraphile courier-postgraphile Public

    A logless Secure Messaging Courier made with PostGraphile, with boilerplate Integration Testing using Jest

    JavaScript

  3. RSA Encrypt & Decrypt NodeJS Module ... RSA Encrypt & Decrypt NodeJS Module (v12+, no deps)
    1
    const {
    2
        generateKeyPairSync, 
    3
        privateDecrypt, 
    4
        publicEncrypt,
    5
        constants: { RSA_PKCS1_OAEP_PADDING },
  4. IKR: "Don't do encryption in the bro... IKR: "Don't do encryption in the browser"... Well what if you plan to compile or "write-once" using Electron/Ionic/NWJS/Cordova solutions?
    1
    (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
    2
    'use strict';
    3
    
                  
    4
    const asn1 = exports;
    5
    
                  
  5. Six Digit Code generated by PostgreS... Six Digit Code generated by PostgreSQL on one line. Simple function too.
    1
    -- source oneliner - all caps letters + 10 digits - base 36 ~2.17B enums
    2
    SELECT array_to_string(array(select substr('ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789',((random()*(36-1)+1)::integer),1) from generate_series(1,6)),'') AS "Code";
    3
    
                  
    4
    /* 
    5
          Code
  6. Log, Log, it's big it's heavy it's w... Log, Log, it's big it's heavy it's wood. Better than bad, it's good
    1
    // a very basic Winston replacement, which combines well with a systemd service, to replace most features
    2
    
                  
    3
    const isProd = process.env.NODE_ENV === "production";
    4
    
                  
    5
    const logLog = (level, ...e) => {