Skip to content

Instantly share code, notes, and snippets.

@neolinux
neolinux / linux-full-desktop-container.md
Created July 11, 2022 06:30 — forked from morrolinux/linux-full-desktop-container.md
Run a full linux desktop in a container

In the following gist I'm going to guide you through the process of installing and booting an entire linux distribution with full desktop environment just like you would have with a classical VM, but with much better performance and much worse isolation :)

The reason why I did this was mainly because it's cool, but also to test new distros with decent graphics performance without actually booting them on my PC.

If you "try this at home" just keep in mind a container is not as secure as a VM, and some of the option we're going to explore will weaken container isolation from "a bit risky" to "totally unsafe" depending on what you choose.

Also, we're going to use systemd-nspawn for containers as it's probably the best fit for our use case and can also boot any linux partition without needing to prepare an apposite container image.

Less go!

@neolinux
neolinux / README.md
Created November 8, 2019 08:17 — forked from htdvisser/README.md
The Things Stack Bootstrap

The Things Stack Bootstrap

A script to bootstrap The Things Stack, based on the getting started guide.

Preparation

  • Clone this gist.
  • Spin up a fresh Ubuntu 18.04 server.
    • Var SSHUser: the username that will be used to SSH into the server. This user must be able to sudo.
  • Point a public DNS record to your server's IP address. It may take some time before this resolves.
@neolinux
neolinux / docker-examples.md
Created October 27, 2016 12:27 — forked from thaJeztah/docker-examples.md
Some docker examples

Commit, clone a container

To 'clone' a container, you'll have to make an image of that container first, you can do so by "committing" the container. Docker will (by default) pause all processes running in the container during commit to preserve data-consistency.

For example;

docker commit --message="Snapshot of my container" my_container my_container_snapshot:yymmdd

Keybase proof

I hereby claim:

  • I am neolinux on github.
  • I am neolinux (https://keybase.io/neolinux) on keybase.
  • I have a public key ASAe4H0ZXwAbYmStsWArzwQsFJ-5rdcca-oGlGQukwT7Gwo

To claim this, I am signing this object:

@neolinux
neolinux / sublime_text3_crack.md
Created February 19, 2016 09:20 — forked from sublime-crack4/sublime_text3_crack.md
Sublime Text crack 3105 3103 Win64 Win32 Linux64 Linux32 OSX Mac MacOS latest

cat

To pupils: all binaries can be downloaded http://pan.baidu.com/s/1ntCChyp

After overwriting, maybe need to run chmod +x /path/to/sublime_text. For linux default installation, need to add sudo.

For programmers:

@neolinux
neolinux / README.md
Created November 1, 2015 19:55 — forked from Coeur/README.md
Write to NTFS on OSX Yosemite and El Capitan

Install osxfuse (3.x.x) from https://github.com/osxfuse/osxfuse/releases.

Install Homebrew:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Update Homebrew formulae:

brew update