Skip to content

Commit 59f147b

Browse files
committed
Initial commit
0 parents  commit 59f147b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+2056
-0
lines changed

.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# project
2+
_site
3+
.sass-cache
4+
.vagrant
5+
6+
# general
7+
.DS_Store
8+
Thumbs.db
9+
ehthumbs.db

404.html

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
layout: default
3+
title: "Page not found"
4+
permalink: /404.html
5+
---
6+
7+
<div class="container" role="main">
8+
<div class="row">
9+
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
10+
<header class="header-section">
11+
<div class="intro-header no-img">
12+
<h1 class="post-title">{{ page.title }}</h1>
13+
</div>
14+
</header>
15+
<div class="page">
16+
<h1 class="page-title">{{title}}</h1>
17+
<p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="{{ site.url }}">Head back home</a> to try finding it again.</p>
18+
</div>
19+
</div>
20+
</div>
21+
</div>

LICENSE

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
BSD 3-Clause License
2+
3+
Copyright (c) 2017, Allied Testing Ltd.
4+
All rights reserved.
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
8+
9+
* Redistributions of source code must retain the above copyright notice, this
10+
list of conditions and the following disclaimer.
11+
12+
* Redistributions in binary form must reproduce the above copyright notice,
13+
this list of conditions and the following disclaimer in the documentation
14+
and/or other materials provided with the distribution.
15+
16+
* Neither the name of the copyright holder nor the names of its
17+
contributors may be used to endorse or promote products derived from
18+
this software without specific prior written permission.
19+
20+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30+
31+
beautiful-jekyll Copyright (c) 2015 Dean Attali.
32+
hyde (c) 2013 Mark Otto.

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## alliedtesting.github.io/pgmex-blog
2+
3+
This is the repository that holds PgMex Blog.

_config.yml

+97
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
url: "http://alliedtesting.github.io/pgmex-blog"
2+
#baseurl: ""
3+
title: PgMex Blog
4+
description: >
5+
PgMex is a high-performance PostgreSQL client library for Matlab
6+
that enables a Matlab-based application to communicate with PostgreSQL database
7+
in the Matlab native way by passing data in a form of matrices, multi-dimensional
8+
arrays and structures. The library is written in pure C which gives a significant
9+
performance boost for both small and data-heavy database requests. Both Windows
10+
and Linux platforms are supported.
11+
# feedburner: http://feeds.feedburner.com/AlliedTesting
12+
title-img: allied_logo.jpg
13+
subtitle-img: logo.png
14+
15+
16+
# google_analytics: "UA-2662385-1"
17+
18+
# gravatar:
19+
# hash: e74e26bfd345fdd80bedf436178c5829
20+
# size: 80
21+
22+
disqus:
23+
shortname: "pgmexblog"
24+
show_comment_count: true
25+
26+
github:
27+
repo: https://github.com/AlliedTesting/pgmex-blog
28+
29+
gems:
30+
- jekyll-feed
31+
- jekyll-mentions
32+
- jekyll-sitemap
33+
- jekyll-paginate
34+
- jekyll-seo-tag
35+
36+
# --- Footer options --- #
37+
38+
# Change all these values or delete the ones you don't want.
39+
# Important: you must keep the "name" parameter, everything else you can remove
40+
author:
41+
name: Allied Testing Ltd.
42+
43+
github: AlliedTesting/pgmex-blog # eg. daattali
44+
url: https://www.alliedtesting.com
45+
46+
# Select which links to show in the footer
47+
footer-links-active:
48+
mvp: false
49+
rss: true
50+
facebook: false
51+
email: true
52+
twitter: false
53+
github: true
54+
linkedin: false
55+
stackoverflow: false
56+
57+
# How to display the link to the website in the footer
58+
# Remove this if you don't want a link in the footer
59+
url-pretty: "alliedtesting.github.io/pgmex-blog" # eg. "deanattali.com/beautiful-jekyll"
60+
61+
# Output options (more information on Jekyll's site)
62+
timezone: America/New_York
63+
markdown: kramdown
64+
highlighter: rouge
65+
permalink: /:year/:month/:day/:title/
66+
paginate: 5
67+
kramdown:
68+
input: GFM
69+
70+
# Default YAML values (more information on Jekyll's site)
71+
defaults:
72+
-
73+
scope:
74+
path: ""
75+
type: "posts"
76+
values:
77+
comments: true # add comments to all blog posts
78+
-
79+
scope:
80+
path: "" # all files
81+
values:
82+
layout: "default"
83+
show-avatar: true
84+
-
85+
scope:
86+
path: ""
87+
type: "pages"
88+
values:
89+
nav-include: true # include in header nav
90+
91+
# Exclude these files from production site
92+
exclude:
93+
- Gemfile
94+
- Gemfile.lock
95+
- LICENSE
96+
- README.md
97+
- CNAME

