Skip to content

Commit

Permalink
arlo.fail first release
Browse files Browse the repository at this point in the history
  • Loading branch information
dark-vex committed Apr 7, 2021
0 parents commit 94c9768
Show file tree
Hide file tree
Showing 38 changed files with 1,268 additions and 0 deletions.
16 changes: 16 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
permalink: /404.html
---

<!doctype html>
<html>
{% include head.html %}
<body>
<div class="four-oh-four">
<img src="{{ site.url }}favicon.svg" alt="">
<h1>404</h1>
<p>Niente FTTH qui, solo rame e desolazione</p>
<a href="{{ site.url }}">Torna alla home</a>
</div>
</body>
</html>
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM ruby:latest

ENV VIPSVER 8.9.1
RUN apt update && apt -y upgrade &&\
apt install -y build-essential

RUN wget -O ./vips-$VIPSVER.tar.gz https://github.com/libvips/libvips/releases/download/v$VIPSVER/vips-$VIPSVER.tar.gz

RUN tar -xvzf ./vips-$VIPSVER.tar.gz && cd vips-$VIPSVER && ./configure && make && make install

COPY ./ /photo-stream

WORKDIR /photo-stream

RUN ruby -v && gem install bundler jekyll && bundle install

EXPOSE 4000

ENTRYPOINT bundle exec jekyll serve --host 0.0.0.0
32 changes: 32 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 4.0.0"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minima", "~> 2.5"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "exifr"
gem "jekyll_image_processing", git: "https://github.com/benubois/jekyll_image_processing"
gem "jekyll-tidy"
gem "jekyll-exif-data", "~> 0.0"
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
gem "tzinfo", "~> 1.2"
gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
110 changes: 110 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
GIT
remote: https://github.com/benubois/jekyll_image_processing
revision: e4a262620db88b5c5672d3398b120abc5fb74a61
specs:
jekyll_image_processing (0.1.0)
image_processing (>= 1.10.3)
jekyll (>= 0.10.0)

GEM
remote: https://rubygems.org/
specs:
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
concurrent-ruby (1.1.6)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
exifr (1.3.6)
ffi (1.12.2)
forwardable-extended (2.6.0)
htmlbeautifier (1.3.1)
htmlcompressor (0.4.0)
http_parser.rb (0.6.0)
i18n (1.8.2)
concurrent-ruby (~> 1.0)
image_processing (1.10.3)
mini_magick (>= 4.9.5, < 5)
ruby-vips (>= 2.0.17, < 3)
jekyll (4.0.0)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (>= 0.9.5, < 2)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 1.8)
jekyll-exif-data (0.0.3)
exifr (~> 1.3)
jekyll-feed (0.13.0)
jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (2.1.0)
sassc (> 2.0.1, < 3.0)
jekyll-seo-tag (2.6.1)
jekyll (>= 3.3, < 5.0)
jekyll-tidy (0.2.2)
htmlbeautifier
htmlcompressor
jekyll
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.1.0)
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.2.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
mini_magick (4.10.1)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.3)
rb-fsevent (0.10.3)
rb-inotify (0.10.1)
ffi (~> 1.0)
rouge (3.16.0)
ruby-vips (2.0.17)
ffi (~> 1.9)
safe_yaml (1.0.5)
sassc (2.2.1)
ffi (~> 1.9)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
thread_safe (0.3.6)
tzinfo (1.2.6)
thread_safe (~> 0.1)
tzinfo-data (1.2019.3)
tzinfo (>= 1.0.0)
unicode-display_width (1.6.1)
wdm (0.1.1)

PLATFORMS
ruby

DEPENDENCIES
exifr
jekyll (~> 4.0.0)
jekyll-exif-data (~> 0.0)
jekyll-tidy
jekyll_image_processing!
minima (~> 2.5)
tzinfo (~> 1.2)
tzinfo-data
wdm (~> 0.1.1)

BUNDLED WITH
2.1.4
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 Tim Van Damme

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@


# arlo.fail

