Skip to content

Instantly share code, notes, and snippets.

@paulirish
paulirish / how-to-view-source-of-chrome-extension.md
Last active July 17, 2025 23:11
How to view-source of a Chrome extension

Option 1: Command-line download extension as zip and extract

extension_id=jifpbeccnghkjeaalbbjmodiffmgedin   # change this ID
curl -L -o "$extension_id.zip" "https://clients2.google.com/service/update2/crx?response=redirect&os=mac&arch=x86-64&nacl_arch=x86-64&prod=chromecrx&prodchannel=stable&prodversion=44.0.2403.130&x=id%3D$extension_id%26uc" 
unzip -d "$extension_id-source" "$extension_id.zip"

Thx to crxviewer for the magic download URL.

@Lakshanz
Lakshanz / limit-tc.sh
Last active December 18, 2024 07:27
TC limiting : Helps to set maximum upload/download speed limit to your linux server/pc's selected network interface.
#!/bin/bash
# Full path to tc binary
TC=$(which tc)
#
# NETWORK CONFIGURATION
# interface - name of your interface device
# interface_speed - speed in mbit of your $interface
# ip - IP address of your server, change this if you don't want to use
@kekru
kekru / Docker connect to remote server.md
Last active March 21, 2025 01:29
Connect to another host with your docker client, without modifying your local Docker installation

Run commands on remote Docker host

This is how to connect to another host with your docker client, without modifying your local Docker installation or when you don't have a local Docker installation.

Enable Docker Remote API

First be sure to enable the Docker Remote API on the remote host.

This can easily be done with a container.
For HTTP connection use jarkt/docker-remote-api.

@Prajjwal
Prajjwal / ephemeral-file-sharing-services.md
Last active May 31, 2025 09:49
A List of Ephemeral File Sharing Services

A List of Ephemeral File Sharing Services

Contributions welcome.

~ Prajjwal Singh

Service CLI? Max Size Direct Access Files Expire? Can Limit Download Count? Password Protection HTTPS
c-v.sh curl -F 4 GB Yes Yes, by Mister Alg. No No Enforced
FileIO Yes 5 GB Yes Optionally Fixed @ 1 No Yes
@bmaupin
bmaupin / free-backend-hosting.md
Last active July 11, 2025 09:31
Free backend hosting
@bmaupin
bmaupin / free-database-hosting.md
Last active July 18, 2025 20:05
Free database hosting
@danielbene
danielbene / docker_install.sh
Last active August 29, 2024 05:16
Docker install script for linux.
#!/bin/bash
DIST_BASE="ubuntu"
apt update
apt install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/$DIST_BASE/gpg | sudo apt-key add -
apt-key fingerprint 0EBFCD88
@oofnikj
oofnikj / answerfile
Last active July 18, 2025 10:15
Install Docker on Termux
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="-z UTC"
@diyism
diyism / google cloud shell vps
Last active November 1, 2024 15:51
google cloud shell vps
#go to https://shell.cloud.google.com/
#in Terminal(bottom half page) or Cloud Shell tab in IDE(top half page):
wget https://pkgs.tailscale.com/stable/tailscale_1.30.2_amd64.tgz
tar zxvf tailscale_1.30.2_amd64.tgz
mkdir tailscale
cp tailscale_1.30.2_amd64/tailscale* tailscale/
rm -rf tailscale_1.30.2_amd64*
#in fact, google cloud shell using debian 10, we can use apt: