Skip to content

Instantly share code, notes, and snippets.

View ch3ckmat3's full-sized avatar
🎯
Focusing

Sohail Iqbal ch3ckmat3

🎯
Focusing
View GitHub Profile
@jlia0
jlia0 / agent loop
Last active March 19, 2026 01:09
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@SkyyySi
SkyyySi / youtube-vanced-alternatives.md
Last active February 28, 2026 19:18
A list of alternatives after the shutdown of Vanced

NONE OF THESE CLIENTS ARE VERIFIED BY ME FOR SECURITY OR ANYTHING ELSE! USE AT YOUR OWN RISK!


Update 2025-07-16: Use either Revanced, NewPipe or Firefox with add-ons. Revanced is my personal pick, due to it being a mod of the official App like Vanced, but better (e.g. it has integration of Sponsor Block, Return YouTube Disklike and more).

I wouldn't recommend Kiwi Browser anymore as it has been discontinued. AFAIK it has been accuired by Microsoft and the extension support has been merged into Edge (Canary). But you'd have to use Edge. Yuck.


#!/usr/bin/env python
import math
import sys
from moviepy.editor import AudioClip, VideoFileClip, concatenate_videoclips
# Get average RGB of part of a frame. Frame is H * W * 3 (rgb)
# Assumes x1 < x2, y1 < y2
@carzacc
carzacc / HomePage.dart
Created February 13, 2020 19:47
Flutter app for JWT tutorial
class HomePage extends StatelessWidget {
HomePage(this.jwt, this.payload);
factory HomePage.fromBase64(String jwt) =>
HomePage(
jwt,
json.decode(
ascii.decode(
base64.decode(base64.normalize(jwt.split(".")[1]))
)
@pirate
pirate / docker-compose-backup.sh
Last active January 16, 2026 05:59
Backup a docker-compose project, including all images, named and unnamed volumes, container filesystems, config, logs, and databases.
#!/usr/bin/env bash
### Bash Environment Setup
# http://redsymbol.net/articles/unofficial-bash-strict-mode/
# https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
# set -o xtrace
set -o errexit
set -o errtrace
set -o nounset
set -o pipefail
@sma
sma / guru_meditation.dart
Last active March 11, 2020 15:15
Shows an Aimga-style alert box at the top of the screen.
import 'package:flutter/widgets.dart';
/// Shows an overlayed Aimga-style alert box at the top of the screen with
/// either an iconic guru meditation message containing [code], a Dart [error]
/// with up to 10 lines of stack trace or a generic [message]. To dismiss the
/// alert box, the user has to tap it.
void showAlert(
BuildContext context, {
int code,
String message,
@TrillCyborg
TrillCyborg / mastodon-docker-setup.md
Last active December 15, 2025 03:22
Mastodon Docker Setup

Mastodon Docker Setup

Setting up

Clone Mastodon's repository.

# Clone mastodon to ~/live directory
git clone https://github.com/tootsuite/mastodon.git live
# Change directory to ~/live

cd ~/live

/// flutter_background_geolocation Hello World
/// https://github.com/transistorsoft/flutter_background_geolocation
////
// For pretty-printing location JSON. Not a requirement of flutter_background_geolocation
//
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter_background_geolocation/flutter_background_geolocation.dart'
@steven2358
steven2358 / ffmpeg.md
Last active March 14, 2026 04:30
FFmpeg cheat sheet
@noelboss
noelboss / git-deployment.md
Last active March 7, 2026 23:09
Simple automated GIT Deployment using Hooks

Simple automated GIT Deployment using GIT Hooks

Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.

How it works

You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.