Skip to content

Instantly share code, notes, and snippets.

Arch Linux ARM on Crostini

Screenshot

I got Arch Linux ARM installed on a Lenovo Chromebook Duet! I mostly used the instructions from the Arch Wiki as reference.

0. Before we begin

[
{
"name": "Dactyl-Manuform 5x6"
},
[
{
"x": 3.5,
"c": "#ccccccc"
},
"\n3",
@dovakeen118
dovakeen118 / sinatra-activerecord-migration-workflow.md
Last active April 6, 2022 11:18
Sinatra ActiveRecord Migrations Workflow
  1. Create the database

    • bundle exec rake db:create
    • The name of the database is determined in database.yml
    • bundle exec is recommended to use before a command, this will execute the command using the versions specified in the Gemfile of this project (which may be different than what is installed on your machine)
  2. Create a migration file to add a table to the database

    • bundle exec rake db:create_migration NAME=the_name_of_your_migration
    • Typical name convention: “create_articles” where articles is the name of the table
    • Table names are plural (they hold multiple records, ex. “Articles”)
  • Model names are singular and lowercase (represents one record in the database table, ex. “article.rb”)
@ruebenramirez
ruebenramirez / setup-franz-ubuntu.sh
Created September 7, 2016 17:55
setup franz on ubuntu
#!/bin/bash
sudo rm -fr /opt/franz
sudo rm -fr /usr/share/applications/franz.desktop
# create installation dir
sudo mkdir -p /opt/franz
#install franz
@tarao
tarao / Dockerfile
Last active April 21, 2021 21:23
Octave in a docker container
FROM debian:jessie
RUN apt-get update && apt-get install -yq less sudo octave && apt-get clean
COPY entrypoint.sh /
ENTRYPOINT [ "/entrypoint.sh" ]
@jwinder
jwinder / sonic-pi-tutorial.md
Last active June 1, 2025 13:29
Sonic Pi in-app tutorials concatenated - last synced June 1 2025 - https://sonic-pi.net/tutorial.html - https://github.com/samaaron/sonic-pi - All credit & thanks to Sam Aaron!

1 Welcome to Sonic Pi

Welcome friend :-)

Welcome to Sonic Pi. Hopefully you're as excited to get started making your own sounds as I am to show you. It's going to be a really fun ride where you'll learn all about music, synthesis, programming, composition, performance and more.

But wait, how rude of me! Let me introduce myself - I'm

@magujs
magujs / i3-config-move_workspace
Last active February 24, 2022 18:43
i3 move a worksapce to another monitor (multi monitor setup)
# i3 move a workspace to another monitor (multi monitor setup)
mode "move_workspace" {
bindsym Up move workspace to output up
bindsym Down move workspace to output down
bindsym Left move workspace to output left
bindsym Up move workspace to output up
bindsym Escape mode "default"
}
@paulolieuthier
paulolieuthier / words.hs
Last active September 17, 2015 14:13
Haskell: break a list into sublists using a split element
--
-- Break a list into sublists using a split element
-- Author: Paulo Lieuthier
--
wordss :: Eq a => a -> [a] -> [[a]] -> [a] -> [[a]]
wordss _ [] acc word = acc ++ [word]
wordss sp (x:xs) acc word
| x == sp = wordss sp xs (acc ++ [word]) []
| otherwise = wordss sp xs acc (word ++ [x])
@jbergler
jbergler / .gitignore
Last active April 9, 2024 19:49
Acestream on Mac
.vagrant