First version of full pid.codes site

This commit is contained in:
Nick Johnson
2015-04-03 08:27:23 +01:00
parent 44600e12f9
commit a3323c8c7a
45 changed files with 2484 additions and 176 deletions
+6
View File
@@ -0,0 +1,6 @@
---
layout: pid
title: USB Hub
owner: interbiometrics
license: Proprietary
---
+6
View File
@@ -0,0 +1,6 @@
---
layout: pid
title: USB Relais
owner: interbiometrics
license: Proprietary
---
+6
View File
@@ -0,0 +1,6 @@
---
layout: pid
title: IBSecureCam-P
owner: interbiometrics
license: Proprietary
---
+6
View File
@@ -0,0 +1,6 @@
---
layout: pid
title: IBSecureCam-O
owner: interbiometrics
license: Proprietary
---
+6
View File
@@ -0,0 +1,6 @@
---
layout: pid
title: IBSecureCam-N
owner: interbiometrics
license: Proprietary
---
+6
View File
@@ -0,0 +1,6 @@
---
layout: pid
title: Mini IO-Board
owner: interbiometrics
license: Proprietary
---
+12
View File
@@ -0,0 +1,12 @@
---
layout: vid
vid: 1209
title: VID 1209
---
0x1209 is the Vendor ID originally assigned to pid.codes for allocation to open source hardware projects.
All projects using VID 1209 must be licensed using a recognised open source license.
PIDs in the range 0x0000 - 0x0FFF are reserved for assignment to common tasks, such as testing, generic USB-CDC devices, etc.
PIDs in the range 0x1000 - 0x1FFF are reserved for devices produced by [InterBiometrics](/org/interbiometrics/), the original owner of this VID.
Executable
+13
View File
@@ -0,0 +1,13 @@
---
layout: center
permalink: /404.html
---
# 404
Sorry, we can't seem to find this page's pixylls.
<div class="mt3">
<a href="{{ site.baseurl }}/" class="button button-blue button-big">Home</a>
<a href="{{ site.baseurl }}/contact/" class="button button-blue button-big">Contact</a>
</div>
Executable
+1
View File
@@ -0,0 +1 @@
pid.codes
Executable
+22
View File
@@ -0,0 +1,22 @@
Copyright (c) 2014 John Otander
MIT License
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.
+176 -1
View File
@@ -1 +1,176 @@
# pidcodes.github.com
# Pixyll
[pixyll.com](http://www.pixyll.com)
![Pixyll screenshot](https://cloud.githubusercontent.com/assets/1424573/3847467/134aa236-1e66-11e4-8421-4e8c122118dc.png)
Pixyll is a simple, beautiful theme for Jekyll that emphasizes content rather than aesthetic fluff. It's mobile _first_, fluidly responsive, and delightfully lightweight.
It's pretty minimal, but leverages large type and drastic contrast to make a statement, on all devices.
This Jekyll theme was crafted with <3 by [John Otander](http://johnotander.com)
([@4lpine](https://twitter.com/4lpine)).
中文版 <https://github.com/ee0703/pixyll-zh-cn>.
## Getting Started
If you're completely new to Jekyll, I recommend checking out the documentation at <http://jekyllrb.com> or there's a tutorial by [Smashing Magazine](http://www.smashingmagazine.com/2014/08/01/build-blog-jekyll-github-pages/).
### Installing Jekyll
If you don't have Jekyll already installed, you will need to go ahead and do that.
```
$ gem install jekyll
```
#### Verify your Jekyll version
It's important to also check your version of Jekyll since this project uses Native Sass which
is [only supported by 2.0+](http://jekyllrb.com/news/2014/05/06/jekyll-turns-2-0-0/).
```
$ jekyll -v
# This should be jekyll 2.0.0 or later
```
### Fork, then clone
Fork the repo, and then clone it so you've got the code locally.
### Modify the _config.yml
The `_config.yml` located in the root of the Pixyll directory contains all of the configuration details
for the Jekyll site. The defaults are:
```yml
# Site settings
title: Pixyll
email: your_email@example.com
author: John Otander
description: "A simple, beautiful theme for Jekyll that emphasizes content rather than aesthetic fluff."
baseurl: ""
url: "http://pixyll.com"
# Build settings
markdown: kramdown
permalink: pretty
paginate: 3
```
### Jekyll Serve
Then, start the Jekyll Server. I always like to give the `--watch` option so it updates the generated HTML when I make changes.
```
$ jekyll serve --watch
```
Now you can navigate to `localhost:4000` in your browser to see the site.
### Using Github Pages
You can host your Jekyll site for free with Github Pages. [Click here](https://pages.github.com/) for more information.
#### A configuration tweak if you're using a gh-pages sub-folder
In addition to your github-username.github.io repo that maps to the root url, you can serve up sites by using a gh-pages branch for other repos so they're available at github-username.github.io/repo-name.
This will require you to modify the `_config.yml` like so:
```yml
# Site settings
title: Repo Name
email: your_email@example.com
author: John Otander
description: "Repo description"
baseurl: "/repo-name"
url: "http://github-username.github.io"
# Build settings
markdown: kramdown
permalink: pretty
paginate: 3
```
This will ensure that the the correct relative path is constructed for your assets and posts. Also, in order to run the project locally, you will need to specify the blank string for the baseurl: `$ jekyll serve --baseurl ''`.
##### If you don't want the header to link back to the root url
You will also need to tweak the header include `/{{ site.baseurl }}`:
```html
<header class="site-header px2 px-responsive">
<div class="mt2 wrap">
<div class="measure">
<a href="{{ site.url }}/{{ site.baseurl }}">{{ site.title }}</a>
<nav class="site-nav right">
{% include navigation.html %}
</nav>
</div>
</div>
</header>
```
A relevant Jekyll Github Issue: <https://github.com/jekyll/jekyll/issues/332>
### Contact Form
If you'd like to keep the contact form, which uses <http://forms.brace.io/>, you will need to update the email address.
Currently, the `contact.md` has the following:
```html
<form action="https://forms.brace.io/johnotander@icloud.com" method="POST" class="form-stacked form-light">
```
Where it says `johnotander@icloud.com`, you will need to change that to the email that you wish to have the form data sent to. It will require you to fill the form out when you push it live for the first time so that you can confirm your email.
### Page Animation
If you would like to add a [fade-in-down effect](http://daneden.github.io/animate.css/), you can add `animated: true` to your `_config.yml`.
### Put in a Pixyll Plug
If you want to give credit to the Pixyll theme with a link to <http://pixyll.com> or my personal website <http://johnotander.com> somewhere, that'd be awesome. No worries if you don't.
### Enjoy
I hope you enjoy using Pixyll. If you encounter any issues, please feel free to let me know by creating an [issue](https://github.com/johnotander/pixyll/issues). I'd love to help.
## Upgrading Pixyll
Pixyll is always being improved by its users, so sometimes one may need to upgrade.
#### Ensure there's an upstream remote
If `git remote -v` doesn't have an upstream listed, you can do the following to add it:
```
git remote add upstream https://github.com/johnotander/pixyll.git
```
#### Pull in the latest changes
```
git pull upstream master
```
There may be merge conflicts, so be sure to fix the files that git lists if they occur. That's it!
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
## Thanks to the following:
* [BASSCSS](http://basscss.com)
* [Jekyll](http://jekyllrb.com)
* [Refills](http://refills.bourbon.io/)
* [Solarized](http://ethanschoonover.com/solarized)
* [Animate.css](http://daneden.github.io/animate.css/)
+50 -11
View File
@@ -1,14 +1,53 @@
# Site settings
title: Your awesome title
email: your-email@domain.com
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://yourdomain.com" # the base hostname & protocol for your site
twitter_username: jekyllrb
github_username: jekyll
title: pid.codes
email: admin@pid.codes
author: pid.codes admin team
description: "Free USB VID and PID codes for open-source projects."
baseurl: ""
url: "http://pid.codes"
excerpt_separator: "<!-- more -->"
# Google analytics
google_analytics: UA-84449-9
# Optional features
animated: false
show_related_posts: false
show_post_footers: false
# Disqus post comments
# (leave blank to disable Disqus)
disqus_shortname:
# Social icons
show_social_icons: false
github_username:
stackoverflow_id:
twitter_username:
google_plus_id:
linkedin_username:
bitcoin_url:
paypal_url:
flattr_button:
# Post sharing icons
show_sharing_icons: false
share_text: 'Share this post!'
# Change to 'true' to enable individual icons
share_facebook: false
share_twitter: false
share_googleplus: false
share_linkedin: false
share_digg: false
share_tumblr: false
share_reddit: false
share_stumbleupon: false
# Build settings
markdown: kramdown
markdown: redcarpet
redcarpet:
extensions: ['smart', 'tables', 'with_toc_data']
permalink: pretty
paginate: 3
sass:
compressed: true
+3
View File
@@ -0,0 +1,3 @@
{% assign vids = {{site.pages|where:"layout","vid"|sort:"url"}} %}
{% assign pids = {{site.pages|where:"layout","pid"|sort:"url"}} %}
{% assign orgs = {{site.pages|where:"layout","org"|sort:"url"}} %}
+20 -52
View File
@@ -1,55 +1,23 @@
<footer class="site-footer">
<div class="wrapper">
<h2 class="footer-heading">{{ site.title }}</h2>
<div class="footer-col-wrapper">
<div class="footer-col footer-col-1">
<ul class="contact-list">
<li>{{ site.title }}</li>
<li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
</ul>
</div>
<div class="footer-col footer-col-2">
<ul class="social-media-list">
{% if site.github_username %}
<li>
<a href="https://github.com/{{ site.github_username }}">
<span class="icon icon--github">
<svg viewBox="0 0 16 16">
<path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/>
</svg>
</span>
<span class="username">{{ site.github_username }}</span>
</a>
</li>
{% endif %}
{% if site.twitter_username %}
<li>
<a href="https://twitter.com/{{ site.twitter_username }}">
<span class="icon icon--twitter">
<svg viewBox="0 0 16 16">
<path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809
c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/>
</svg>
</span>
<span class="username">{{ site.twitter_username }}</span>
</a>
</li>
{% endif %}
</ul>
</div>
<div class="footer-col footer-col-3">
<p class="text">{{ site.description }}</p>
</div>
<footer class="footer">
<div class="p2 wrap">
<div class="measure mt1 center">
<small>
Layout crafted with &lt;3 by <a href="http://johnotander.com">John Otander</a> (<a href="https://twitter.com/4lpine">@4lpine</a>).
&lt;/&gt; available on <a href="https://github.com/johnotander/pixyll">Github</a>.
</small>
</div>
</div>
</footer>
{% if site.google_analytics %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
{% endif %}
+27 -8
View File
@@ -1,12 +1,31 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{% if include.title %}{{ include.title }} &#8211; {% elsif page.title %}{{ page.title }} &#8211; {% endif %}{{ site.title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{% if page.summary %}{{ page.summary }}{% else %}{{ site.description }}{% endif %}">
<meta name="author" content="{{ site.author }}">
{% if page.categories %}<meta name="keywords" content="{{ page.categories | join: ', ' }}">{% endif %}
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
<!-- Custom CSS -->
<link rel="stylesheet" href="{{ "/css/pixyll.css" | prepend: site.baseurl }}" type="text/css">
<!-- Fonts -->
<link href='//fonts.googleapis.com/css?family=Merriweather:900,900italic,300,300italic' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Lato:900,300' rel='stylesheet' type='text/css'>
{% if site.show_social_icons or site.show_sharing_icons %}
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
{% endif %}
<!-- Open Graph -->
<!-- From: https://github.com/mmistakes/hpstr-jekyll-theme/blob/master/_includes/head.html -->
<meta property="og:locale" content="en_US">
<meta property="og:type" content="article">
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
<meta property="og:description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}">
<meta property="og:url" content="{{ site.url }}{{ page.url }}">
<meta property="og:site_name" content="{{ site.title }}">
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
</head>
+12 -25
View File
@@ -1,27 +1,14 @@
<header class="site-header">
<div class="wrapper">
<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>
<nav class="site-nav">
<a href="#" class="menu-icon">
<svg viewBox="0 0 18 15">
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
</svg>
</a>
<div class="trigger">
{% for page in site.pages %}
{% if page.title %}
<a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
{% endif %}
{% endfor %}
</div>
</nav>
<header class="site-header px2 px-responsive">
<div class="mt2 wrap">
<div class="measure">
<a href="{{ site.url }}" class="site-title">{{ site.title }}</a>
<nav class="site-nav right">
{% include navigation.html %}
</nav>
<div class="clearfix"></div>
{% if site.show_social_icons %}
{% include social_links.html %}
{% endif %}
</div>
</div>
</header>
+4
View File
@@ -0,0 +1,4 @@
<a href="{{ site.baseurl }}/about/">About</a>
<a href="{{ site.baseurl }}/pids/">All PIDs</a>
<a href="{{ site.baseurl }}/howto/">Get a PID</a>
<a href="{{ site.baseurl }}/faq/">FAQ</a>
+20
View File
@@ -0,0 +1,20 @@
<div class="pagination clearfix mb1 mt4">
<div class="left">
{% if paginator.previous_page %}
{% if paginator.page == 2 %}
<a class="pagination-item" href="{{ site.baseurl }}/">Newer</a>
{% else %}
<a class="pagination-item" href="{{ site.baseurl }}/page{{paginator.previous_page}}/">Newer</a>
{% endif %}
{% else %}
<span class="pagination-item disabled">Newer</span>
{% endif %}
</div>
<div class="right">
{% if paginator.next_page %}
<a class="pagination-item" href="{{ site.baseurl }}/page{{paginator.next_page}}/">Older</a>
{% else %}
<span class="pagination-item disabled">Older</span>
{% endif %}
</div>
</div>
+15
View File
@@ -0,0 +1,15 @@
{% include data.html %}
<table>
<thead>
<tr><th>PID</th><th>Device</th></tr>
</thead>
{% for pid in pids %}
{% assign urlparts = pid.url|split:"/" %}
{% if include.vid == urlparts[1] %}
<tr>
<th><a href="{{pid.url}}">{{urlparts[2]}}</a></th>
<td>{{pid.title}}</td>
</tr>
{% endif %}
{% endfor %}
</table>
+10
View File
@@ -0,0 +1,10 @@
<div class="py2 post-footer">
<img src="/images/me.jpeg" alt="John Otander" class="avatar" />
<p>
Pixyll is an open-source Jekyll theme that's built by <a href="http://johnotander.com">John Otander</a>.
When he's not writing code and building things, he likes to ski. A. Lot.
</p>
<p>
Follow him on <a href="https://twitter.com/4lpine">Twitter</a>.
</p>
</div>

Some files were not shown because too many files have changed in this diff Show More