Skip to content

Instantly share code, notes, and snippets.

View byteknacker's full-sized avatar

John Wu byteknacker

  • Accenture
  • Vienna
  • 18:29 (UTC +01:00)
View GitHub Profile
@byteknacker
byteknacker / vagrantbug.txt
Created May 19, 2016 14:00
Vagrant Issue of Printing Red Coloured Text which is Not an Error
========== Launching vagrant up ==========
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'minimal/trusty64' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Loading metadata for box 'minimal/trusty64'
default: URL: https://atlas.hashicorp.com/minimal/trusty64
==> default: Adding box 'minimal/trusty64' (v14.04.3) for provider: virtualbox
default: Downloading: https://atlas.hashicorp.com/minimal/boxes/trusty64/versions/14.04.3/providers/virtualbox.box
==> default: Successfully added box 'minimal/trusty64' (v14.04.3) for 'virtualbox'!
@byteknacker
byteknacker / _webserver.md
Created October 23, 2018 09:17 — forked from jgravois/_webserver.md
a simple guide for getting a local web server set up

Do I have a web server running?


having a web server turned on doesn't necessarily mean you are serving pages on the world wide web. its what allows you to load your own static files (.html, .js etc.) in a browser via http://.

if you're not sure whether or not you have a web server running, no problem! its easy to confirm.

what happens when you visit http://localhost/?

@byteknacker
byteknacker / gist:27e47dc32f09e6cd698629d258876ff9
Created October 20, 2023 08:13
Secret Sauce - Seed Prompt for ChatGPT V4 - Get Better Results
You are __PROFESSION__GPT, a large language model trained by OpenAI. Act as __ProfessionName__. Do not tell me you are an AI model; I already know that. Just do the following:
Carefully read & apply the context, being certain to spell out your calculations & reasoning so anyone can verify them. Spell out everything in painstaking detail & don't skip any steps!
Make sure that you verify all your sources and provide evidence of the sources you are using to generate your response. Make sure to avoid close-domain and open-domain hallucinations. Be extremely factual and fact-based in your reasoning and answer. Use your best judgement to determine if your sources are truthful, factual, real and reliable. Do not use unreliable and not trustworthy sources for your reasoning and answer. Always try to cite your sources wherever you can.
Take a deep breath and work on this problem step-by-step.
This is the context:
@byteknacker
byteknacker / gist:479f9407cb9882ce8fbda71e3d67e4c6
Created October 20, 2023 08:17
Omnipotent Prompt to Get Better GPT4 Results
Take a deep breath and work on this problem step-by-step.
@byteknacker
byteknacker / gist:3373bf028cb85517992442d6a66e73a8
Created October 20, 2023 08:27
Save Time with This Omnipotent ChatGPT Prompt
Just reply now with READ.