Skip to content

Instantly share code, notes, and snippets.

View fdovila's full-sized avatar

Fdo. Avila fdovila

View GitHub Profile
@Node0
Node0 / Download_ChatGPT_convo_in_markdown.js
Created April 5, 2023 22:53
A tampermonkey script that inserts a download button which formats the current chat into markdown and then downloads the MD file to your computer.
// ==UserScript==
// @name Download ChatGPT Convo in Markdown
// @namespace http://tampermonkey.net/
// @version 0.3
// @description Adds a download chat button to download the current chatGPT conversation in markdown format. Original MD processing code by: u/Creative_Original918 from Reddit. Code from the following thread: https://www.reddit.com/user/Creative_Original918/ https://www.reddit.com/r/ChatGPT/comments/zm237o/comment/jdjwyyo/?utm_source=share&utm_medium=web2x&context=3
// @author https://github.com/node0 and https://www.reddit.com/user/Creative_Original918/
// @match https://chat.openai.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=openai.com
// @grant none
// ==/UserScript==
@malcolmocean
malcolmocean / chatgpt_bitch.user.js
Last active April 10, 2023 19:05
UserScript: Clarify precisely why ChatGPT won't answer questions
// ==UserScript==
// @name Clarify precisely why ChatGPT won't answer questions
// @namespace
// @version 0.1
// @description Finds and replaces text in specified elements on a webpage, and detects the appearance of new matching elements
// @match https://chat.openai.com/*
// @grant none
// @license MIT License
// ==/UserScript==
@githubfoam
githubfoam / powershell script cheat sheet
Last active August 10, 2023 07:15
powershell script cheat sheet
==========================================================================================================
#ChatGPT
To check the status of PowerShell Remoting on a remote Windows 10 desktop, you can use the Test-WSMan cmdlet or examine the WinRM service status. Here's how you can do it:
Using Test-WSMan:
Open a PowerShell window on your local machine.
Run the following command to test the Windows Remote Management (WinRM) service on the remote desktop:
@chenlilyd
chenlilyd / hide chatgpt sidebar
Created March 6, 2023 02:08
hide-chatgpt-sidebar.js
// ==UserScript==
// @name Hide ChatGPT Sidebar
// @namespace http://tampermonkey.net/
// @version 0.4
// @description Hide the sidebar of the ChatGPT website
// @author You
// @match https://chat.openai.com/chat*
// @icon https://www.google.com/s2/favicons?sz=64&domain=openai.com
// @require https://code.jquery.com/jquery-3.6.0.min.js
// @grant none
@ChaseH88
ChaseH88 / chatgpt-voice-playback.js
Created February 20, 2023 18:39
This is a script that can be used directly in the console of ChatGPT to create voice playback buttons so you can hear the responses.
// ==UserScript==
// @name Add Button Before Element - ChatGPT
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Add HTML button before an element on the page.
// @author Chase Harrison
// @match https://chat.openai.com/*
// @grant none
// ==/UserScript==
@jamescasbon
jamescasbon / template.py
Created December 11, 2011 16:37
Pure python templates using with statement
"""
A really stupid python template language inspired by coffeekup, markaby.
Do not use this code, it will ruin your day. A byproduct of insomnia.
TL;DR
-----
This module defines a template language that allows us to do:
d = Doc()
@fdovila
fdovila / illuminaobscura.py
Created November 2, 2011 23:52 — forked from audy/illuminaobscura.py
illuminaobscura.py
#!/usr/bin/env python
from glob import glob
from PIL import Image, ImageDraw
from itertools import defaultdict
# Create matrix
matrix = defaultdict(dict)
lanes = [1, 2, 3, 4, 5, 6, 7]
@audy
audy / ghetto_blaster.rb
Created May 23, 2011 22:00
ghetto_blaster
LEVEL = 9
database = ARGV[0]
query = ARGV[1]
require 'zlib'
# Compression function.
def deflate(string)
z = Zlib::Deflate.new(LEVEL)