Skip to content

Commit

Permalink
some slug fixes, image fixes, not yet working fully on fancybox but w…
Browse files Browse the repository at this point in the history
…ill tackle that later
  • Loading branch information
sheldonhull committed Apr 8, 2019
1 parent ba09ee6 commit 0d03d6d
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 70 deletions.
Expand Up @@ -4,13 +4,11 @@ tags:
- sql-server
- cool-tools
title: "SSMS 2012 Extender for the times you want some organization to the random pile"
slug: "ssms-2012-extender-for-the-times-you-want-some-organization-to-the-random-pile-of-objects-gathering-in-the-dusty-confines-of-that-database"
of objects gathering in the dusty confines of that database
slug: "ssms-2012-extender-for-the-times-you-want-some-organization-to-the-random-pile"
---

When dealing with large amounts of objects in a database, navigation can be tedious with SSMS object explorer. This extender organizes the objects into groups based on schema, helping a developer easily navigate to the appropriate object. The current version didn't work for views, but the other objects were grouped effectively. Highly recommend!

[SSMS 2012 Extender ](https://ssms2012extender.codeplex.com/ "SSMS 2012 Extender")

![ObjectExplorer_2013-07-16_07-35-51](/images/ObjectExplorer_2013-07-16_07-35-51_uxfdyj.png)

Expand Up @@ -4,7 +4,6 @@ tags:
- sql-server
title: "Check Constraints can help enforce the all or nothing approach when it comes"
slug: "check-constraints-can-help-enforce-the-all-or-nothing-approach-when-it-comes-to-column-updates"
to column updates
---

If you have a set of columns inside your table that you want to allow nulls in, however if one of the columns is updated force all columns in the set to be updated, use a check constraint. In my case, I had 3 columns for delete info, which were nullable. However, if one value was updated in there, I want all three of the delete columns to require updating. I created the script below to generate the creation and removal of these constraints on a list of tables:
Expand Down
Expand Up @@ -5,8 +5,6 @@ tags:
- sql-server
title: "Case of the Mondays... causing me to randomly redefine the Scope of Global"
slug: "case-of-the-mondays-causing-me-to-randomly-redefine-the-scope-of-global-temp-tables"
temp tables
---

Today, I was reminded that global temp tables scope lasts for the session, and doesn't last beyond that. The difference is the scope of the global temp allows access by other users and sessions while it exists, and is not limited in scope to just the calling session. For some reason I can't remember, I had thought the global temp table lasted a bit longer. Remembering this solved the frustration of wondering why my adhoc comparison report was empty..... #mondayfail [SQLMag article I referenced](http://goo.gl/FCs8lv)

Expand Up @@ -5,7 +5,6 @@ tags:
- sql-server
title: "Glasswire: (Giveaway Included) Networking Monitoring even a caveman could"
slug: "glasswire-(giveaway-included)-networking-monitoring-even-a-caveman-could-use"
use'
toc: true
---

Expand Down Expand Up @@ -92,4 +91,3 @@ Drawing will occur end of July and winner name will be posted here and notified

Congrats to Tim! I'll be sending you the license details.
Hope you enjoy and thanks to Glasswire for sponsoring this. Give the free version a shot, even if you aren't planning on going pro. It's a great tool for anyone to increase transparency on what's really happening with their system.

23 changes: 4 additions & 19 deletions content/blog/2017-05-08-programming-fonts-for-the-newb.md
@@ -1,24 +1,9 @@
---
date: "2017-05-08T00:00:00Z"
gallery:
- alt: fira-code-mono
image_path: /images/fira-code-mono.png
title: "Image of fira-code-mono"
slug: "programming-fonts-for-the-newb"
url: /images/fira-code-mono.png
- alt: source-code-pro
image_path: /images/source-code-pro.png
title: "Image of source-code-pro"
slug: "programming-fonts-for-the-newb"
url: /images/source-code-pro.png
- alt: bitstream-vera-sans-mono
image_path: /images/bitstream-vera-sans-mono.png
title: "Image of bitstream-vera-sans-mono"
slug: "programming-fonts-for-the-newb"
url: /images/bitstream-vera-sans-mono.png
last_modified_at: "2018-03-30"
tags:
- tech
- tech
title: "Programming Fonts For The Newb"
slug: "programming-fonts-for-the-newb"
---
Expand Down Expand Up @@ -73,15 +58,15 @@ As you dive into the world of exploring fonts, here's a couple things I'd look f
1. Characters that can hide problems are easily identified such as a period, or dash, most monospaced fonts are great for this, but some have smaller symbols that might make them a little less readable.
2. Resizes well for your target zoom. I've tried some fonts that don't seem to look right once you change your zoom level or the size of the font. I looked up some details on this and apparently some fonts are bitmapped, and some vector images. If you are using bitmapped fonts, then the target size is ideal, while adjusting zoom level can cause blurriness or fuzzy quality as it's not going to rescale like a vector based font would. This isn't bad if you are ok with the normal font size levels.

{{% fancybox "fira-code-mono.png" %}}
{{% fancybox "source-code-pro.png" %}}
{{% fancybox "bitstream-vera-sans-mono.png" %}}


{% include gallery caption="A few examples of 3 main fonts I've used and how they look for a sql script." %}


So far my personal favorite is Fira Code, so check that one out if you are looking for something interesting to try.


## resource links

[FiraCode Github](http://bit.ly/2fpxcSQ)

58 changes: 21 additions & 37 deletions content/blog/2017-09-08-welcome-to-the-world-little-ella.md
Expand Up @@ -15,42 +15,27 @@ It was a rough 24 hours resulting in our first cesarean experience. This was a b

<!-- {% include gallery caption="Welcome to the World Little Ella" %} -->

![Ella_18](/images/Ella_18.jpg)

![Ella_17](/images/Ella_17.jpg)

![Ella_16](/images/Ella_16.jpg)

![Ella_15](/images/Ella_15.jpg)

![Ella_14](/images/Ella_14.jpg)

![Ella_12](/images/Ella_12.jpg)

![Ella_13](/images/Ella_13.jpg)

![Ella_11](/images/Ella_11.jpg)

![Ella_10](/images/Ella_10.jpg)

![Ella_9](/images/Ella_9.jpg)

![Ella_8](/images/Ella_8.jpg)

![Ella_7](/images/Ella_7.jpg)

![Ella_6](/images/Ella_6.jpg)

![Ella_4](/images/Ella_4.jpg)

![Ella_5](/images/Ella_5.jpg)

![Ella_2](/images/Ella_2.jpg)

![Ella_3](/images/Ella_3.jpg)

![Ella_1](/images/Ella_1.jpg)

{{% fancybox-gallery
"gallery1"
"Ella_18.jpg"
"Ella_17.jpg"
"Ella_16.jpg"
"Ella_15.jpg"
"Ella_14.jpg"
"Ella_12.jpg"
"Ella_13.jpg"
"Ella_11.jpg"
"Ella_10.jpg"
"Ella_9.jpg"
"Ella_8.jpg"
"Ella_7.jpg"
"Ella_6.jpg"
"Ella_4.jpg"
"Ella_5.jpg"
"Ella_2.jpg"
"Ella_3.jpg"
"Ella_1.jpg"
%}}


Thanks for all the prayers!
Expand All @@ -63,4 +48,3 @@ Thanks to their care I have a healthy baby girl, healthy wife, and some beautifu

<iframe src="https://www.youtube.com/embed/vB1EqN-WfkI?wmode=opaque&enablejsapi=1" height="480" width="854" scrolling="no" frameborder="0" allowfullscreen="yes">
</iframe>

8 changes: 4 additions & 4 deletions layouts/partials/extra-foot.html
@@ -1,9 +1,9 @@
<!-- {{ if or ( .HasShortcode "fancybox" ) ( .HasShortcode "fancybox-gallery" ) }} -->
{{ if or ( .HasShortcode "fancybox" ) ( .HasShortcode "fancybox-gallery" ) }}
<script
src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<!-- {{ $script := resources.Get "js/jquery.fancybox.min.js" | minify | fingerprint -}} -->
<!-- <script src="{{ $script.Permalink }}" {{ printf "integrity=%q" $script.Data.Integrity | safeHTMLAttr }}></script> -->
<!-- {{ end }} -->
{{ $script := resources.Get "js/jquery.fancybox.min.js" | minify | fingerprint -}}
<script src="{{ $script.Permalink }}" {{ printf "integrity=%q" $script.Data.Integrity | safeHTMLAttr }}></script>
{{ end }}
<script defer src="https://use.fontawesome.com/releases/v5.8.1/js/all.js" integrity="sha384-g5uSoOSBd7KkhAMlnQILrecXvzst9TdC09/VM+pjDTCM+1il8RHz5fKANTFFb+gQ" crossorigin="anonymous"></script>
2 changes: 1 addition & 1 deletion layouts/partials/extra-head.html
Expand Up @@ -4,4 +4,4 @@
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch-theme-algolia.min.css"> -->

<!-- <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.7.1/dist/instantsearch-theme-algolia.min.css"> -->
<script src="https://cdn.jsdelivr.net/autocomplete.js/0/autocomplete.min.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/autocomplete.js/0/autocomplete.min.js"></script> -->
2 changes: 1 addition & 1 deletion layouts/shortcodes/fancybox.html
@@ -1 +1 @@
<a data-fancybox="gallery" href="{{.Site.BaseURL}}/images/{{.Get 0}}"><img src="{{.Site.BaseURL}}/images/{{.Get 0 }}"></a>
<a href="{{.Site.BaseURL}}/images/{{.Get 0}}"><img src="{{.Site.BaseURL}}/images/{{.Get 0 }}"></a>

0 comments on commit 0d03d6d

Please sign in to comment.