Skip to content

Instantly share code, notes, and snippets.

View haosdent's full-sized avatar
:octocat:

haosdent haosdent

:octocat:
View GitHub Profile
@haosdent
haosdent / chatgpt-data-analysis-code-execution.md
Created January 7, 2026 03:09 — forked from win3zz/chatgpt-data-analysis-code-execution.md
ChatGPT's Advanced Data Analysis and Code Execution - Experiments

ChatGPT's Advanced Data Analysis and Code Execution - Experiments

Recently, I learned that ChatGPT now allows advanced data analysis, which includes executing code (Python or possibly others). This feature is available to registered users via GPT-4o, albeit with limitations.

I quickly tried running system commands using this functionality, and here are the results:

Screenshot 2024-06-23 203306

It clearly shows that system commands can be executed through Python code in a sandboxed environment.

yum remove -y rpmforge-release
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
yum install -y ipython
@haosdent
haosdent / 12306.user.js
Created January 7, 2012 13:50 — forked from quietlynn/12306.user.js
12306 Auto Query => A javascript snippet to help you book ticket
/*
12306 Auto Query => A javascript snippet to help you book tickets online.
Copyright (C) 2011 Jingqin Lynn
Includes jQuery
Copyright 2011, John Resig
Dual licensed under the MIT or GPL Version 2 licenses.
http://jquery.org/license
Includes Sizzle.js