Skip to content

Instantly share code, notes, and snippets.

View misterpah's full-sized avatar
😲
you can put status on github now ?!

pah arif misterpah

😲
you can put status on github now ?!
View GitHub Profile
@FreddieOliveira
FreddieOliveira / docker.md
Last active April 27, 2025 16:55
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@tom-tan
tom-tan / gist:b5669b6dc1f1b897a39dd4eedecfbb9b
Last active January 19, 2021 14:27
podman を Alpine 内で動かそうとしたメモ
@Lennie
Lennie / gist:35ae648347ccb9d45962
Last active January 17, 2020 00:48
boot2docker-qemu
This is based on http://serverascode.com/2014/03/13/boot2docker-qemu.html
After running the script, you should be able to login using:
ssh-keygen -R $IP # if the host-key is already know for that IP-address
ssh-keyscan -p 22 $IP > /var/lib/libvirt/images/boot2docker1.hostfile
ssh-keygen -H -f /var/lib/libvirt/images/boot2docker1.hostfile
rm -f /var/lib/libvirt/images/boot2docker1.hostfile.old
ssh -p 22 -o UserKnownHostsFile=/var/lib/libvirt/images/boot2docker1.hostfile -i /var/lib/libvirt/images/boot2docker1.key docker@$IP
@staltz
staltz / introrx.md
Last active April 29, 2025 08:33
The introduction to Reactive Programming you've been missing
@fastmover
fastmover / tampermonkey.jquery.js
Last active January 18, 2016 23:06 — forked from eristoddle/tampermonkey.jquery.js
Open all links on a page in new windows.
function addJQuery(callback) {
var script = document.createElement("script");
script.setAttribute("src", "//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js");
script.addEventListener('load', function() {
var script = document.createElement("script");
script.textContent = "window.jQ=jQuery.noConflict(true);(" + callback.toString() + ")();";
document.body.appendChild(script);
}, false);
document.body.appendChild(script);
}
@eristoddle
eristoddle / tampermonkey.jquery.js
Created January 3, 2013 04:06
How to get jQuery to work in Chrome Tampermonkey userscripts
// ==UserScript==
// @name Vortek Preload
// @namespace vortek
// @description Load variables
// @include http://localhost/vortek_php/*
// @version 1
// ==/UserScript==
// a function that loads jQuery and calls a callback function when jQuery has finished loading
function addJQuery(callback) {
var script = document.createElement("script");