_includes/archive_post.html

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
2+
{% capture this_month %}{{ post.date | date: "%B" }}{% endcapture %}
3+
{% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}
4+
{% capture next_month %}{{ post.previous.date | date: "%B" }}{% endcapture %}
5+
6+
{% if forloop.first %}
7+
<h2 id="{{ this_year }}-ref">{{this_year}}</h2>
8+
<h3 id="{{ this_year }}-{{ this_month }}-ref">{{ this_month }}</h3>
9+
<ul>
10+
{% endif %}
11+
12+
<li>
13+
<span class="title"><a href="{{ post.url }}">{{post.title}}</a></span>
14+
</li>
15+
16+
{% if forloop.last %}
17+
{% else %}
18+
{% if this_year != next_year %}
19+
</ul>
20+
<h2 id="{{ next_year }}-ref">{{next_year}}</h2>
21+
<h3 id="{{ next_year }}-{{ next_month }}-ref">{{ next_month }}</h3>
22+
<ul>
23+
{% else %}
24+
{% if this_month != next_month %}
25+
</ul>
26+
<h3 id="{{ this_year }}-{{ next_month }}-ref">{{ next_month }}</h3>
27+
<ul>
28+
{% endif %}
29+
{% endif %}
30+
{% endif %}

_includes/categories_feed.xml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
layout: nil
3+
---
4+
<?xml version="1.0" encoding="utf-8"?>
5+
<feed xmlns="http://www.w3.org/2005/Atom">
6+
7+
<title><![CDATA[{% if site.titlecase %}{{ page.title | titlecase | cdata_escape }}{% else %}{{ page.title | cdata_escape }}{% endif %} | {{ site.title | cdata_escape }}]]></title>
8+
<link href="{{ site.url }}/{{ page.feed_url }}" rel="self"/>
9+
<link href="{{ site.url }}/"/>
10+
<updated>{{ site.time | date_to_xmlschema }}</updated>
11+
<id>{{ site.url }}/</id>
12+
<author>
13+
<name><![CDATA[{{ site.author | strip_html }}]]></name>
14+
{% if site.email %}<email><![CDATA[{{ site.email }}]]></email>{% endif %}
15+
</author>
16+
<generator uri="http://octopress.org/">Octopress</generator>
17+
18+
{% for post in site.categories[page.category] limit: 5 %}
19+
<entry>
20+
<title type="html"><![CDATA[{% if site.titlecase %}{{ post.title | titlecase | cdata_escape }}{% else %}{{ post.title | cdata_escape }}{% endif %}]]></title>
21+
<link href="{{ site.url }}{{ post.url }}"/>
22+
<updated>{{ post.date | date_to_xmlschema }}</updated>
23+
<id>{{ site.url }}{{ post.id }}</id>
24+
<content type="html"><![CDATA[{{ post.content | expand_urls: site.url | markdownify | cdata_escape }}]]></content>
25+
</entry>
26+
{% endfor %}
27+
</feed>
28+

_includes/disqus.html

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{% if site.disqus and page.comments %}
2+
<div class="disqus-comments">
3+
<div class="comments">
4+
<div id="disqus_thread"></div>
5+
<script type="text/javascript">
6+
var disqus_shortname = '{{ site.disqus.shortname }}';
7+
// ensure that pages with query string get the same discussion
8+
var url_parts = window.location.href.split("?");
9+
var disqus_url = url_parts[0];
10+
(function() {
11+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
12+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
13+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
14+
})();
15+
</script>
16+
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
17+
</div>
18+
</div>
19+
{% endif %}

_includes/footer-scripts.html

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<script src="https://code.jquery.com/jquery-2.2.2.min.js" integrity="sha256-36cp2Co+/62rEAAYHLmRCPIych47CvdM+uTBJwSzWjI=" crossorigin="anonymous"></script>
2+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
3+
<script src="{{ site.url }}/js/main.js"></script>
4+
5+
{% if site.google_analytics %}
6+
<script>
7+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
8+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
9+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
10+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
11+
12+
ga('create', '{{ site.google_analytics }}', 'auto');
13+
ga('send', 'pageview');
14+
</script>
15+
{% endif %}
16+
17+
{% if site.disqus %}
18+
<script id="dsq-count-scr" src="//{{ site.disqus.shortname }}.disqus.com/count.js" async></script>
19+
{% endif %}

