Skip to content

Commit 6889fcf

Browse files
Joel BennettJoel Bennett
authored andcommitted
Update site output from new script templates
1 parent 6d3d80d commit 6889fcf

5,132 files changed

Lines changed: 136808 additions & 79694 deletions

File tree

Some content is hidden

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

css/bootstrap.min.css

Lines changed: 3 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/main.css

Lines changed: 125 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,135 @@
55
/*
66
* Footer
77
*/
8+
/*
9+
* Globals
10+
*/
11+
12+
body {
13+
font-family: Georgia, "Times New Roman", Times, serif;
14+
/*color: #555;*/
15+
}
16+
17+
h1, .h1,
18+
h2, .h2,
19+
h3, .h3,
20+
h4, .h4,
21+
h5, .h5,
22+
h6, .h6 {
23+
margin-top: 0;
24+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
25+
font-weight: normal;
26+
/*color: #333;*/
27+
}
28+
29+
body > header > nav.navbar {
30+
padding: 0;
31+
}
32+
33+
/* Minor tweaks to the navbar links */
34+
ul#tabs {
35+
padding: 0;
36+
}
37+
38+
ul.nav-tabs li.nav-item.active a.nav-link {
39+
border-color: #2B3E50;
40+
}
41+
42+
43+
/*
44+
* Topmost: Blog name and description
45+
*/
46+
47+
.blog-header {
48+
padding-top: 20px;
49+
padding-bottom: 20px;
50+
}
51+
.blog-title {
52+
margin-top: 30px;
53+
margin-bottom: 0;
54+
font-size: 3rem;
55+
font-weight: normal;
56+
}
57+
.blog-description {
58+
font-size: 2rem;
59+
color: #999;
60+
}
61+
62+
63+
/*
64+
* Blog posts
65+
*/
66+
67+
.blog-post {
68+
margin-bottom: 60px;
69+
}
70+
.blog-post-title {
71+
margin-bottom: 5px;
72+
font-size: 1.75rem;
73+
}
74+
.blog-post-meta {
75+
margin-bottom: 20px;
76+
font-size: .75rem;
77+
color: #999;
78+
}
79+
.blog-post-tags * {
80+
display: inline;
81+
}
82+
83+
/*
84+
* Main column and sidebar layout
85+
*/
86+
87+
.blog-main {
88+
font-size: 1rem;
89+
line-height: 1.5;
90+
}
91+
92+
/* Sidebar modules for boxing content */
93+
.sidebar-module {
94+
padding: 15px;
95+
margin: 0 -15px 15px;
96+
}
97+
.sidebar-module-inset {
98+
padding: 15px;
99+
background-color: #f5f5f5;
100+
border-radius: 4px;
101+
}
102+
.sidebar-module-inset p:last-child,
103+
.sidebar-module-inset ul:last-child,
104+
.sidebar-module-inset ol:last-child {
105+
margin-bottom: 0;
106+
}
107+
108+
109+
110+
/* Pagination */
111+
.pager {
112+
margin-bottom: 60px;
113+
text-align: left;
114+
}
115+
.pager > li > a {
116+
width: 140px;
117+
padding: 10px 20px;
118+
text-align: center;
119+
border-radius: 30px;
120+
}
121+
122+
123+
124+
125+
/*
126+
* Footer
127+
*/
128+
8129
.blog-footer {
9-
position: absolute;
10-
bottom: 0;
11-
width: 100%;
12-
height: 60px;
13-
padding: 20px 0;
130+
padding: 40px 0;
131+
margin-bottom: -20px;
14132
color: #c8c8c8;
15133
text-align: center;
16-
background-color: rgba(0, 0, 0, .2);
134+
background-color: #2e3338;
17135
border-top: 1px solid rgba(0, 0, 0, .6);
18136
}
19137
.blog-footer p:last-child {
20138
margin-bottom: 0;
21-
}
139+
}

scripts/100.html

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
<meta name="author" content="Jeff Hillman">
99
<title>Highlight-Syntax 1.0 - PoshCode</title>
1010

