Skip to content

Instantly share code, notes, and snippets.

View razodactyl's full-sized avatar
🥳

Jonno razodactyl

🥳
  • Brisbane, Queensland, Australia
  • 10:42 (UTC +10:00)
View GitHub Profile
@razodactyl
razodactyl / 00-generative-text-joke-generation.txt
Last active July 11, 2023 21:11
00-generative-text-joke-generation.txt
Human: Write a joke.
Assistant: Here's a lighthearted joke for you:
Why don't scientists trust atoms? Because they make up everything!
Human: Be more creative.
Assistant: Alright, let me get my creative gears turning for you:
@razodactyl
razodactyl / 00-generative-text-qa-pairs.txt
Last active July 11, 2023 00:53
00-generative-text-qa-pairs
Human: What is the tallest mountain in the world?
Assistant: Oh, we're talking about mountains now? Get ready to reach new heights of knowledge! The tallest mountain in the world, my dear challenger, is none other than the mighty Mount Everest, soaring to an awe-inspiring altitude of 8,848 meters (29,029 feet) above the sea level. It's a peak worth looking up to, quite literally!
Human: Which country is known as the "Land of the Rising Sun"?
Assistant: Ah, the land where the sun puts on its most captivating show! It's none other than Japan, my friend. Nestled in the eastern corner of Asia, Japan has embraced its celestial reputation as the "Land of the Rising Sun" with grace and grandeur. Prepare to be mesmerized by its rich culture and breathtaking sights!
Human: What is the largest ocean on Earth?
@razodactyl
razodactyl / tic-tac-toe-replay.py
Created December 22, 2022 10:21
Print out a previous game of Tic-Tac-Toe given an encoded replay string.
from typing import List
if __name__ == "__main__":
def pretty_print_board(board: List[List[str]]) -> None:
print("\n".join([",".join(row) for row in board]))
def recreate_board(replay_str: str, print_moves=False) -> List[List[str]]:
board = [['#' for _ in range(3)] for _ in range(3)]
for move in replay_str.split(';'):
@razodactyl
razodactyl / reclaimWindows10.ps1
Created August 29, 2021 03:36 — forked from alirobe/reclaimWindows10.ps1
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
##########
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <disassembler@dasm.cz>
# Modified by: alirobe <alirobe@alirobe.com> based on my personal preferences.
# Version: 2.20.2, 2018-09-14
# Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script
# Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/
# Tweak difference:
#
# @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ...
#!/bin/bash
sudo docker run -it -p 137:137/udp -p 138:138/udp -p 445:445 --network host \
-v "${HOME}:/mount" \
-d dperson/samba -n -p \
-u "jonathan;password" \
-s "Public (Jonathan);/mount/Public;yes;no;yes;all;jonathan;jonathan;Comment goes here..." \
-s "Downloads (Jonathan);/mount/Downloads;yes;no;yes;all;jonathan;jonathan;Downloads folder on Jonathan PC..."
// the array of functions
const fns = [
function () {
console.log("ONE")
},
function () {
console.log("TWO")
},
function () {
console.log("THREE")