Skip to content

Instantly share code, notes, and snippets.

@francois-rozet
francois-rozet / flow_matching.py
Last active December 23, 2025 08:39
Flow Matching in 100 LOC
#!/usr/bin/env python
import math
import matplotlib.pyplot as plt
import torch
import torch.nn as nn
from sklearn.datasets import make_moons
from torch import Tensor
from tqdm import tqdm
@egmontkob
egmontkob / Hyperlinks_in_Terminal_Emulators.md
Last active December 23, 2025 08:39
Hyperlinks in Terminal Emulators
@bunsyy
bunsyy / Microsoft 365 with License for MacOS.md
Last active December 23, 2025 08:37
Microsoft 365 with License for MacOS Download & Installation Guide

Download & Installation Guide

Download

Microsoft Office 365

You can download Microsoft Office 365 via this link. After you have downloaded the Office, you just need to install it and don't open the yet.

Note: If you are not sure about the installation, you can just download it for now. You can follow the installation guide below later.

@joulgs
joulgs / terminal.txt
Last active December 23, 2025 08:37
How install libssl1.1 on ubuntu 22.04
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
@MahdadGhasemian
MahdadGhasemian / minio_backup_restore_guide.md
Last active December 23, 2025 08:36
Steps to backup and restore Minio Buckets

Restore Backup with Minio (Minio <----> Local)

Instructions for restoring buckets using Minio mirror features.

Install Minio Client

Install Link install link

@probonopd
probonopd / Wayland.md
Last active December 23, 2025 08:33
Think twice about Wayland. It breaks everything!

Think twice before abandoning X11. Wayland breaks everything!

tl;dr: Wayland is not "the future", it is merely an incompatible alternative to the established standard with a different set of priorities and goals.

Wayland breaks everything! It is binary incompatible, provides no clear transition path with 1:1 replacements for everything in X11, and is even philosophically incompatible with X11. Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.

Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating e

@asheroto
asheroto / README.md
Last active December 23, 2025 08:29
Bypass Windows 11 Upgrade Assistant / PC Health Check / TPM and CPU Settings. Ignore PC Health Check results.

Bypass Windows 11 Upgrade Assistant / Setup Hardware Checks (TPM, CPU, RAM)

This PowerShell script allows you to bypass TPM 2.0, unsupported CPU, and memory checks enforced by the Windows 11 Upgrade Assistant and setup.exe from Windows installation media. It eliminates common upgrade blocks such as:

  • This PC doesn't currently meet Windows 11 system requirements.
  • TPM 2.0 must be supported and enabled on this PC.
  • The processor isn't currently supported for Windows 11.

What It Does

@Code-Gym
Code-Gym / 發佈機構清單.csv
Last active December 23, 2025 08:29
Code Gym 美股目標價發佈機構清單
序號 機構名稱 官方網站 類型 創立年份 簡介
1 Barron's https://www.barrons.com 金融週刊 1921 道瓊旗下頂尖投資刊物
2 Benzinga https://www.benzinga.com 金融新聞平台 2010 即時市場新聞和API服務
3 CNBC https://www.cnbc.com 財經電視/網站 1989 全球領先商業新聞頻道
4 Cantech Letter https://www.cantechletter.com 科技財經新聞 N/A 專注加拿大科技產業
5 Investing.com https://www.investing.com 金融入口網站 2007 全球金融市場平台
6 Investor's Business Daily https://www.investors.com 投資日報 1984 CAN SLIM投資方法論
7 MarketWatch https://www.marketwatch.com 金融資訊網站 1997 道瓊旗下市場數據平台
8 Markets Insider https://markets.businessinsider.com 市場新聞 N/A Business Insider旗下
9 Pulse 2.0 https://pulse2.com 科技商業新聞 N/A 科技創新和商業趨勢
@markasoftware
markasoftware / enterprise_token.rb
Last active December 23, 2025 08:26
OpenProject Enterprise mode for free
############ If you are using DOCKER all-in-one image, create Dockerfile like: ################
############ FROM openproject/openproject:16 ################
############ COPY ./enterprise_token.rb app/models/enterprise_token.rb ################
############ If you are runing a manual installation: ################
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ If using some other set up (eg docker-compose), read the comments on ################
############ https://gist.github.com/markasoftware/f5b2e55a2c2e3abb1f9eefcdf0bfff45 ################