Skip to content

Instantly share code, notes, and snippets.

View minesweeper106's full-sized avatar

Lukasz B********* minesweeper106

View GitHub Profile
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
@ke4roh
ke4roh / exportAttachments
Created September 15, 2020 22:46
Export attachments from an iPhone backup
#!/bin/bash
# Construct a tree of folders to match the structure
# (below the root) given for iPhone text message
# attachments, using symbolic links to the actual files
# in the backup.
#
# The text message file is 3d0d7e5fb2ce288813306e4d4636395e047a3d28
# See also https://osxdaily.com/2010/07/08/read-iphone-sms-backup/
# https://commons.erau.edu/cgi/viewcontent.cgi?article=1099&context=jdfsl
@wjkennedy
wjkennedy / top100jiracsv.sh
Last active October 7, 2020 11:20
Hacky jq one-liner gets Top 100 most popular Jira Addons from the Marketplace
curl "https://marketplace.atlassian.com/rest/2/addons?application=jira&filter=popular&limit=100" | jq '._embedded.addons[]| [.name, .key, ._embedded.distribution.totalUsers, ._embedded.distribution.downloads]|@csv'|sed 's/\\//g'|sed 's/^\"//'| sed 's/\"$//'|tee -a jira.addons.csv
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active July 28, 2024 12:56
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@samr7
samr7 / backup2vcf.py
Created August 10, 2018 22:08
iOS backup contact list extractor and VCF converter
#!/usr/bin/python3
import sys
import sqlite3
import datetime
import base64
def convert_ab_time(tmx):
epoch = datetime.datetime(2001, 1, 1)
return epoch + datetime.timedelta(seconds=float(tmx))
@mattvh
mattvh / smstranscript.rb
Created July 7, 2017 02:52
Turns an iMessage conversation from an iPhone backup into an HTML transcript. MIT license.
# Converts an iPhone SMS.db file into HTML
# Mac: Library > Application Support > MobileSync > Backup
# Windows: C:\Users\<user name>\AppData\Roaming\Apple Computer\MobileSync\Backup
# Find the folder with the most recently modified date and open it.
# Locate the 3d0d7e5fb2ce288813306e4d4636395e047a3d28 file and copy it to the location of this script.
# Rename the file to "db.sqlite"
# Replace HANDLE_GOES_HERE with the phone number/etc identifying the other party in the DB.
# Run the script.
require "sqlite3"
@jcavat
jcavat / Dockerfile
Last active July 19, 2024 11:36
docker-compose with php/mysql/phpmyadmin/apache
FROM php:7.1.2-apache
RUN docker-php-ext-install mysqli
@zachbrowne
zachbrowne / GoogleHackMasterList.txt
Created October 20, 2015 09:36 — forked from cmartinbaughman/GoogleHackMasterList.txt
The definitive super list for "Google Hacking".
admin account info" filetype:log
!Host=*.* intext:enc_UserPassword=* ext:pcf
"# -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) "# -FrontPage-" inurl:service.pwd
"AutoCreate=TRUE password=*"
"http://*:*@www&#8221; domainname
"index of/" "ws_ftp.ini" "parent directory"
"liveice configuration file" ext:cfg -site:sourceforge.net
"parent directory" +proftpdpasswd
Duclassified" -site:duware.com "DUware All Rights reserved"
duclassmate" -site:duware.com
@brianv0
brianv0 / message_backup.py
Last active December 17, 2021 17:01
iOS messages html and json dump with file copying
#!/usr/bin/python
import json
import sys
import os
import datetime
import codecs
import sqlite3
import re
import struct
@duncansmart
duncansmart / ios-sms.sql
Created September 25, 2014 12:29
Query to extract iOS Messages from backup
-- Do a backup to iTunes and open "%APPDATA%\Apple Computer\MobileSync\Backup\*\3d0d7e5fb2ce288813306e4d4636395e047a3d28" as a SQLite database
SELECT chat.chat_identifier, message.is_from_me, datetime(message.date + 978307201, 'unixepoch') as date, message.text
FROM chat
JOIN chat_message_join on chat.ROWID = chat_message_join.chat_id
JOIN message on message.ROWID = chat_message_join.message_id
order by message.date