Skip to content

Instantly share code, notes, and snippets.

View mohsenkhanpour's full-sized avatar

Mohsen Khanpour mohsenkhanpour

  • Tehran, Iran
View GitHub Profile
@gpspelle
gpspelle / firework-overlay-demo.markdown
Created August 28, 2020 08:24
Firework Overlay Demo

Firework Overlay Demo

This is a fork of my firework simulator that shows how it could be used as an overlay above custom content. Keep in mind I built this as a standalone project, not as a plugin/library. There are a bunch of issues you may possibly run into using this code.

Some features from the full version have been disabled, including sound effects and the menu system. Getting these to work well on a custom site involves even more work.

If you like this and use it yourself, I would appreciate if you credit me (Caleb Miller) at cmiller.tech.

A Pen by Gabriel Pellegrino da Silva on CodePen.

@Postrediori
Postrediori / Interactive-Graphics.md
Last active December 31, 2023 09:13
Online Resources With Generative and Interactive Graphics

Introduction

THis is a list of interactive coding tools online.

GLSL-based interactive tools

Shadertoy

Managing Gists Locally

by Danny Quah, May 2020 (revised Jan 2022)

Through the Embed instruction or plugin, Gist snippets on GitHub can conveniently provide posts on Medium, WordPress, and elsewhere supplementary information (lines of code, images, Markdown-created tables, and so on). But while Gist snippets on GitHub can be managed directly via browser or through something like [Gisto][], a user might also wish to manipulate them offline. This last is for many of the same reasons that a user seeks to clone a git repo to their local filesystem, modify it locally, and then only subsequently push changes back up to GitHub.

Here's how to do this:

Create the gist on GitHub and then clone it to your local filesystem:

@swipswaps
swipswaps / prefs.js
Created February 10, 2020 13:24
Firefox hardened config prefs.js
// Mozilla User Preferences
// DO NOT EDIT THIS FILE.
//
//READ READ READ READ
// I personally reccomend using HTTPS Everywhere, Privacy Badger, Decentraleyes, Privacy Possum and uBlock Origin
// They will block most trackers and ads and keep your traffic safe :)
// If you make changes to this file while the application is running,
@chronitis
chronitis / jupyter_kernel_list.md
Last active November 4, 2025 12:51
Updated Jupyter Kernels page

What is a kernel?

The kernel lets you run code in a particular programming language using one of the Jupyter tools, such as the Notebook, Jupyterlab or nteract. Installing additional kernels will let you run code in more languages using your existing jupyter installation.

Technically, the kernel is an application which speaks the Jupyter Messaging Protocol, to receive code input from the frontend and respond with the results.

Which kernels do I have installed?

In the Notebook or JupyterLab, the list of available kernels will be shown when trying to create a new notebook.

@JakubOboza
JakubOboza / private-docker-regs-with-free-tiers.markdown
Created May 30, 2019 07:15
Private Docker registry with free tiers for Developers.

List of sites with free tier limits

  • Docker Hub - One private repo/image spot for free
  • Three Scale - Very generous free tier 50GB of space, 500 Pulls a month etc..
  • Canister - 20 private repos with almost no limits on free tier
  • Code Fresh - Free tier for developers

Setup your own private registry

@ilius
ilius / article-style.css
Last active May 22, 2025 17:05 — forked from bangedorrunt/article-style.css
GoldenDict Dark Theme
body
{
margin-top: 1px;
margin-right: 3px;
margin-left: 2px;
margin-bottom: 3px;
background: #201F1F;
color: white;
font-family: Bookerly, Segoe UI, Palatino Linotype, Arial Unicode MS;
}
@fnky
fnky / ANSI.md
Last active October 5, 2026 01:59
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@allenyllee
allenyllee / install_tools.sh
Last active September 18, 2026 06:52
mount vhdx in linux
#!/bin/bash
# install qemu utils
sudo apt install qemu-utils
# install nbd client
sudo apt install nbd-client
@mutin-sa
mutin-sa / Top_Public_Time_Servers.md
Last active September 22, 2026 07:56
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com