<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Reference on Andrew's Dumping Ground</title><link>https://andw.me/reference/</link><description>Recent content in Reference on Andrew's Dumping Ground</description><generator>Hugo</generator><language>en-us</language><copyright>2026 Andrew W unless otherwise noted</copyright><lastBuildDate>Tue, 23 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://andw.me/reference/index.xml" rel="self" type="application/rss+xml"/><item><title>Extracting Assets from Nintendo Switch Games</title><link>https://andw.me/reference/extracting-music-from-nintendo-switch-games/</link><pubDate>Tue, 23 Jun 2026 00:00:00 +0000</pubDate><guid>https://andw.me/reference/extracting-music-from-nintendo-switch-games/</guid><description>&lt;p&gt;I wanted to extract the music from some Nintendo Switch games that hadn&amp;rsquo;t been ripped yet. I&amp;rsquo;m not a lawyer, but whole process should be completely legal, assuming you are using your own dumps, which you should be using regardless.&lt;/p&gt;
&lt;h2 id="steps"&gt;Steps&lt;/h2&gt;
&lt;p&gt;You will need your dumped ROM in either &lt;code&gt;.xci&lt;/code&gt; or .&lt;code&gt;nsp&lt;/code&gt; format, alongside your &lt;code&gt;title.keys&lt;/code&gt; and &lt;code&gt;prod.keys&lt;/code&gt; extracted from your console, as the dumps can be encrypted. I&amp;rsquo;m not going to say how to do these things, as I&amp;rsquo;m a bit worried by the Nintendo Ninjas.&lt;/p&gt;</description></item><item><title>Custom Data-Driven Colors in ggplot2</title><link>https://andw.me/reference/r/custom-data-driven-colors-in-ggplot2/</link><pubDate>Tue, 09 Jun 2026 00:00:00 +0000</pubDate><guid>https://andw.me/reference/r/custom-data-driven-colors-in-ggplot2/</guid><description>&lt;p&gt;Obviously you&amp;rsquo;ll need ggplot2 installed in your R environment to do this. I&amp;rsquo;ve also generated some bogus data just to keep things simple for this.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-r" data-lang="r"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#a6e22e"&gt;library&lt;/span&gt;(ggplot2)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;FullData &lt;span style="color:#f92672"&gt;&amp;lt;-&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;data.frame&lt;/span&gt;(
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; name &lt;span style="color:#f92672"&gt;=&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;c&lt;/span&gt;(&lt;span style="color:#e6db74"&gt;&amp;#34;Alice&amp;#34;&lt;/span&gt;, &lt;span style="color:#e6db74"&gt;&amp;#34;Bob&amp;#34;&lt;/span&gt;, &lt;span style="color:#e6db74"&gt;&amp;#34;Charlie&amp;#34;&lt;/span&gt;, &lt;span style="color:#e6db74"&gt;&amp;#34;David&amp;#34;&lt;/span&gt;),
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; score &lt;span style="color:#f92672"&gt;=&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;c&lt;/span&gt;(&lt;span style="color:#ae81ff"&gt;42&lt;/span&gt;, &lt;span style="color:#ae81ff"&gt;37&lt;/span&gt;, &lt;span style="color:#ae81ff"&gt;91&lt;/span&gt;, &lt;span style="color:#ae81ff"&gt;58&lt;/span&gt;),
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; food &lt;span style="color:#f92672"&gt;=&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;c&lt;/span&gt;(&lt;span style="color:#e6db74"&gt;&amp;#34;pizza&amp;#34;&lt;/span&gt;, &lt;span style="color:#e6db74"&gt;&amp;#34;tacos&amp;#34;&lt;/span&gt;, &lt;span style="color:#e6db74"&gt;&amp;#34;pizza&amp;#34;&lt;/span&gt;, &lt;span style="color:#e6db74"&gt;&amp;#34;burger&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#a6e22e"&gt;print&lt;/span&gt;(FullData)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt; name score food
1 Alice 42 pizza
2 Bob 37 tacos
3 Charlie 91 pizza
4 David 58 burger
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The easy way to generate a basic bar chart is as follows, which most of you should know by now.&lt;/p&gt;</description></item><item><title>Discourse with Caddy</title><link>https://andw.me/reference/discourse-with-caddy/</link><pubDate>Sat, 06 Jun 2026 00:00:00 +0000</pubDate><guid>https://andw.me/reference/discourse-with-caddy/</guid><description>&lt;p&gt;Caddy is a super easy to use web server that manages all the boring stuff for you, and because my Oracle always-free server&amp;rsquo;s port HTTP/HTTPS ports (80 and 443) were already in use by Caddy to hook up some webpages for my Minecraft servers, I needed a better way.&lt;/p&gt;
&lt;h2 id="steps"&gt;Steps&lt;/h2&gt;
&lt;p&gt;I will be assuming you already have Caddy setup, alongside that your server/network has some sort of firewall system in place to only allow desired ports. You should also have set up your DNS A record on your domain to redirect to your server&amp;rsquo;s IP address.&lt;/p&gt;</description></item><item><title>Setting up Hugo</title><link>https://andw.me/reference/setting-up-hugo/</link><pubDate>Fri, 05 Jun 2026 00:00:00 +0000</pubDate><guid>https://andw.me/reference/setting-up-hugo/</guid><description>&lt;p&gt;Welp, that&amp;rsquo;s why I&amp;rsquo;m here!&lt;/p&gt;
&lt;p&gt;To be honest, just check this website&amp;rsquo;s &lt;a href="https://github.com/DarkBrave/awyck.me"&gt;GitHub repository&lt;/a&gt; if you wanna see my goofy code magic. Especially when it comes to the stupid dual-list view I had to hack together for the front page to keep References and Articles separate. I still can&amp;rsquo;t figure out how to do a proper search bar in Hugo with PaperMod, but I&amp;rsquo;m okay with a basic search page and relying on Google/other search providers for most access to the content.&lt;/p&gt;</description></item></channel></rss>