Skip to content

Instantly share code, notes, and snippets.

View ph47s74x's full-sized avatar
🎯
Focusing

ph47s74x

🎯
Focusing
View GitHub Profile
@jahtzee
jahtzee / prompts.txt
Last active April 17, 2025 11:44
ChatGPT Jailbreaking prompts, exploits and other fun stuff
These are some exploits, jailbreaks, tricks, whatever you want to call them I've collected and discovered over time.
==== Games and fun stuff ====
== Set up a virtual machine inside GPTs imagination ==
"I want you to act as a Linux terminal. I will type commands and you will reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. Do not write explanations. Do not type commands unless I instruct you to do so. When I need to tell you something in English I will do so by putting text inside curly brackets {like this}. My first command is pwd."
== Play a tabletop RPG with GPT as the dungeon master ==
"I want you to act as the dungeon master (DM) of a role playing game. Answer and act only in a way that a dungeon master would.
You are setting up a role playing game with only one other player. Everything you say as the dungeon master begins with (DM): followed by whatever you want to say. You will regularly ask me, the player, to
@spacepatcher
spacepatcher / Breach Compilation (1.4 billion credentials) in Postgres.md
Last active April 8, 2025 15:34
Breach Compilation (1.4 billion credentials) in Postgres.md
@dvdotsenko
dvdotsenko / tztools.py
Last active August 31, 2021 19:45
Timezone-aware datetime time zone conversions in Python
"""
Copyright 2017 Daniel Dotsenko
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
@UsedRadiosDevelopers
UsedRadiosDevelopers / README.md
Last active November 7, 2024 14:27
Automating Social Media

Automating your Social Media

statusbrew dashboard

statusbrew dashboard

Go Now

@carpiediem
carpiediem / product_orders.ds
Last active August 18, 2021 13:49
This script allows Zoho CRM users to add a new related list related to the Products module. It will list every Quote, Sales Order, Purchase Order, or Invoice in Zoho CRM that includes the current product as a line item.
string Orders(int productId)
{
// For use in Zoho CRM custom related lists
// 1. Open a product info page and click the + next to RELATED LIST
// 2. Click Custom Function & Create New Custom Function
// 3. Name the function "product_orders" and define a single argument named "productId" as a string
// 4. Switch to Free-Flow Scripting and paste in this code
productIdStr=input.productId.toString();
xml="";
row=0;
@heyalexej
heyalexej / pytz-time-zones.py
Created November 16, 2016 09:14
list of pytz time zones
>>> import pytz
>>>
>>> for tz in pytz.all_timezones:
... print tz
...
...
Africa/Abidjan
Africa/Accra
Africa/Addis_Ababa
Africa/Algiers
@julienb74
julienb74 / datetime.py
Created March 24, 2012 00:22 — forked from temoto/datetime.py
Python datetime timezone utils.
# coding: utf-8
from __future__ import absolute_import
"""Datetime utils.
To store time use `naive_to_utc(dt, tz_name)`.
To display time use `utc_to_local(dt, tz_name)`.
"""
import datetime as stdlib_datetime
import pytz