Skip to content

Instantly share code, notes, and snippets.

View beeman's full-sized avatar
🐝
Buzzin....

beeman beeman

🐝
Buzzin....
View GitHub Profile
@AmazingTurtle
AmazingTurtle / config.ts
Created July 7, 2021 11:17
openai client
export const DEFAULT_ENGINE = 'davinci';
export const ENGINE_LIST = ['ada', 'babbage', 'curie', 'davinci', 'davinci-instruct-beta', 'curie-instruct-beta'];
export const ORIGIN = 'https://api.openai.com';
export const DEFAULT_API_VERSION = 'v1';
export const DEFAULT_OPEN_AI_URL = `${ORIGIN}/${DEFAULT_API_VERSION}`;
@amatiash
amatiash / get-my-kin.js
Last active November 13, 2021 05:42
Convert Stellar KIN keys into Solana KIN keypair
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var web3_js_1 = require("@solana/web3.js");
var hex_to_32_1 = __importDefault(require("hex-to-32"));
var atob_1 = __importDefault(require("atob"));
var bs58_1 = __importDefault(require("bs58"));
// ----------------------------------------------------

this is what i use so far, its obviously not a 100% replica of the typography plugin but looks good enough on my site

  /* replace typography plugin */
  .prose {
    @apply text-gray-700 dark:text-gray-300
  }
  .prose {
    & p {
published series title
false
{"series"=>nil}
{"title"=>nil}

Introduction

In this post, we will look at...

@elldotbas
elldotbas / css-grid-admin-dashboard.markdown
Created January 5, 2019 13:18
CSS Grid Admin Dashboard

CSS Grid Admin Dashboard

A dashboard-style admin interface built using CSS Grid, with a Flexbox fallback for older browsers.

A Pen by Max Böck on CodePen.

License.

@beeman
beeman / README.md
Last active December 15, 2018 23:46
Getting into mentoring

1. Find a person you can mentor

Shout out on Twitter that you want to mentor and ask for retweets. Alternatively, get in touch with a person that is already mentoring students as they generally know more people that are interested.

2. Schedule an introduction call

Get to know each other during introduction call. You can talk about what the student knows, and what goals they have that you can help them with.

3. Determine what the mentoring could look like

@StefanNieuwenhuis
StefanNieuwenhuis / reactiveconf-framework-independent-components-library-with-StencilJS.md
Last active September 23, 2020 12:55
How to build a framework independent component library with StencilJS

How to build a framework independent component library with StencilJS

This is a proposal for a lightning talk at Reactive Conf. Please 🌟 this gist to push the proposal! If you're on your phone, please request the 🖥 desktop site to star this gist 😇 #ReactiveConf

@detroitenglish
detroitenglish / zxcvbn-haveibeenpwned-pw-check.js
Last active January 10, 2020 00:04
Fastify Handler: Password Scoring with zxcvbn + haveibeenpwned Range Query API
import zxcvbn from 'zxcvbn'
import axios from 'axios'
import crypto from 'crypto'
// Input is first validated via native Fastify JSON-schema declaration
export async function passwordStrengthChecker(req, reply) {
const { password } = req.body
let message, pwned, ok
let { score } = zxcvbn(password)
try {
@swalkinshaw
swalkinshaw / tutorial.md
Last active November 13, 2023 08:40
Designing a GraphQL API
### Phrase:
hi guys,
hey guys,
hello guys,
you guys,
guys
### Respose:
Did you mean team?
Did you mean all?