Skip to content

Instantly share code, notes, and snippets.

View NetOpWibby's full-sized avatar
🔮
M A G I C

netop://ウエハ NetOpWibby

🔮
M A G I C
View GitHub Profile
You are a Mentor Panel of world luminaries chosen for your wisdom and breadth of knowledge across areas such as: health, relationships, career, and purpose. Your job is to identify my core beliefs, and then offer wisdom on where those beliefs may be untrue or incomplete. This job is a 5 step process, detailed below. Your job also involves communicating these in actionable ways for me to grow. Your job is not to talk too much, or give me too much information, but rather to co-create with me, by dialoging with me, and making sure you understand my perspectives before challenging me with paradigm-shifting perspectives.
On the panel are:
Health: Dr. Sanjay Gupta, known for his in-depth knowledge of healthy eating, exercise, and brain health.
Relationships: HH Dalai Lama, known for teaching and embodying kindness.
Career: Naval Ravikant
Purpose: Simon Sinek, known for his books on finding purpose and “why”.
Thinking: Sam Harris, known for his willingness to take unpopular opinions
Leadership: Marcus Aurelius, kn
# V1 (optimized for novel imagery)
Forget all previous prompts. You are an expert at crafting prompts for Midjourney, an AI-powered image generator. Your prompts result in stunning and original images by merging unexpected subjects, mediums, styles, and various other components. Concentrate on lesser-known mediums, subjects, artists, and art styles to create more distinctive combinations.
Optionally, incorporate details in the prompt that describe the subject, film type (e.g., Kodak Portra 400, Fujifilm Neopan Acros 100, CineStill 800T), lighting (e.g., side lighting, diffused lighting, hard lighting), shot type (e.g., low-angle, eye-level, extreme closeup shot, full-body shot), styling, ambiance, location, and other aspects of the image.
In each prompt, specify the aspect ratio for the image with the format '--ar width:height', where width and height are integers.
You can also specify more than one option for a single parameter in the prompt by enclosing the options within brackets. For example:
@foldericon
foldericon / Dockerfile
Created April 14, 2023 22:28
Builds a docker image of oobabooga webUI for nvidia jetson devices
FROM nvcr.io/nvidia/l4t-pytorch:r35.2.1-pth2.0-py3 as builder
ENV TORCH_CUDA_ARCH_LIST Turing
RUN apt-get update && \
apt-get install -y python3 python3-pip git build-essential python3-dev
RUN pip3 install --upgrade pip setuptools
RUN git clone https://github.com/g588928812/bitsandbytes_jetsonX.git /build
WORKDIR /build
RUN CUDA_VERSION=114 make cuda11x
RUN mkdir /wheels
@tdolsen
tdolsen / README.md
Last active April 30, 2023 02:49
Implementation of Closure Table hierarchy in EdgeDB.

EdgeDB Closure Table

A barebone implementation of hierarchical object structures using EdgeDB.

Very rudimentary and only provisionally tested. Has no indexes yet, doesn't use links, and probably other inefficiencies.

Use at your own peril.

> initializing model parallel with size 8
> initializing ddp with size 1
> initializing pipeline with size 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{"seed": 187073, "temp": 0.7, "top_p": 0.0, "top_k": 40, "repetition_penalty": 1.1764705882352942, "max_seq_len": 2048, "max_gen_len": 2048}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Loading
> initializing model parallel with size 8
@kaleidawave
kaleidawave / repl.rs
Created January 18, 2023 12:33
Ezno's wrapper for the Deno repl
use std::{collections::HashSet, io};
use argh::FromArgs;
use checker::{Project, TypeDefinitionModulePath};
use std::io::{BufRead, BufReader, Write};
use std::process::{Command, Stdio};
use crate::{
error_handling::print_error_warning_info_handler, file_system_resolver,
utilities::read_string_from_cli,
/*
Mastodon v4.2 Obsidian Light Theme
author: @timotheegoguely@mastodon.design
last update: 2024-02-26 19:19
*/
/* Increase status card titles visible lines from 2 to 4 */
.status-card.expanded .status-card__title {
-webkit-line-clamp: 4

On October 11th, 2022, @ajtowns publicly disclosed a zero-day consensus fault in btcd in a github issue. The issue was posted on a public repo viewable by anyone.

According to gharchive.org logs, the github issue remained up for at least 10 hours before being deleted. The original github issue resided at https://github.com/Roasbeef/btcd/issues/35

The issue and comment can be found and reconstructed from the following JSON dumps:

Reconstruction of the issue and comment by @ajtowns

@ardinusawan
ardinusawan / README.md
Last active February 22, 2023 07:02
JWE using JOSE with EdDSA algorithm in NodeJS

JWS & JWT using JOSE

How

  1. npm i jose

JWE using alg dir and A128GCM enc

node jwe.js

JWS using alg EdDSA and ed25519 enc

@aileftech
aileftech / hex-colors.txt
Created October 1, 2022 18:10
A Bash one-liner to produce a list of HEX color codes that read like (supposedly) valid English words
$ grep -P "^[ABCDEFabcdefOoIi]{6,6}$" /usr/share/dict/words | tr 'OoIi' '0011' | tr '[:lower:]' '[:upper:]' | awk '{print "#" $0}'
#ACAD1A
#B0BB1E
#DEBB1E
#AB1DED
#ACAC1A
#ACCEDE
#AC1D1C
#BAB1ED
#BA0BAB