When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}| 127.0.0.1 da.feedportal.com | |
| 127.0.0.1 rss.feedportal.com | |
| 127.0.0.1 com.clubic.feedsportal.com |
| #!/usr/bin/env ruby | |
| # encoding: utf-8 | |
| # x264 presets guide : https://forum.handbrake.fr/viewtopic.php?f=6&t=19426 | |
| X264 = "b-adapt=2:rc-lookahead=50:me=umh:bframes=5:ref=6:direct=auto:trellis=2:subq=10:psy-rd=1.0,0.10:analyse=all" | |
| FORMAT = "--optimize --format mp4" | |
| QUALITY = "--ab 64 --mixdown mono --quality 23 -e x264 -x '#{X264}'" | |
| SIZE = "--width 1280 --height 720" | |
| ARGV.each do |param| |
| #!/usr/bin/env ruby | |
| # API Documentation at http://api.wikia.com/wiki/LyricWiki_API | |
| require 'open-uri' | |
| require 'json' | |
| require 'tmpdir' | |
| ARTIST = "Johnny Cash" |
| # Middleman - Inline SVG Helper | |
| # ------------------------------------------------------------------------------ | |
| # | |
| # Installation | |
| # ------------ | |
| # 1. Save this file at `[project_root]/helpers/image_helpers.rb` | |
| # 2. Open the project's Gemfile and add this line: `gem "oga"` | |
| # 3. Run `bundle install` from the command line | |
| # | |
| # Note: Restart your local Middleman server (if it's running) before continuing |
| import { Controller } from "stimulus"; | |
| import { get } from "@rails/request.js"; | |
| import { PageSnapshot } from "@hotwired/turbo"; | |
| export default class extends Controller { | |
| static values = { hoverTime: Number }; | |
| connect() { | |
| this.element.addEventListener("mouseover", this.prefetch.bind(this)); | |
| this.element.addEventListener("touchstart", this.prefetch.bind(this)); | |
| } |
# In your Gemfile
gem "localhost"
# Then, depending on your desired server
gem "falcon"
gem "puma"