Skip to content

Instantly share code, notes, and snippets.

View N30Z3N's full-sized avatar
🐰

N30Z3N

🐰
  • 1337x
View GitHub Profile
@romanilyin
romanilyin / antigravity_win11_error.md
Last active November 28, 2025 14:51
Issue with Google Antigravity + MCP "invalid trailing data at the end of stream"

Issue with Google Antigravity + MCP "invalid trailing data at the end of stream"

Root Cause

The error "invalid trailing data at the end of stream" during MCP initialization in Google Antigravity (unlike in Cursor and other tools) is related to differences in handling line breaks on Windows.

The problem is as follows:

  • On Windows, standard line break characters use CRLF (\r\n) instead of LF (\n).
  • When sending JSON-RPC messages via stdin/stdout, Google Antigravity validates the protocol format more strictly.
  • The \r (carriage return) character from the \r\n pair is interpreted as "trailing data" — a legal end of the message, but unexpectedly followed by extra characters[3].
@MCOfficer
MCOfficer / README.md
Last active October 27, 2024 18:24
Bash script to download files from gofile.io
@gamunu
gamunu / firefox-quantum-telemetry
Last active March 2, 2025 08:34
Disabling Firefox Quantum telemetry
I would like to recommend checking out https://librewolf.net/ instead of Firefox due to recent controversies. Give it a go.
Disabling telemetry takes a little more work but can be accomplished in about five minutes. Type "about:config" in the address bar, and you will be notified that you could void your warranty (Firefox has a warranty?). Click on "I accept the risk." Type in "telemetry" in the search bar to see the results. Only some can be changed, and according to Mozilla, they are:
browser.newtabpage.activity-stream.feeds.telemetry
browser.newtabpage.activity-stream.telemetry
browser.ping-centre.telemetry
toolkit.telemetry.archive.enabled
toolkit.telemetry.bhrPing.enabled
toolkit.telemetry.enabled
@jangxx
jangxx / rwthmoodle_video_urls.user.js
Last active September 25, 2023 06:25
A userscript to extract video URLs from video embedded into RWTHonline, which are not uploaded as regular files.
// ==UserScript==
// @name RWTHmoodle Opencast Video Catcher
// @namespace https://literalchaos.de
// @version 0.2
// @description Captures video urls played by the player embedded into RWTHmoodle
// @author Jan Scheiper
// @match https://moodle.rwth-aachen.de/*
// @match https://engage.streaming.rwth-aachen.de/*
// @grant GM_webRequest
// @grant GM_xmlhttpRequest
@imba-tjd
imba-tjd / .Cloud.md
Last active December 12, 2025 06:03
☁️ 一些免费的云资源

  • IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装。PaaS提供语言环境和框架(可以自己选)。SaaS只能使用开发好的软件(卖软件本身,如税务会计、表格文字处理)。BaaS一般类似于非关系数据库,但各家不通用
  • 云服务的特点:零前期成本 & 按需付费 & 弹性(类似于租,可随时多加、退掉;但没有残值)、高可用(放在机房中,不同AZ间水电隔离)

如果你想补充内容,建议优先给 free-for-dev 提PR,还能混个高星repo的contributor,没必要加到本列表里。
If you want to make improvements, I would recommend you contributing to free-for-dev rather than this list.

其他人的集合

@MBRCTV
MBRCTV / meganz.php
Last active July 18, 2024 17:38
Mega.nz Direct Link Generator
<?php
echo '<html><head><title>Mega downloader</title></head><body><h2>Enter Url</h2><form action="mega.php" method="POST"> <br> URL: <input type="text" name="URL"> <br><input type="submit" value="Submit"></form>';
if ($_POST) {
error_reporting(0);
$url = $_POST['URL'];
preg_match("/!(.+?)!/", $url, $output_array);
@atiris
atiris / osmc-java-jdownloader-installer.sh
Last active September 8, 2023 13:01
Wizard to install the current version of JDownloader (jdownloader.org) on raspberry pi (running osmc or another linux). You can install (together or individually) latest java for RPI, download and install headless JDownloader (my.jdownloader.org) and create service to start JDownloader after boot and restart automatically after crash.
#!/bin/bash
# Script: osmc-java-jdownloader-installer.sh
# Author: Jozef Pažin
# Description: Wizard to install the current version of java and/or jdownloader on raspberry pi running osmc.
# License: MIT | use arbitrarily, attribution is not required
# How to run:
# - Check if this code is correct first because this script need to be run under root and run gist
# from web is not recommended in terms of security only that you know exactly what it does. Check it:
# curl -Ls https://gist.github.com/atiris/34dc670264274b3a472f2a718e4de83a/raw | nano -
@werrpy
werrpy / rclone.conf
Last active May 19, 2021 21:27
rclone Unlimited Cloud Storage Script (Google Drive)
[media-local-secret]
type = crypt
remote = secret/media
filename_encryption = standard
password =
password2 =
[media-remote-secret]
type = crypt
remote = gdrive:path/to/media
@WtfJoke
WtfJoke / jd.sh
Last active August 19, 2021 09:51
JDownloader 2 headless startup script (starts jdownloader as non root user jd)
#! /bin/sh
### BEGIN INIT INFO
# Provides: JDownloader2
# Required-Start: networking
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: JDownloader2 server daemon
# Description: JDownloader2 server daemon
### END INIT INFO