11-
<link rel="stylesheet" href="/css/bootstrap.min.css">
11+
<link rel="stylesheet" href="/css/superhero.min.css">
1212
<link rel="stylesheet" href="/css/main.css">
13+
<link rel="stylesheet" href="/css/highlight/arta.css">
1314
<style>
1415
body {
1516
padding-top: 50px;
@@ -28,27 +29,33 @@
2829
</button>
2930
</div>
3031
<div id="navbarResponsive" class="collapse navbar-collapse navbar-responsive-collapse navbar-right">
31-
<ul class="nav navbar-nav nav-tabs ml-auto" data-tabs="tabs" id="tabs">
32+
<ul class="nav navbar-nav nav-tabs ml-auto" id="tabs">
33+
<li class="nav-item"><a class="nav-link" href="/">Join Us!</a></li>
3234
<li class="nav-item"><a class="nav-link active show" href="/scripts" data-toggle="tab">Scripts</a></li>
33-
<li class="nav-item"><a class="nav-link" href="/video" data-toggle="tab">Video Feed</a></li>
35+
<li class="nav-item"><a class="nav-link" href="/video">Videos</a></li>
3436
</ul>
3537
</div><!--/.navbar-collapse -->
3638
</div>
3739
</nav>
3840
</header>
3941

40-
42+
<div class="container">
43+
<div class="blog-header">
44+
<h1 class="blog-title">PoshCode</h1>
45+
<p class="lead blog-description">Community resources for PowerShell coders</p>
46+
</div>
47+
<div class="row">
48+
4149

4250
<div class="blog-post">
4351
<h2 class="blog-post-title">Highlight-Syntax 1.0</h2>
4452
<p class="blog-post-meta">
4553
<span class="blog-post-time">2008-01-07</span> by <a class="blog-post-author">Jeff Hillman</a>
4654
</p>
4755

48-
<h1>Highlight-Syntax 1.0</h1>
49-
<h3><a href="//scripts/100.ps1">download</a> - <a href="//scripts/99.md">parent</a></h3>
56+
<h3><a href="/scripts/100.ps1">download Highlight-Syntax 1.0.ps1</a> - <a href="/scripts/99.md">parent</a></h3>
5057
<p>This script uses regular expressions to highlight PowerShell syntax with HTML.</p>
51-
<pre><code class="language-posh"># Highlight-Syntax.ps1
58+
<pre><code class="language-powershell"># Highlight-Syntax.ps1
5259
# version 1.0
5360
# by Jeff Hillman
5461
#
@@ -343,10 +350,13 @@ <h3><a href="//scripts/100.ps1">download</a> - <a href="//scripts/99.md">parent<
343350
</code></pre>
344351

345352
</div>
346-
347-
<footer class="blog-footer">
348-
<p>&copy; Joel &quot;Jaykul&quot; Bennett 2018</p>
349-
</footer>
353+
<!-- sidebar? -->
354+
</div>
355+
<hr>
356+
<footer class="blog-footer">
357+
<p>Generated by Joel &quot;Jaykul&quot; Bennett - 2018</p>
358+
</footer>
359+
</div> <!-- /container -->
350360

351361
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
352362
crossorigin="anonymous"></script>
@@ -355,7 +365,8 @@ <h3><a href="//scripts/100.ps1">download</a> - <a href="//scripts/99.md">parent<
355365
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
356366
crossorigin="anonymous"></script>
357367
<script src="/js/main.js"></script>
358-
368+
<script src="/js/vendor/highlight.pack.js"></script>
369+
<script>hljs.initHighlightingOnLoad();</script>
359370
<script>
360371
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
361372
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

scripts/1000.html

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
<meta name="author" content="afokkema">
99
<title>Patch-VMHost - PoshCode</title>
1010

11-
<link rel="stylesheet" href="/css/bootstrap.min.css">
11+
<link rel="stylesheet" href="/css/superhero.min.css">
1212
<link rel="stylesheet" href="/css/main.css">
13+
<link rel="stylesheet" href="/css/highlight/arta.css">
1314
<style>
1415
body {
1516
padding-top: 50px;
@@ -28,28 +29,34 @@
2829
</button>
2930
</div>
3031
<div id="navbarResponsive" class="collapse navbar-collapse navbar-responsive-collapse navbar-right">
31-
<ul class="nav navbar-nav nav-tabs ml-auto" data-tabs="tabs" id="tabs">
32+
<ul class="nav navbar-nav nav-tabs ml-auto" id="tabs">
33+
<li class="nav-item"><a class="nav-link" href="/">Join Us!</a></li>
3234
<li class="nav-item"><a class="nav-link active show" href="/scripts" data-toggle="tab">Scripts</a></li>
33-
<li class="nav-item"><a class="nav-link" href="/video" data-toggle="tab">Video Feed</a></li>
35+
<li class="nav-item"><a class="nav-link" href="/video">Videos</a></li>
3436
</ul>
3537
</div><!--/.navbar-collapse -->
3638
</div>
3739
</nav>
3840
</header>
3941

40-
42+
<div class="container">
43+
<div class="blog-header">
44+
<h1 class="blog-title">PoshCode</h1>
45+
<p class="lead blog-description">Community resources for PowerShell coders</p>
46+
</div>
47+
<div class="row">
48+
4149

4250
<div class="blog-post">
4351
<h2 class="blog-post-title">Patch-VMHost</h2>
4452
<p class="blog-post-meta">
4553
<span class="blog-post-time">2009-04-07</span> by <a class="blog-post-author">afokkema</a>
4654
</p>
4755

48-
<h1>Patch-VMHost</h1>
49-
<h3><a href="//scripts/1000.ps1">download</a></h3>
56+
<h3><a href="/scripts/1000.ps1">download Patch-VMHost.ps1</a></h3>
5057
<p>This script will patch an ESX Host using VMware Update Manager.</p>
5158
<p>You need to install the VMware.VumAutomation on the host where you want to run this script.</p>
52-
<pre><code class="language-posh">Add-PSSnapin &quot;VMware.VimAutomation.Core&quot;
59+
<pre><code class="language-powershell">Add-PSSnapin &quot;VMware.VimAutomation.Core&quot;
5360
Add-PSSnapIn &quot;VMware.VumAutomation&quot;
5461

5562
# Connect to vCenter
@@ -88,10 +95,13 @@ <h3><a href="//scripts/1000.ps1">download</a></h3>
8895
</code></pre>
8996

9097
</div>
91-
92-
<footer class="blog-footer">
93-
<p>&copy; Joel &quot;Jaykul&quot; Bennett 2018</p>
94-
</footer>
98+
<!-- sidebar? -->
99+
</div>
100+
<hr>
101+
<footer class="blog-footer">
102+
<p>Generated by Joel &quot;Jaykul&quot; Bennett - 2018</p>
103+
</footer>
104+
</div> <!-- /container -->
95105

96106
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
97107
crossorigin="anonymous"></script>
@@ -100,7 +110,8 @@ <h3><a href="//scripts/1000.ps1">download</a></h3>
100110
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
101111
crossorigin="anonymous"></script>
102112
<script src="/js/main.js"></script>
103-
113+
<script src="/js/vendor/highlight.pack.js"></script>
114+
<script>hljs.initHighlightingOnLoad();</script>
104115
<script>
105116
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
106117
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

scripts/1001.html

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
<meta name="author" content="afokkema">
99
<title>Patch-VMHost - PoshCode</title>
1010

11-
<link rel="stylesheet" href="/css/bootstrap.min.css">
11+
<link rel="stylesheet" href="/css/superhero.min.css">
1212
<link rel="stylesheet" href="/css/main.css">
13+
<link rel="stylesheet" href="/css/highlight/arta.css">
1314
<style>
1415
body {
1516
padding-top: 50px;
@@ -28,29 +29,35 @@
2829
</button>
2930
</div>
3031
<div id="navbarResponsive" class="collapse navbar-collapse navbar-responsive-collapse navbar-right">
31-
<ul class="nav navbar-nav nav-tabs ml-auto" data-tabs="tabs" id="tabs">
32+
<ul class="nav navbar-nav nav-tabs ml-auto" id="tabs">
33+
<li class="nav-item"><a class="nav-link" href="/">Join Us!</a></li>
3234
<li class="nav-item"><a class="nav-link active show" href="/scripts" data-toggle="tab">Scripts</a></li>
33-
<li class="nav-item"><a class="nav-link" href="/video" data-toggle="tab">Video Feed</a></li>
35+
<li class="nav-item"><a class="nav-link" href="/video">Videos</a></li>
3436
</ul>
3537
</div><!--/.navbar-collapse -->
3638
</div>
3739
</nav>
3840
</header>
3941

40-
42+
<div class="container">
43+
<div class="blog-header">
44+
<h1 class="blog-title">PoshCode</h1>
45+
<p class="lead blog-description">Community resources for PowerShell coders</p>
46+
</div>
47+
<div class="row">
48+
4149

4250
<div class="blog-post">
4351
<h2 class="blog-post-title">Patch-VMHost</h2>
4452
<p class="blog-post-meta">
4553
<span class="blog-post-time">2009-04-07</span> by <a class="blog-post-author">afokkema</a>
4654
</p>
4755

48-
<h1>Patch-VMHost</h1>
49-
<h3><a href="//scripts/1001.ps1">download</a> - <a href="//scripts/1000.md">parent</a></h3>
56+
<h3><a href="/scripts/1001.ps1">download Patch-VMHost.ps1</a> - <a href="/scripts/1000.md">parent</a></h3>
5057
<p>This script will patch an ESX Host using VMware Update Manager.</p>
5158
<p>You need to install the VMware.VumAutomation on the host where you want to run this script.</p>
5259
<p>Arne Fokkema http://ict-freak.nl</p>
53-
<pre><code class="language-posh">
60+
<pre><code class="language-powershell">
5461

5562
Add-PSSnapin &quot;VMware.VimAutomation.Core&quot;
5663
Add-PSSnapIn &quot;VMware.VumAutomation&quot;
@@ -91,10 +98,13 @@ <h3><a href="//scripts/1001.ps1">download</a> - <a href="//scripts/1000.md">pare
9198
</code></pre>
9299

93100
</div>
94-
95-
<footer class="blog-footer">
96-
<p>&copy; Joel &quot;Jaykul&quot; Bennett 2018</p>
97-
</footer>
101+
<!-- sidebar? -->
102+
</div>
103+
<hr>
104+
<footer class="blog-footer">
105+
<p>Generated by Joel &quot;Jaykul&quot; Bennett - 2018</p>
106+
</footer>
107+
</div> <!-- /container -->
98108

99109
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
100110
crossorigin="anonymous"></script>
@@ -103,7 +113,8 @@ <h3><a href="//scripts/1001.ps1">download</a> - <a href="//scripts/1000.md">pare
103113
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
104114
crossorigin="anonymous"></script>
105115
<script src="/js/main.js"></script>
106-
116+
<script src="/js/vendor/highlight.pack.js"></script>
117+
<script>hljs.initHighlightingOnLoad();</script>
107118
<script>
108119
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
109120
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

0 commit comments

Comments
 (0)