Skip to content

Instantly share code, notes, and snippets.

View mdeanda's full-sized avatar

miguel de anda mdeanda

View GitHub Profile
@mdeanda
mdeanda / prepare.sh
Last active July 11, 2023 00:44
Scripted generation of Arch Linux ARM image to run in QEMU in an Arch Linux host (x86_64)
#!/bin/bash
#
# Script to build and run Arch Linux ARM in QEMU inside of Arch Linux (x86_64)
#
#
# Original how-to and script from:
# * https://gist.github.com/thalamus/561d028ff5b66310fac1224f3d023c12
# * https://git.sr.ht/~whynothugo/m1-vm/tree/main/item/prepare.sh
set -euo pipefail
@mdeanda
mdeanda / ubuntu-notes.md
Created October 27, 2019 04:50
Ubuntu Notes -- chrome

install chromium

sudo apt-get install chromium-browser

install google chrome

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
package com.thedeanda.servlet;
/*
* net/balusc/webapp/FileServlet.java
*
* Copyright (C) 2009 BalusC
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.