Collezione di foto di [ARLO Fibercop](https://fibra.click/fibercop/) in cattive condizioni.

## Perchè?
- Perchè sì.
- Perchè noi prevediamo il futuro, vogliamo quindi documentare anche le sofferenze dei nuovi ARLO 🥺

## Come posso inviare una foto?

Puoi farlo da [Github](https://github.com/dark-vex/arlo.fail/discussions) creando una discussione nella sezione apposita o scrivendomi su [Telegram](https://t.me/DarkVex).

Powered by [Photo Stream](https://github.com/maxvoltar/photo-stream)

Special Thanks a [Zaygo](https://github.com/zayigo/pfs.fail) per il codice e [rieges](https://forum.fibra.click/u/rieges) per l'idea
77 changes: 77 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
#
# If you need help with YAML syntax, here are some quick references for you:
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
# https://learnxinyminutes.com/docs/yaml/
#
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.

title: pfs.fail
email: pfs@nlab.pw
author:
name: Nicola
email: pfs@nlab.pw #optional
website: https://nlab.pw
description: >- # this means to ignore newlines until "baseurl:"
Foto di PFS OpenFiber in condizioni poco dignitose, perchè sì.
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://pfs.fail/" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username:
github_username: zayigo
instagram_username:

# Build settings
plugins:
- jekyll-exif-data

image_processing:
large:
source: photos/original
destination: photos/large
resize_to_limit: [2048, 2048]
saver:
strip: true
thumbnail:
source: photos/original
destination: photos/thumbnail
resize_to_limit: [640, 640]
saver:
strip: true
tint:
source: photos/original
destination: photos/tint
resize_to_fill: [1,1]
saver:
strip: true

# Exclude from processing.
# The following items will not be processed, by default.
# Any item listed under the `exclude:` key here will be automatically added to
# the internal "default list".
#
# Excluded items can be processed by explicitly listing the directories or
# their entries' file path in the `include:` list.
#
# exclude:
# - .sass-cache/
# - .jekyll-cache/
# - gemfiles/
# - Gemfile
# - Gemfile.lock
# - node_modules/
# - vendor/bundle/
# - vendor/cache/
# - vendor/gems/
# - vendor/ruby/
25 changes: 25 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title data-title="{{ site.title }}">{{ page.title | default: site.title }}</title>
<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="{{ site.url }}feed.xml">
<meta property="og:title" content="{{ page.title | default: site.title }}">
<meta property="og:type" content="website">
<meta property="og:url" content="{{ page.url | absolute_url }}">
<meta property="og:image" content="{{ site.url }}{{ page.images[0].name | uri_escape | processed_path: 'large' | default: 'social-preview.png' }}">
<meta property="og:site_name" content="{{ site.title }}">
<meta property="og:description" content="{{ site.description }}">
<meta name="thumbnail" content="{{ site.url }}{{ page.images[0].name | uri_escape | processed_path: 'large' | default: 'social-preview.png' }}">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="{{ site.twitter_username }}">
<meta name="twitter:title" content="{{ page.title | default: site.title }}">
<meta name="twitter:description" content="{{ site.description }}">
<meta name="twitter:image:src" content="{{ site.url }}{{ page.images[0].name | uri_escape | processed_path: 'large' | default: 'social-preview.png' }}">
<meta name="description" content="{{ site.description }}">
<script type="text/javascript" src="{{ '/js/lazy-loading.js' | relative_url }}"></script>
<link rel="stylesheet" type="text/css" media="screen" href="{{ '/css/master.css' | relative_url }}" />
<link rel="shortcut icon" type="image/svg+xml" href="{{ '/favicon.svg' | relative_url }}" />
<link rel="shortcut icon" type="image/png" href="{{ '/favicon.png' | relative_url }}" />
<link rel="apple-touch-icon" href="touch-icon-iphone.png" />
<link rel="mask-icon" href="favicon.svg" />
</head>
Loading

0 comments on commit 94c9768

Please sign in to comment.