_includes/footer.html

+104
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
<footer>
2+
<div class="container">
3+
<div class="row">
4+
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
5+
<ul class="list-inline text-center footer-links">
6+
{% if site.author.mvp and site.footer-links-active.mvp %}
7+
<li>
8+
<a href="https://mvp.microsoft.com/en-us/PublicProfile/{{ site.author.mvp }}" title="MVP Profile">
9+
<img src="/img/MVP.png">
10+
</a>
11+
</li>
12+
{% endif %}
13+
{% if site.author.facebook and site.footer-links-active.facebook %}
14+
<li>
15+
<a href="https://www.facebook.com/{{ site.author.facebook }}" title="Facebook">
16+
<span class="fa-stack fa-lg">
17+
<i class="fa fa-circle fa-stack-2x"></i>
18+
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
19+
</span>
20+
</a>
21+
</li>
22+
{% endif %}
23+
{% if site.author.github and site.footer-links-active.github %}
24+
<li>
25+
<a href="https://github.com/{{ site.author.github }}" title="GitHub">
26+
<span class="fa-stack fa-lg">
27+
<i class="fa fa-circle fa-stack-2x"></i>
28+
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
29+
</span>
30+
</a>
31+
</li>
32+
{% endif %}
33+
{% if site.author.twitter and site.footer-links-active.twitter %}
34+
<li>
35+
<a href="https://twitter.com/{{ site.author.twitter }}" title="Twitter">
36+
<span class="fa-stack fa-lg">
37+
<i class="fa fa-circle fa-stack-2x"></i>
38+
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
39+
</span>
40+
</a>
41+
</li>
42+
{% endif %}
43+
{% if site.author.email and site.footer-links-active.email %}
44+
<li>
45+
<a href="mailto:{{ site.author.email }}" title="Email me">
46+
<span class="fa-stack fa-lg">
47+
<i class="fa fa-circle fa-stack-2x"></i>
48+
<i class="fa fa-envelope fa-stack-1x fa-inverse"></i>
49+
</span>
50+
</a>
51+
</li>
52+
{% endif %}
53+
{% if site.author.linkedin and site.footer-links-active.linkedin %}
54+
<li>
55+
<a href="https://linkedin.com/in/{{ site.author.linkedin }}" title="LinkedIn">
56+
<span class="fa-stack fa-lg">
57+
<i class="fa fa-circle fa-stack-2x"></i>
58+
<i class="fa fa-linkedin fa-stack-1x fa-inverse"></i>
59+
</span>
60+
</a>
61+
</li>
62+
{% endif %}
63+
{% if site.author.stackoverflow and site.footer-links-active.stackoverflow %}
64+
<li>
65+
<a href="https://stackoverflow.com/users/{{ site.author.stackoverflow }}" title="StackOverflow">
66+
<span class="fa-stack fa-lg">
67+
<i class="fa fa-circle fa-stack-2x"></i>
68+
<i class="fa fa-stack-overflow fa-stack-1x fa-inverse"></i>
69+
</span>
70+
</a>
71+
</li>
72+
{% endif %}
73+
{% if site.footer-links-active.rss %}
74+
<li>
75+
<a href="{{ site.feedburner }}" title="RSS">
76+
<span class="fa-stack fa-lg">
77+
<i class="fa fa-circle fa-stack-2x"></i>
78+
<i class="fa fa-rss fa-stack-1x fa-inverse"></i>
79+
</span>
80+
</a>
81+
</li>
82+
{% endif %}
83+
</ul>
84+
<p class="copyright text-muted">
85+
{% if site.time|date('%Y') == '2017' %}
86+
Copyright 2017 - {{ site.author.name }}
87+
{% else %}
88+
Copyright 2017 - {{ site.time | date: '%Y' }} - {{ site.author.name }}
89+
{% endif %}
90+
<br/>
91+
Blog content is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
92+
Unless otherwise stated or granted, code samples licensed under the MIT license.
93+
<br/>
94+
<!-- <a href="{{ site.url }}/privacy">privacy</a> | <a href="{{ site.url }}/blogtegrity">blogtegrity</a> -->
95+
</p>
96+
<p class="theme-by text-muted">
97+
Site design is based on
98+
<a href="http://deanattali.com/beautiful-jekyll/">beautiful-jekyll</a> and
99+
<a href="https://github.com/poole/hyde">hyde</a> under the MIT license.
100+
</p>
101+
</div>
102+
</div>
103+
</div>
104+
</footer>

0 commit comments

Comments
 (0)