Skip to content

Instantly share code, notes, and snippets.

View Neboer's full-sized avatar
🍉
Workermelon

Neboer Neboer

🍉
Workermelon
View GitHub Profile
@Neboer
Neboer / bilibili_video_screenshot.js
Last active September 5, 2023 14:27
给b站添加“截图”按钮的油猴脚本
'use strict';
// ==UserScript==
// @name BiliBili截图工具
// @namespace http://tampermonkey.net/
// @version 1.1
// @description 完全本地化的、在对bilibili视频进行截图的工具。
// @author Neboer
// @match https://www.bilibili.com/video/*
// @icon https://www.bilibili.com/favicon.ico
// @grant none
@usametov
usametov / topics-search.txt
Created February 16, 2021 01:50
how to search github.com for multiple topics
Github.com ui .currently does not natively supoport search for multiple topic tags as of now. However their api allows you to query multiple tags. Below is a simple example to query github.com with ecs and go topic tags.
curl -H "Accept: application/vnd.github.mercy-preview+json" \
https://api.github.com/search/repositories?q=topic:ecs+topic:go
Response from the github can be rather verbose so lets filter only relavant info such repo url and description.
curl -H "Accept: application/vnd.github.mercy-preview+json" \
https://api.github.com/search/repositories\?q\=topic:ecs+topic:go | jq '.items[] | {url:.url, description:.description}'
@keilmillerjr
keilmillerjr / Creating an AUR Package.md
Last active June 11, 2025 15:28
How to create and manage an AUR package. #AUR #ARCH #makepkg #PKGBUILD
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active June 17, 2025 00:32
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 !

@mivade
mivade / aiowatch.py
Created October 26, 2018 17:00
Using watchdog with asyncio
import asyncio
from pathlib import Path
from typing import Optional
from watchdog.events import FileSystemEvent, FileSystemEventHandler
from watchdog.observers import Observer
class _EventHandler(FileSystemEventHandler):
def __init__(self, queue: asyncio.Queue, loop: asyncio.BaseEventLoop,
@fernandoaleman
fernandoaleman / clone-git-repo.txt
Last active January 8, 2025 09:51
How to clone git repo with all branches and tags
# Clone repo
git clone --mirror [email protected]/fernandoaleman/app.git app/.git
# Change into app directory
cd app
# Update git config
git config --unset core.bare
# Checkout master branch
@staltz
staltz / introrx.md
Last active June 18, 2025 06:22
The introduction to Reactive Programming you've been missing