This commit is contained in:
Jeffrey Paul 2020-09-14 04:40:50 -07:00
commit a7fb99dad6
19 changed files with 1220 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
vendor
.jekyll-metadata
.bundle
_site

34
Dockerfile Normal file
View File

@ -0,0 +1,34 @@
FROM ruby@sha256:7c77d7351acbf335aeda71bce3ef60403ce703de87064b885f340592e97cc11f AS builder
# I sort of hate that this is duped in .drone.yml and here.
# note that if you update one, you probably have to update the other.
RUN apt update && apt install -y \
bsdmainutils \
build-essential \
make \
bundler \
ghostscript \
imagemagick \
libxml2-dev \
libxslt-dev \
nodejs \
npm \
pkg-config
WORKDIR /var/jekyll
ADD ./Gemfile* /var/jekyll/
RUN npm install -g yarn && \
echo "gem: --no-ri --no-rdoc" > ~/.gemrc && \
yes | gem update --system && \
gem install bundler && \
bundle install
ADD . /var/jekyll/
RUN make build
# finally, copy static over to serving container:
FROM nginx
COPY --from=builder /var/jekyll/_site /usr/share/nginx/html/

7
Gemfile Normal file
View File

@ -0,0 +1,7 @@
source "https://rubygems.org"
gem 'github-pages'
gem 'jekyll-minifier'
gem "nokogiri", ">= 1.8.5"
gem "rubyzip", ">= 1.3.0"
gem "jekyll-last-modified-at", "~> 1.1"
gem 'jekyll-feed'

270
Gemfile.lock Normal file
View File

