Skip to content

Commit

Permalink
First version of full pid.codes site
Browse files Browse the repository at this point in the history
  • Loading branch information
Arachnid committed Apr 3, 2015
1 parent 44600e1 commit a3323c8
Show file tree
Hide file tree
Showing 45 changed files with 2,484 additions and 176 deletions.
6 changes: 6 additions & 0 deletions 1209/1001/index.md
@@ -0,0 +1,6 @@
---
layout: pid
title: USB Hub
owner: interbiometrics
license: Proprietary
---
6 changes: 6 additions & 0 deletions 1209/1002/index.md
@@ -0,0 +1,6 @@
---
layout: pid
title: USB Relais
owner: interbiometrics
license: Proprietary
---
6 changes: 6 additions & 0 deletions 1209/1003/index.md
@@ -0,0 +1,6 @@
---
layout: pid
title: IBSecureCam-P
owner: interbiometrics
license: Proprietary
---
6 changes: 6 additions & 0 deletions 1209/1004/index.md
@@ -0,0 +1,6 @@
---
layout: pid
title: IBSecureCam-O
owner: interbiometrics
license: Proprietary
---
6 changes: 6 additions & 0 deletions 1209/1005/index.md
@@ -0,0 +1,6 @@
---
layout: pid
title: IBSecureCam-N
owner: interbiometrics
license: Proprietary
---
6 changes: 6 additions & 0 deletions 1209/1006/index.md
@@ -0,0 +1,6 @@
---
layout: pid
title: Mini IO-Board
owner: interbiometrics
license: Proprietary
---
12 changes: 12 additions & 0 deletions 1209/index.md
@@ -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.
13 changes: 13 additions & 0 deletions 404.md
@@ -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>
1 change: 1 addition & 0 deletions CNAME
@@ -0,0 +1 @@
pid.codes
22 changes: 22 additions & 0 deletions LICENSE.txt
@@ -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.
177 changes: 176 additions & 1 deletion README.md
@@ -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/)
61 changes: 50 additions & 11 deletions _config.yml
@@ -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 changes: 3 additions & 0 deletions _includes/data.html
@@ -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"}} %}

0 comments on commit a3323c8

Please sign in to comment.