Skip to content

Instantly share code, notes, and snippets.

While Chrome OS can run a linux virtual machine and you can install checkra1n, you cannot use it because you can't give it usb access to your device. In this tutorial, we're going to enable usb booting on your chromebook and then boot into checkn1x, a tiny linux distribution that you can run from a usb drive that has checkra1n and everything it needs to run pre-installed.

Before continuing, make sure you have a usb flash drive that you don't mind erasing as this process WILL WIPE ALL DATA ON THE DRIVE.

Back up your data

Enabling or disabling developer mode will wipe your chromebook. Most things like extensions, apps, docs, slideshows and such are saved to your google drive automatically and aren't saved locally. Anything stored locally however, such as things in the “My files” tab will be gone unless you upload them somewhere else, such as your google drive.

Enable developer mode

This process is the same on nearly all chromebooks but if it doesn't work for you, google “enable developer mode

@jbinto
jbinto / getTitleNative.js
Created January 13, 2016 07:32
Get title from remote HTML URL - without jQuery
// Only using native browser features (no jQuery).
// Uses `fetch`, `DOMParser` and `querySelectorAll`.
const getTitle = (url) => {
return fetch(`https://crossorigin.me/${url}`)
.then((response) => response.text())
.then((html) => {
const doc = new DOMParser().parseFromString(html, "text/html");
const title = doc.querySelectorAll('title')[0];
return title.innerText;
@masih
masih / fish_shell_local_install.sh
Last active November 15, 2024 03:54
Installs Fish Shell without root access
#!/bin/bash
# Script for installing Fish Shell on systems without root access.
# Fish Shell will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
FISH_SHELL_VERSION=2.1.1
@robwierzbowski
robwierzbowski / gitcreate.sh
Last active December 27, 2024 11:23
A simple litte script. Create and push to a new github repo from the command line.
#!/bin/bash
# https://gist.github.com/robwierzbowski/5430952/
# Create and push to a new github repo from the command line.
# Grabs sensible defaults from the containing folder and `.gitconfig`.
# Refinements welcome.
# Gather constant vars
CURRENTDIR=${PWD##*/}
GITHUBUSER=$(git config github.user)