@ -0,0 +1,270 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (6.0.3.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2, >= 2.2.2)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.11.1)
colorator (1.1.0)
commonmarker (0.17.13)
ruby-enum (~> 0.5)
concurrent-ruby (1.1.6)
cssminify2 (2.0.1)
dnsruby (1.61.3)
addressable (~> 2.5)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
ethon (0.12.0)
ffi (>= 1.3.0)
eventmachine (1.2.7)
execjs (2.7.0)
faraday (1.0.1)
multipart-post (>= 1.2, < 3)
ffi (1.13.0)
forwardable-extended (2.6.0)
gemoji (3.0.1)
github-pages (206)
github-pages-health-check (= 1.16.1)
jekyll (= 3.8.7)
jekyll-avatar (= 0.7.0)
jekyll-coffeescript (= 1.1.1)
jekyll-commonmark-ghpages (= 0.1.6)
jekyll-default-layout (= 0.1.4)
jekyll-feed (= 0.13.0)
jekyll-gist (= 1.5.0)
jekyll-github-metadata (= 2.13.0)
jekyll-mentions (= 1.5.1)
jekyll-optional-front-matter (= 0.3.2)
jekyll-paginate (= 1.1.0)
jekyll-readme-index (= 0.3.0)
jekyll-redirect-from (= 0.15.0)
jekyll-relative-links (= 0.6.1)
jekyll-remote-theme (= 0.4.1)
jekyll-sass-converter (= 1.5.2)
jekyll-seo-tag (= 2.6.1)
jekyll-sitemap (= 1.4.0)
jekyll-swiss (= 1.0.0)
jekyll-theme-architect (= 0.1.1)
jekyll-theme-cayman (= 0.1.1)
jekyll-theme-dinky (= 0.1.1)
jekyll-theme-hacker (= 0.1.1)
jekyll-theme-leap-day (= 0.1.1)
jekyll-theme-merlot (= 0.1.1)
jekyll-theme-midnight (= 0.1.1)
jekyll-theme-minimal (= 0.1.1)
jekyll-theme-modernist (= 0.1.1)
jekyll-theme-primer (= 0.5.4)
jekyll-theme-slate (= 0.1.1)
jekyll-theme-tactile (= 0.1.1)
jekyll-theme-time-machine (= 0.1.1)
jekyll-titles-from-headings (= 0.5.3)
jemoji (= 0.11.1)
kramdown (= 1.17.0)
liquid (= 4.0.3)
mercenary (~> 0.3)
minima (= 2.5.1)
nokogiri (>= 1.10.4, < 2.0)
rouge (= 3.19.0)
terminal-table (~> 1.4)
github-pages-health-check (1.16.1)
addressable (~> 2.3)
dnsruby (~> 1.60)
octokit (~> 4.0)
public_suffix (~> 3.0)
typhoeus (~> 1.3)
html-pipeline (2.13.0)
activesupport (>= 2)
nokogiri (>= 1.4)
htmlcompressor (0.4.0)
http_parser.rb (0.6.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
jekyll (3.8.7)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 0.7)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 2.0)
kramdown (~> 1.14)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
safe_yaml (~> 1.0)
jekyll-avatar (0.7.0)
jekyll (>= 3.0, < 5.0)
jekyll-coffeescript (1.1.1)
coffee-script (~> 2.2)
coffee-script-source (~> 1.11.1)
jekyll-commonmark (1.3.1)
commonmarker (~> 0.14)
jekyll (>= 3.7, < 5.0)
jekyll-commonmark-ghpages (0.1.6)
commonmarker (~> 0.17.6)
jekyll-commonmark (~> 1.2)
rouge (>= 2.0, < 4.0)
jekyll-default-layout (0.1.4)
jekyll (~> 3.0)
jekyll-feed (0.13.0)
jekyll (>= 3.7, < 5.0)
jekyll-gist (1.5.0)
octokit (~> 4.2)
jekyll-github-metadata (2.13.0)
jekyll (>= 3.4, < 5.0)
octokit (~> 4.0, != 4.4.0)
jekyll-last-modified-at (1.3.0)
jekyll (>= 3.7, < 5.0)
posix-spawn (~> 0.3.9)
jekyll-mentions (1.5.1)
html-pipeline (~> 2.3)
jekyll (>= 3.7, < 5.0)
jekyll-minifier (0.1.10)
cssminify2 (~> 2.0)
htmlcompressor (~> 0.4)
jekyll (>= 3.5)
json-minify (~> 0.0.3)
uglifier (~> 4.1)
jekyll-optional-front-matter (0.3.2)
jekyll (>= 3.0, < 5.0)
jekyll-paginate (1.1.0)
jekyll-readme-index (0.3.0)
jekyll (>= 3.0, < 5.0)
jekyll-redirect-from (0.15.0)
jekyll (>= 3.3, < 5.0)
jekyll-relative-links (0.6.1)
jekyll (>= 3.3, < 5.0)
jekyll-remote-theme (0.4.1)
addressable (~> 2.0)
jekyll (>= 3.5, < 5.0)
rubyzip (>= 1.3.0)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-seo-tag (2.6.1)
jekyll (>= 3.3, < 5.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-swiss (1.0.0)
jekyll-theme-architect (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-cayman (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-dinky (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-hacker (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-leap-day (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-merlot (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-midnight (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-minimal (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-modernist (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-primer (0.5.4)
jekyll (> 3.5, < 5.0)
jekyll-github-metadata (~> 2.9)
jekyll-seo-tag (~> 2.0)
jekyll-theme-slate (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-tactile (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-theme-time-machine (0.1.1)
jekyll (~> 3.5)
jekyll-seo-tag (~> 2.0)
jekyll-titles-from-headings (0.5.3)
jekyll (>= 3.3, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
jemoji (0.11.1)
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
json (2.3.0)
json-minify (0.0.3)
json (> 0)
kramdown (1.17.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_portile2 (2.4.0)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.14.1)
multipart-post (2.1.1)
nokogiri (1.10.9)
mini_portile2 (~> 2.4.0)
octokit (4.18.0)
faraday (>= 0.9)
sawyer (~> 0.8.0, >= 0.5.3)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
posix-spawn (0.3.14)
public_suffix (3.1.1)
rb-fsevent (0.10.4)
rb-inotify (0.10.1)
ffi (~> 1.0)
rouge (3.19.0)
ruby-enum (0.8.0)
i18n
rubyzip (2.3.0)
safe_yaml (1.0.5)
sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sawyer (0.8.2)
addressable (>= 2.3.5)
faraday (> 0.8, < 2.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
thread_safe (0.3.6)
typhoeus (1.4.0)
ethon (>= 0.9.0)
tzinfo (1.2.7)
thread_safe (~> 0.1)
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
unicode-display_width (1.7.0)
zeitwerk (2.3.0)
PLATFORMS
ruby
DEPENDENCIES
github-pages
jekyll-feed
jekyll-last-modified-at (~> 1.1)
jekyll-minifier
nokogiri (>= 1.8.5)
rubyzip (>= 1.3.0)
BUNDLED WITH
2.0.2

28
Makefile Normal file
View File

@ -0,0 +1,28 @@
export LC_ALL := C.UTF-8
export LANG := en_US.UTF-8
export LANGUAGE := en_US.UTF-8
.PHONY: vendor localserve clean distclean deploy build
default: localserve
build: _site
_includes/gitrev.html:
git rev-parse HEAD | colrm 9 > $@
_site: vendor _includes/gitrev.html
JEKYLL_ENV=production bundle exec jekyll build
find ./_site
vendor:
bundle install --path vendor/bundle
localserve: vendor _includes/gitrev.html
JEKYLL_ENV=production bundle exec jekyll serve --incremental
clean:
rm -rf tmp _site .bundle vendor
distclean: clean
rm -rfv vendor

12
README.markdown Normal file
View File

@ -0,0 +1,12 @@
# synshop.info
Jekyll sources for the synshop.info
# See Also
* [jekyll](https://jekyllrb.com/)
* [jekyll/jekyll](https://github.com/jekyll/jekyll)
# Copyright / License
Public domain.

49
_config.yml Normal file
View File

@ -0,0 +1,49 @@
# Site settings
encoding: utf-8
title: synshop.info
email: info@synshop.org
description: > # this means to ignore newlines until "baseurl:"
Information about the SYN Shop
baseurl: "" # the subpath of your site, e.g. /blog/
url: "https://synshop.info" # the base hostname & protocol for your site
twitter_username: synshop
highlighter: rouge
include:
- ".well-known"
exclude:
- bin
- Makefile
- .gitignore
- Gemfile
- Gemfile.lock
- vendor
- README.markdown
- Dockerfile
plugins:
- jekyll-minifier
- jekyll-last-modified-at
- jekyll-feed
jekyll-minifier:
compress_css: true # Default: true
compress_javascript: true # Default: true
compress_json: true # Default: true
sass:
style: compressed
permalink: /:year:month:day/:title/
defaults:
-
scope:
path: "" # an empty string here means all files in the project
type: "posts" # previously `post` in Jekyll 2.2.
values:
layout: "post"
-
scope:
path: "x/"
values:
image: true

View File

@ -0,0 +1,5 @@
This info page is maintained by <a
href="https://sneak.berlin">@sneak</a>.
<br/>
Built from Git revision <code>{% include gitrev.html %}</code> at <code>{{
site.time }}</code>.

1
_includes/gitrev.html Normal file
View File

@ -0,0 +1 @@
acc76543

3
_includes/head.html Normal file
View File

@ -0,0 +1,3 @@
<title>{{ site.title | strip_html}}{% if page.title %}: {{ page.title | strip_html }}{% endif %}</title>
<link rel="stylesheet" href="/s/css/bootstrap-3.3.5.min.css">
<link rel="stylesheet" href="/s/css/main.css">

View File

@ -0,0 +1,2 @@
<script src="/s/js/jquery-2.1.4.min.js" defer></script>
<script src="/s/js/bootstrap-3.3.5.min.js" defer></script>

11
_layouts/base.html Normal file
View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<body>
<head>
{% include head.html %}
</head>
<body>
{{ content }}
{% include javascripts.html %}
</body>
</html>

9
_layouts/page.html Normal file
View File

@ -0,0 +1,9 @@
---
layout: base
---
<section id="page" class="container">
{{ content }}
</section>
<footer id="bodyfooter">
{% include bodyfooter.html %}
</footer>

102
index.md Normal file
View File

@ -0,0 +1,102 @@
---
layout: page
---
# Unofficial SYN Shop Info Page
<img src="/s/img/synshop.logo.v4.svg" style="width: 10em">
<small>This site is a volunteer compilation of information. <a
href="https://synshop.org">synshop.org</a> is the official SYN Shop website.
</small>
# SYN Shop
* SYN Shop: The Las Vegas Valley Hackerspace!
* Located in Las Vegas, Nevada, USA, Earth
* [1075 American Pacific, Ste C, Henderson, NV
89074](https://maps.google.com?q=1075 American Pacific, Ste C,
Henderson, NV)
* [https://synshop.org](https://synshop.org)
* [info@synshop.org](mailto:info@synshop.org)
* 501(c)(3) not-for-profit organization
([donate!](https://synshop.org/donate))
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/00lU7WQ39vQ" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
## General Info
* Approximately 120 members as of September 2020
* Membership costs $60 USD per month
* **Currently not open to non-members due to COVID-19**
* Otherwise, the normal hours would be:
* 18:00-22:00 PST Mon-Fri
* 15:00-22:00 PST Sat
* Closed Sun
* Members are welcome by appointment with keyholders
* All are invited to become a member!
* [Sign Up For
Membership](https://synshop.org/joining-syn-shop)
* [Make a tax-deductible donation to support the SYN Shop!](https://synshop.org/donate)
* Contact [info@synshop.org](mailto:info@synshop.org) for a donation
receipt
* [Teach a class at the SYN Shop!](https://synshop.org/teach-class)
# Resources
* [SYN Shop Official Website](https://synshop.org/)
* Event Listings
* Contact Form
* Shop Status
* Membership Sign Up (membership is open)
* Account / Payment Settings
* [Membership Guidelines](https://synshop.org/membership)
<br/>
* [SYN Shop
Rules](https://rtfm.synshop.org/users/SYN%20Shop%20Rules%20v3%202020-08-12.pdf)
(version 2020-08-12)
<br/>
* [SYN Shop Manual (RTFM)](https://rtfm.synshop.org/)
* [Official FAQ](https://rtfm.synshop.org/users/FAQ/)
* Manual for the shop, includes:
* [Full Equipment
List](https://rtfm.synshop.org/users/SYN%20Shop%20Tool%20List/)
* TL;DR: 3D Printers, Laser Cutters, Lathes, Power Tools, Many
Saws, Hand Tools, Compressor, Welders, Sewing Machines,
Soldering Irons, and more!
<br/>
* SYN Shop Discussion Lists
* Announcements: `synshop-announce`
* Subscribe: [synshop-announce+subscribe@googlegroups.com](mailto:synshop-announce+subscribe@googlegroups.com)
* General Discussion: `synshop`
* Subscribe: [synshop+subscribe@googlegroups.com](mailto:synshop+subscribe@googlegroups.com)
<br/>
* [SYN Shop Podcast](https://www.twitch.tv/synshop)
* Saturdays at 19:30 (7:30PM) PST!
* [SYN Shop Podcast Archives](https://www.youtube.com/user/SYNShop)
<br/>
* SYN Shop Discord Chat
* [Join Here](https://synshop.org/discord)
* Most shop members prefer to use this
* Note that you must also agree to the [Discord Terms Of Service
(TOS)](https://discord.com/terms), separate from the SYN Shop rules,
to use this service, and that your PII and direct messages to and from
other users will be logged by Discord and will *not* remain private.
<br/>
* [SYN Shop Ko-fi](https://ko-fi.com/synshop) (donations)
* [SYN Shop Twitter (@synshop)](https://twitter.com/synshop)
* [SYN Shop GitHub (@synshop)](https://github.com/synshop)
* RTFM Site [sources](https://github.com/synshop/rtfm) (PRs welcome)
* [SYN Shop Meetup Page](https://www.meetup.com/synshop)

5
s/css/bootstrap-3.3.5.min.css vendored Normal file

File diff suppressed because one or more lines are too long

152
s/css/main.sass Normal file
View File

@ -0,0 +1,152 @@
---
---
//$mainfont: "Computer Modern Serif"
$defaultfont: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", "Hel", Helvetica, Arial, "Lucida Grande", sans-serif
$ultralight: 'HelveticaNeue-UltraLight', 'Helvetica Neue UltraLight', 'Helvetica Neue', 'Hel', Arial, Helvetica, sans-serif
body
color: #222
font:
family: $defaultfont
size: 14pt
#page
font:
family: $defaultfont
size: 16pt
// when the name header appears on a blog post
// it is linked to / but shouldn't blue/underline on mouseover
#nameheader a, #nameheader a:hover
color: inherit
text-decoration: none
#blogpagearticlecontent small
font:
size: 12pt
#bodyfooter
background: #f6f6f6
margin:
top: 80px
box:
shadow: inset 0px 11px 15px -10px #CCC
padding:
top: 30px
left: 10px
bottom: 10px
// for some reason this is getting moved in
#blogpagearticlecontent
font:
size: 16pt
line-height: 2em
padding:
left: 0
right: 30px
#blogpagearticlecontent > p
padding:
top: 1em
margin-block-start: 0.5em
#ytface
padding:
top: 2.5em
h1,h2,h3,h4
padding:
top: 0.5em
#blogpagearticlecontent h1,h2,h3,h4
padding:
top: 0.5em
//#blogpagecontainerrow > h1 > small
// padding-left: 40px
h1,h2,h3,h4
padding:
bottom: 15pt
font:
family: $ultralight
weight: 100
.btn
font:
family: $ultralight
section.indexpage
font:
size: 16pt
family: $defaultfont
#indexhero
padding:
top: 50px
bottom: 50px
#indexhero ul
list-style-type: none
padding-left: 0px
margin-left: 0px
#indexhero ul li
padding:
top: 0.8em
div.footnotes
padding:
top: 7em
#nameheader
font:
size: 48pt
style: italic
padding:
bottom: 10pt
#blogpagearticlecontent
text:
align: justify
#blogpageata
padding:
left: 1em
right: 1em
margin:
left: 2em
right: 1em
#blogpageata > h1
margin:
top: 5px
bottom: 5px
font:
size: 18pt
#blogpageata > p
text:
align: justify
font:
size: 12pt
line-height: 1.5em
#utcTimeDisplay
background: #000
padding:
left: 50px
right: 50px
box-shadow: 0 0 30px black
width: 45em
height: 20em
#blogpagearticlecontent > blockquote > p
padding:
top: 0em
margin-block-start: 0em
blockquote
color: #666
font:
size: 18pt

515
s/img/synshop.logo.v4.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 57 KiB

7
s/js/bootstrap-3.3.5.min.js vendored Normal file

File diff suppressed because one or more lines are too long

4
s/js/jquery-2.1.4.min.js vendored Normal file

File diff suppressed because one or more lines are too long