You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!doctype html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0"><metaname="description" content=""><metaname="author" content="Zachary Snow"><title>Start Syncthing in the Background on Windows</title><basehref="https://smack0007.github.io"></base><linkrel="stylesheet" type="text/css" href="css/style.css"><linkrel="alternate" type="application/rss+xml" title="The Blog of Zachary Snow" href="feed.rss"><linkrel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><linkrel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"><linkrel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><linkrel="manifest" href="/site.webmanifest"></head><body><divclass="wrap"><navclass="navbar navbar-expand-lg navbar-dark bg-dark"><h1><aclass="navbar-brand" href="/">The Blog of Zachary Snow</a></h1><buttonid="navbar-toggler" class="navbar-toggler" type="button" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"><spanclass="navbar-toggler-icon"></span></button><divclass="collapse navbar-collapse" id="navbarSupportedContent"><ulclass="navbar-nav mr-auto"><liclass="nav-item"><aclass="nav-link active" href="index.html">Home<spanclass="visually-hidden">(current)</span></a></li><liclass="nav-item"><aclass="nav-link" href="about.html">About</a></li><liclass="nav-item"><aclass="nav-link" href="tags/index.html">Tags</a></li></ul><divclass="social my-2 my-lg-0"><ahref="https://twitter.com/smack0007" class="twitter" title="Twitter"><spanclass="icon-twitter"></span></a><ahref="https://github.com/smack0007" class="github" title="Github"><spanclass="icon-github"></span></a><ahref="https://paypal.me/smack0007" class="coffee" title="Buy me a Coffee"><spanclass="icon-mug"></span></a><ahref="feed.rss" class="rss" title="RSS"><spanclass="icon-rss"></span></a></div></div></nav><mainclass="container"><divclass="posts"><divclass="post"><divclass="post-header"><h2><ahref="blog/2024/start-syncthing-background-windows.html">Start Syncthing in the Background on Windows</a></h2><divclass="meta"><spanclass="date"><spanclass="icon-calendar"></span>April 28, 2024</span><spanclass="tags"><ahref="tags/syncthing/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">syncthing</span></a><ahref="tags/windows/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">windows</span></a></span></div></div><divclass="content"><p>Just a quick tip for myself (and anyone who is reading this) for the future. To start <ahref="https://syncthing.net/">syncthing</a> in
2
+
the background on Windows open up the startup apps folder via the run command (Win+R) with <code>shell:startup</code> amd then create
<p>This starts syncthing in the background after a short lived popup opens. <code>--no-console</code> doesn't seem to work for whatever reason.</p>
7
+
</div></div></div><divclass="clear"></div></main><footerclass="p-13 p-md-5 mt-5 text-center text-muted bg-light"><divclass="container"><ulclass="links"><li><ahref="https://twitter.com/smack0007" class="twitter" title="Twitter">Twitter</a></li><li><ahref="https://github.com/smack0007" class="github" title="Github">GitHub</a></li><li><ahref="https://paypal.me/smack0007" class="coffee" title="Buy me a Coffee">Buy me a Coffee</a></li><li><ahref="feed.rss" class="rss" title="RSS">RSS</a></li></ul><pclass="mb-0">The Blog of Zachary Snow</p></div></footer></div><scripttype="text/javascript">document.getElementById('navbar-toggler').onclick=function(){document.getElementById('navbarSupportedContent').classList.toggle('collapse');};</script></body></html>
Copy file name to clipboardExpand all lines: blog/page10.html
+3-6Lines changed: 3 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
-
<!doctype html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0"><metaname="description" content=""><metaname="author" content="Zachary Snow"><title>The Blog of Zachary Snow</title><basehref="https://smack0007.github.io"></base><linkrel="stylesheet" type="text/css" href="css/style.css"><linkrel="alternate" type="application/rss+xml" title="The Blog of Zachary Snow" href="feed.rss"><linkrel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><linkrel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"><linkrel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><linkrel="manifest" href="/site.webmanifest"></head><body><divclass="wrap"><navclass="navbar navbar-expand-lg navbar-dark bg-dark"><h1><aclass="navbar-brand" href="/">The Blog of Zachary Snow</a></h1><buttonid="navbar-toggler" class="navbar-toggler" type="button" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"><spanclass="navbar-toggler-icon"></span></button><divclass="collapse navbar-collapse" id="navbarSupportedContent"><ulclass="navbar-nav mr-auto"><liclass="nav-item"><aclass="nav-link active" href="index.html">Home<spanclass="visually-hidden">(current)</span></a></li><liclass="nav-item"><aclass="nav-link" href="about.html">About</a></li><liclass="nav-item"><aclass="nav-link" href="tags/index.html">Tags</a></li></ul><divclass="social my-2 my-lg-0"><ahref="https://twitter.com/smack0007" class="twitter" title="Twitter"><spanclass="icon-twitter"></span></a><ahref="https://github.com/smack0007" class="github" title="Github"><spanclass="icon-github"></span></a><ahref="https://paypal.me/smack0007" class="coffee" title="Buy me a Coffee"><spanclass="icon-mug"></span></a><ahref="feed.rss" class="rss" title="RSS"><spanclass="icon-rss"></span></a></div></div></nav><mainclass="container"><divclass="posts"><divclass="post"><divclass="post-header"><h2><ahref="blog/2014/my-experience-with-opengl-vs-direct3d.html">My Experience with OpenGL vs Direct3D</a></h2><divclass="meta"><spanclass="date"><spanclass="icon-calendar"></span>November 18, 2014</span><spanclass="tags"><ahref="tags/graphics/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">graphics</span></a><ahref="tags/opengl/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">opengl</span></a><ahref="tags/direct3d/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">direct3D</span></a></span></div></div><divclass="content"><p>I've struggled a lot with myself over whether I should use OpenGL or Direct3D. There is no blanket answer to this question that anyone can tell you.
1
+
<!doctype html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0"><metaname="description" content=""><metaname="author" content="Zachary Snow"><title>The Blog of Zachary Snow</title><basehref="https://smack0007.github.io"></base><linkrel="stylesheet" type="text/css" href="css/style.css"><linkrel="alternate" type="application/rss+xml" title="The Blog of Zachary Snow" href="feed.rss"><linkrel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><linkrel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"><linkrel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><linkrel="manifest" href="/site.webmanifest"></head><body><divclass="wrap"><navclass="navbar navbar-expand-lg navbar-dark bg-dark"><h1><aclass="navbar-brand" href="/">The Blog of Zachary Snow</a></h1><buttonid="navbar-toggler" class="navbar-toggler" type="button" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"><spanclass="navbar-toggler-icon"></span></button><divclass="collapse navbar-collapse" id="navbarSupportedContent"><ulclass="navbar-nav mr-auto"><liclass="nav-item"><aclass="nav-link active" href="index.html">Home<spanclass="visually-hidden">(current)</span></a></li><liclass="nav-item"><aclass="nav-link" href="about.html">About</a></li><liclass="nav-item"><aclass="nav-link" href="tags/index.html">Tags</a></li></ul><divclass="social my-2 my-lg-0"><ahref="https://twitter.com/smack0007" class="twitter" title="Twitter"><spanclass="icon-twitter"></span></a><ahref="https://github.com/smack0007" class="github" title="Github"><spanclass="icon-github"></span></a><ahref="https://paypal.me/smack0007" class="coffee" title="Buy me a Coffee"><spanclass="icon-mug"></span></a><ahref="feed.rss" class="rss" title="RSS"><spanclass="icon-rss"></span></a></div></div></nav><mainclass="container"><divclass="posts"><divclass="post"><divclass="post-header"><h2><ahref="blog/2014/linq-calls-iequalitycomparer-gethashcode-before-equals.html">LINQ calls IEqualityComparer<T>.GetHashCode() before Equals()</a></h2><divclass="meta"><spanclass="date"><spanclass="icon-calendar"></span>November 24, 2014</span><spanclass="tags"><ahref="tags/net/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">.net</span></a><ahref="tags/linq/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">linq</span></a></span></div></div><divclass="content"><p>This is a problem that has bitten me more than a few times so I thought it was about time to write a blog post about it. It's one of those problems
2
+
that makes you scratch your head for a bit and then the light bulb goes on and you remember you've solved this one before. It occurs whenever you
3
+
use a LINQ extension method which takes an instance of IEqualityComaparer<T>.</p><aclass="readMore" href="blog/2014/linq-calls-iequalitycomparer-gethashcode-before-equals.html">Read More</a></div></div><divclass="post"><divclass="post-header"><h2><ahref="blog/2014/my-experience-with-opengl-vs-direct3d.html">My Experience with OpenGL vs Direct3D</a></h2><divclass="meta"><spanclass="date"><spanclass="icon-calendar"></span>November 18, 2014</span><spanclass="tags"><ahref="tags/graphics/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">graphics</span></a><ahref="tags/opengl/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">opengl</span></a><ahref="tags/direct3d/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">direct3D</span></a></span></div></div><divclass="content"><p>I've struggled a lot with myself over whether I should use OpenGL or Direct3D. There is no blanket answer to this question that anyone can tell you.
2
4
Both APIs have a very different feel and which one you prefer can only be decided on your own.</p><aclass="readMore" href="blog/2014/my-experience-with-opengl-vs-direct3d.html">Read More</a></div></div><divclass="post"><divclass="post-header"><h2><ahref="blog/2014/code-from-when-i-was-young-and-stupid.html">Code from when I was young and stupid and needed the money</a></h2><divclass="meta"><spanclass="date"><spanclass="icon-calendar"></span>June 18, 2014</span><spanclass="tags"><ahref="tags/old-code/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">old-code</span></a><ahref="tags/cpp/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">c++</span></a></span></div></div><divclass="content"><p>We have had 2 interns at work for the past few weeks and one of the tasks we gave them was to implement <ahref="http://en.wikipedia.org/wiki/Quick_sort">Quicksort</a>.
3
5
This got me to thinking about my youth and some of the code I wrote back then. I've decided to post it.</p><aclass="readMore" href="blog/2014/code-from-when-i-was-young-and-stupid.html">Read More</a></div></div><divclass="post"><divclass="post-header"><h2><ahref="blog/2014/adding-assembly-references-in-roslyn.html">Adding assembly references in Roslyn</a></h2><divclass="meta"><spanclass="date"><spanclass="icon-calendar"></span>April 15, 2014</span><spanclass="tags"><ahref="tags/net/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">.net</span></a><ahref="tags/csharp/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">c#</span></a><ahref="tags/roslyn/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">roslyn</span></a></span></div></div><divclass="content"><p>In the Roslyn preview that was released at Build 2014 the way references to global assmeblies are added was changed. Before the preview I could use code like this:</p>
<p>I ended up writing my own tool I call <ahref="http://github.com/smack0007/Gatsby">Gatsby</a> to do it. I also set up the whole deploy process myself involving pushing to <ahref="http://github.com/smack0007/zacharysnow.net">Github</a>
26
28
which then informs my website to pull from the Github repository. Hopefully that will be a blog post in the not too distance future.</p>
27
29
<p>Sorry for any inconvenience.</p>
28
-
</div></div><divclass="post"><divclass="post-header"><h2><ahref="blog/2013/using-component-glue-to-build-your-object-graphs-automatically.html">Using Component Glue to build your object graphs automatically</a></h2><divclass="meta"><spanclass="date"><spanclass="icon-calendar"></span>July 26, 2013</span><spanclass="tags"><ahref="tags/open-source/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">open-Source</span></a><ahref="tags/dependency-injection/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">dependency-injection</span></a><ahref="tags/ioc/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">ioc</span></a><ahref="tags/csharp/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">c#</span></a><ahref="tags/net/index.html"><spanclass="icon icon-price-tags"></span><spanclass="tagName">.net</span></a></span></div></div><divclass="content"><p>Component Glue is an IoC container and you use it of course to wire up your object graphs for you. Component Glue can also build your object graphs for you automatically if there are no interfaces involved. Take this example:</p>
<p>In After.cs, you can see that Component Glue is able to build the entire object graph for us. This will include all future dependencies as well so long as interfaces don't come into play. Should an interface be needed, you can just bind that single component.</p>
32
-
<p>This is a very powerful thing. If one component needs to take on a dependency, just ask for it in the constructor and Component Glue will handle it for you.</p>
33
30
</div></div></div><divclass="clear"></div><navaria-label="Page navigation"><ulclass="pagination justify-content-center"><liclass="page-item"><ahref="blog/page11.html" class="page-link older">Older</a></li><liclass="page-item"><ahref="blog/page9.html" class="page-link newer">Newer</a></li></ul></nav></main><footerclass="p-13 p-md-5 mt-5 text-center text-muted bg-light"><divclass="container"><ulclass="links"><li><ahref="https://twitter.com/smack0007" class="twitter" title="Twitter">Twitter</a></li><li><ahref="https://github.com/smack0007" class="github" title="Github">GitHub</a></li><li><ahref="https://paypal.me/smack0007" class="coffee" title="Buy me a Coffee">Buy me a Coffee</a></li><li><ahref="feed.rss" class="rss" title="RSS">RSS</a></li></ul><pclass="mb-0">The Blog of Zachary Snow</p></div></footer></div><scripttype="text/javascript">document.getElementById('navbar-toggler').onclick=function(){document.getElementById('navbarSupportedContent').classList.toggle('collapse');};</script></body></html>
0 commit comments