<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tips on Taylor Jasko</title><link>https://taylorjasko.com/tag/tips/</link><description>Recent content in Tips on Taylor Jasko</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 03 Oct 2021 16:02:44 +0000</lastBuildDate><atom:link href="https://taylorjasko.com/rss/tag/tips/index.xml" rel="self" type="application/rss+xml"/><item><title>Why I don't care about backups and how you can too</title><link>https://taylorjasko.com/why-i-dont-care-about-backups-and-how-you-can-too/</link><pubDate>Fri, 31 May 2013 20:03:15 +0000</pubDate><guid>https://taylorjasko.com/why-i-dont-care-about-backups-and-how-you-can-too/</guid><description>&lt;p&gt;Within the last few weeks, I&amp;rsquo;ve had quite a few friends lose their data. All their precious photos, videos, and other documents have vanished, forever. But here&amp;rsquo;s the thing: you don&amp;rsquo;t have to deal with this anymore. There are &lt;em&gt;so many &lt;/em&gt;ways to take backups nowadays that losing data is somewhat of an excuse and should not happen in the first place. Here&amp;rsquo;s what I do on all of my systems/servers so I don&amp;rsquo;t have to worry about backups&amp;hellip; ever.&lt;/p&gt;</description></item><item><title>Having Nginx init.d script issues? It might be your comments.</title><link>https://taylorjasko.com/nginx-init-d-script-issue-watch-your-comments/</link><pubDate>Sat, 27 Apr 2013 15:24:23 +0000</pubDate><guid>https://taylorjasko.com/nginx-init-d-script-issue-watch-your-comments/</guid><description>&lt;p&gt;I just updated to Nginx 1.2.8 on my dedicated server and even updated the init.d startup scripts at the same time (I had some custom-written scripts that needed updated). Well, I noticed a weird issue when I tried to restart Nginx:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;➜ ~ /etc/init.d/nginx restart
Restarting nginx: nginxnginx: invalid option: "/var/run/nginx.pid"
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;So I checked the init.d script for Nginx&amp;hellip; at the very top it had something like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;PID=$(awk -F'[ ;]' '/[^#]pid/ {print $2}' /etc/nginx/nginx.conf)
if [ -z "$PID" ]
then
 PID=/var/run/nginx.pid
fi
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;That&amp;rsquo;s perfectly valid code&amp;hellip; so I ran &amp;ldquo;awk -F&amp;rsquo;[ ;]&amp;rsquo; &amp;lsquo;/[^#]pid/ {print $2}&amp;rsquo; /etc/nginx/nginx.conf&amp;rdquo; in my zsh prompt:&lt;/p&gt;</description></item><item><title>VMware vCenter and NAT</title><link>https://taylorjasko.com/vmware-vcenter-and-nat/</link><pubDate>Thu, 31 Jan 2013 00:52:27 +0000</pubDate><guid>https://taylorjasko.com/vmware-vcenter-and-nat/</guid><description>&lt;p&gt;Thought I&amp;rsquo;d write up a quick post for any of you who might struggle with a similar issue with VMware vCenter in a NAT configuration. But first, some backstory.&lt;/p&gt;
&lt;p&gt;I recently installed pfSense on my ESXi box to route all of my virtual machines through (please please, don&amp;rsquo;t send me Twitter hate messages of me virtualizing a router&amp;hellip; I know, I know, if you&amp;rsquo;re 100% serious, you should go dedicated. But I don&amp;rsquo;t get that much traffic. :P). This setup is of course using a NAT 1:1 option, with NAT reflection on, so that when visiting any of the public IPs I have, it will route to the correct internal LAN IP. Thing is, I also have my Windows box housing vCenter on the same ESXi box, which was going through the router as well.&lt;/p&gt;</description></item><item><title>Quick Tip: Desk/Office Wiring</title><link>https://taylorjasko.com/quick-tip-deskoffice-wiring/</link><pubDate>Mon, 14 Jan 2013 21:46:55 +0000</pubDate><guid>https://taylorjasko.com/quick-tip-deskoffice-wiring/</guid><description>&lt;img class="size-large wp-image-18912 aligncenter" alt="" src="https://taylorjasko.com/wp-content/uploads/2013/01/photo-e1358227574770-1024x538.jpg" width="1024" height="538" /&gt;
&lt;p&gt;Some years ago, while digging through my father&amp;rsquo;s toolbox getting some nails, I noticed these copper things that had two holes and a nice big gap inside the middle, that I later found out was a two-hole conduit strap/hanger used to hold pipes (also called EMT straps). I then had the great idea to drill holes in my desk and run wires through them, for clean wire-management. Turns out, it worked out &lt;strong&gt;really well&lt;/strong&gt;. So well, I decided to buy a &lt;a href="http://www.homedepot.com/buy/3-4-in-2-hole-electrical-metallic-tube-emt-straps-100-pack--61607b.html#.UPTrCKvvnVs"&gt;pack of 100&lt;/a&gt; and use them to wire my new desk in LA.&lt;/p&gt;</description></item></channel></rss>