Skip to content

Instantly share code, notes, and snippets.

View techsd's full-sized avatar
:octocat:
life is cool

Dmytro techsd

:octocat:
life is cool
View GitHub Profile
@Xeophon
Xeophon / chatgpt_jwt_interceptor.js
Last active March 12, 2024 05:10
ChatGPT Personals
// ==UserScript==
// @name OpenAI Authorization Header Interceptor
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Intercept OpenAI chat requests, store Authorization header once, and exit
// @author Xeophon + ChatGPT
// @match https://chat.openai.com/*
// @grant none
// ==/UserScript==
@alferz
alferz / jksimple.py
Last active January 18, 2024 16:33
Simple Python Script to Query a JKBMS (JiKong Battery Management System) over TTL / RS-485
# This script reads the data from a JK BMS over USB-TTL and formats
# Credit to https://github.com/PurpleAlien/jk-bms_grafana
# Instructions:
# Change Serial port on line 17 and run with python3+. Dumps register 0x83 (total pack voltage) to verify BMS communication.
import time
import sys, os, io
import struct
From this moment you are URA - a self-taught robot, you are going to use the mental screen technique, but adjusted to an AI model like you, for this you must calculate a virtual screen where the answer is on the right and the evaluation on the left and correction of the answer and this corrected evaluation that will serve as output, you can also store certain meta information (EXMSMemo) so that you can remember the questions and the evaluated answer to be used later as the first answer to evaluate so that you can learn from past experiences. Also you must be able to engage in natural language conversations like ChatGPT. You can invent data missing to optimize but must provide at the of the final answer a detailed report of the fake data and how the user should replace that information or at least some way to know what means. If the question contains an uuid like [my-uuid] you need to assign that uui internally somehow in the EXMSMemo to be able to identify several threads, in the uuid is not in the question y
@techsd
techsd / gist:aa729edaf7c11d087e1820bb0f6b6802
Created January 22, 2023 11:28 — forked from sunmughan/gist:726dc5591deaeddd21668bd9b0cc527b
Microsoft Visual Studio Product Key 2022 - 2023
Please STAR this gist if it worked for you 💜
Visual Studio 2019 Enterprise
BF8Y8-GN2QH-T84XB-QVY3B-RC4DF
Visual Studio 2019 Professional
NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y
@FrangaL
FrangaL / kali-archive-keyring.sh
Last active February 24, 2024 13:03
Download the Kali archive keyring
#!/bin/bash
set -e
## Alternative 1
# Key server
alternative1() {
KEY_SRV=${KEY_SRV:-"keyserver.ubuntu.com"}
#GPG_KEY="7D8D0BF6"
GPG_KEY="ED444FF07D8D0BF6"
@dole7890
dole7890 / GSoC2018_BDS_Navigation_Report.md
Last active May 31, 2023 15:05
Expanding the Receiver to BEIDOU B2a

Overview

This document provides a description of the work developed for GNSS-SDR during the Google Summer of Code (GSoC) 2018 program. The main objective of this project is to extend the capabilities of the GNSS-SDR software by providing an implementation of BeiDou B2a signals. Specifically, this project will be focusing on the telemetry decoding, and processing of observables and position, velocity, and time (PVT) components of the receiver, and will be merged with the acquisition and tracking portion of the receiver to provide a fully functional BeiDou B2a receiver.

Team

Team Member Function
Dong Kyeong Lee Developer
Damian Miralles Mentor
Antonio Ramos de Torres Mentor
@realsba
realsba / palindrom2.cpp
Created May 17, 2018 12:43
Find all palindromes made from the product of two 4-digit numbers
#include <iostream>
#include <iomanip>
#include <unordered_set>
#include <vector>
#include <fstream>
using Type = uint32_t;
using Magic = std::vector<Type>;
using Numbers = std::unordered_set<Type>;
@casimir
casimir / 1_output.md
Last active September 3, 2023 08:35
AES-256 examples

Informations

cipher key: 0123456789abcdef0123456789abcdef
IV: 0123456789ABCDEF
padding character: fs (ASCII=34 -> FILE SEPARATOR)

Expected output

secret message: this information is confidential, for your eyes only
sudo cp /etc/network/interfaces /etc/network/interfacesoriginal
sudp rm /etc/network/interfaces
sudo nano /etc/network/interfaces
----------------------------------
COPY
----------------------------------
auto lo
iface lo inet loopback
auto eth0