Skip to content

Instantly share code, notes, and snippets.

@ouroborus
ouroborus / void_miner.md
Last active January 17, 2022 21:48
Void Miner

Void Miner Requirements

Minecraft 1.12.x
Environmental Tech 2.0.x

Tier Volume Frame¹ Panel Modifier Core Lens Material Upgrade²
1 7 x 4 x 7 24 (+24) 20 (+20) 0 2 1 Litherite 85
2 7 x 5 x 7 32 (+8) 16 (-4) 4 3 1 Erodium 118
3 9 x 6 x 9 56 (+24) 52 (+36) 8 4 1 Kyronite 166
@jhjguxin
jhjguxin / creating-nested-resources-in-ruby-on-rails-3-and-updating-scaffolding-links-and-redirection.markdown
Created July 9, 2012 03:32
Creating nested resources in ruby on rails 3 and updating scaffolding links and redirection
@cdmwebs
cdmwebs / friendly_urls.markdown
Created September 11, 2011 15:50 — forked from jcasimir/friendly_urls.markdown
Friendly URLs in Rails

Friendly URLs

By default, Rails applications build URLs based on the primary key -- the id column from the database. Imagine we have a Person model and associated controller. We have a person record for Bob Martin that has id number 6. The URL for his show page would be:

/people/6

But, for aesthetic or SEO purposes, we want Bob's name in the URL. The last segment, the 6 here, is called the "slug". Let's look at a few ways to implement better slugs.

@kogakure
kogakure / .gitignore
Last active December 17, 2023 08:21
Git: .gitignore file for LaTeX projects
*.acn
*.acr
*.alg
*.aux
*.bak
*.bbl
*.bcf
*.blg
*.brf
*.bst