All Projects → hotline-webring → hotline-webring

hotline-webring / hotline-webring

Licence: MIT License
🔁 When I join a new webring / That can only mean one thing

Programming Languages

ruby
36898 projects - #4 most used programming language
HTML
75241 projects
SCSS
7915 projects
shell
77523 projects

Projects that are alternatives of or similar to hotline-webring

webring
“วงแหวนเว็บ” แห่งนี้สร้างขึ้นเพื่อส่งเสริมให้ศิลปิน นักออกแบบ และนักพัฒนาชาวไทย สร้างเว็บไซต์ของตัวเองและแบ่งปันการเข้าชมซึ่งกันและกัน
Stars: ✭ 125 (+792.86%)
Mutual labels:  webring

Hotline Webring

This can only mean one thing!

For more on what exactly this is and how to join the webring, please visit the homepage.

Getting Started

Set up the repo:

$ ./bin/setup

Run the app using Heroku Local:

$ heroku local

Run the specs:

$ bin/drake spec

Removing a site from the webring

Use Redirection#unlink:

irb> redirection = Redirection.find_by(slug: "whatever")
irb> redirection.unlink

This will destroy the Redirection and re-link its ring neighbors, sealing the breach.

Blocking

When blocking a URL, specify the bare URL, without http or www subdomain.

To block everything from evil.com but none of its subdomains:

BlockedReferrer.create!(host_with_path: "evil.com")

To block everything under the /one/ directory (evil.com/one/*), but not the root (for example, to block a user directory):

BlockedReferrer.create!(host_with_path: "good.com/~evil")

To block a subdomain:

BlockedReferrer.create!(host_with_path: "evil.good.com")

Guidelines

Use the following guides for getting things done, programming well, and programming in style.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].