Preventing Hotlinking with Nginx (August 11, 2020)

I will be going over how to prevent hotlinking with Nginx. Hotlinking refers to accessing objects, usually images, through ways aside from the original site. This includes external sites embedding objects and requesting the object on its own…

RegReplace: for those batch text replacements (August 09, 2020)

I found this useful Sublime Text plugin when figuring out how to perform a series of text replacements en masse. Called Reg Replace , it allows me to create commands for whatever Find-and-Replace operations I want. First, I installed it using…

Git Fixup and Autosquash (August 07, 2020)
Tags:

Maintaining a clean git history brings me a lot of joy. That's because sometimes it's extremely difficult to make happen all the time when I'm constantly going back, seeing a small mistake, and need to make a teeny edit. Say I make a commit to update…

TWRP Backup createTarFork() Fix (August 05, 2020)

It's been a while since I made a TWRP backup of my phone. And I wanted to install GravityBox in order to take advantage of removing Spotify's album art from my phone's lockscreen. I just want my lockscreen wallpaper to stay shown, and not the low…

Monogatari: True Distraction-Free Mode (July 29, 2020)

Monogatari provides a Hide button to allow the player to hide the text box. This allows them to view the graphics and backgrounds without the text box obstructing their view! However, I found it doesn't quite look as clean as it could be. When the…

Monogatari: Creating a Chapter Screen, Part 2 (July 27, 2020)

The last post I wrote focused on the declaration of a ScreenComponent and accessing it through the main menu. Here I will get into the fun part: populating the chapter screen with a list of chapters. Adding a back button Currently, the chapter…

Monogatari: Creating a Chapter Screen, Part 1 (July 27, 2020)

This next Monogatari spotlight is a monster! So this has been split into multiple parts. I'm going to cover making a new ScreenComponent . How did I find about doing that? By checking the lib folder in the source for the right component to create…

Monogatari: Dialog Log Tweaks with Automatic Scrolling (July 26, 2020)

In this post, I'll be covering two things: how to override a component's static template, and how to override a method, starring the dialog log. Working with main.js First, where does any of this go? The majority of the time, custom JavaScript code…

Hello, Monogatari (July 26, 2020)

Lately I have been playing with Monogatari , a visual novel engine that is for the web and is built around JavaScript. So far, I'm liking it. The documentation is pretty sparse in some areas, but there is a Discord channel that seems pretty active…

HTTPS with Let's Encrypt (May 25, 2019)

It's increasingly important to obtain an HTTPS certificate in order to ensure websites are running as intended in various browsers. So I took in upon myself to set one up for my domain. To get started, I went to Let's Encrypt's Getting Started page…

Finding Packages with Large Installed Sizes (May 18, 2019)

I needed to clear some disk space and wanted to find out if there are any programs I'm not using that take up substantial space. Thanks to this Unix StackExchange post , I can do this: Essentially, list all installed packages with the size first…

Gatsby Build Automation (December 01, 2018)

What I wanted to simplify for myself is the following process: write a blog post on Sublime Text on my laptop push it to the repository's master branch push it to the production server Gatsby builds all the static files and deploys it Thanks to…

Gatsby (December 01, 2018)

This blog is now a Gatsby blog! From Hexo, it was a little rough with the different header metadata, but seeing as both use Markdown files to generate posts, it could have been much worse. So far, setting up Gatsby v2 is a smooth process. There's…

Xubuntu (November 01, 2017)

After using Lubuntu for a while, I wanted a change. It was time to try a new Linux distro. My criteria: something that is lightweight (still want to run it on the 12 GB SSD) but with just enough power for a friendlier user interface and room for…

Appending to Filenames on Windows (October 27, 2017)

While working on a Windows machine, I needed a way to append to filenames for multiple files. This is what worked for me: Open the File Explorer and navigate to the folder where the files to be renamed are. Hold the Shift key and right-click the…

Remove Old Linux Kernels with Byobu (October 15, 2017)

Here's a simpler way of deleting old Linux kernels. Install Byobu : After that, the command to remove all Linux kernels except for the two latest is:

Deploying a Meteor App on Nginx (June 07, 2017)

I finally finished my portfolio site ! I used Kube as the main CSS framework and React for the Javascript. On the back end is Meteor as it was easy to set up and get going. The idea is a single page application (SPA) which consists of displaying my…

Lubuntu Print Screen (PrtSc) Shortcuts (June 01, 2017)

If I want to take a screenshot on Lubuntu, I can simply press PrtSc on my keyboard and have the file available in my home folder. What I discovered recently is that there's a shortcut to take a screenshot of only the window: Alt + PrtSc . Sadly…

Setting Hyperlink Styles on Microsoft Word (May 28, 2017)

While updating my resume, I wanted to change how my hyperlinks looked all at once (because who wants to manually update each link's font and remove the underline?). Here's a trick I learned to update a document's hyperlink style to save time and…

Filtering an Anki Deck (May 25, 2017)

I have an Anki deck with multiple tags associated with it. I wanted to find a way to make a deck composed of certain tags. Suppose I wanted to study for a test that covers chapters 1 and 2 using a deck called History. The deck has cards that either…

Introducing VGMdb Tools (October 13, 2016)

Way back I made a blog entry about the useful tagging functionality in foobar2000 . In it I mentioned the Automatically fill each field tool that fills in the tags of a song using the text saved on the clipboard. So I would copy a list of tracks…

Wordpress Migration (continuation from Nginx Migration) (October 11, 2016)

After some trial and error, Wordpress migration was a success. The toughest part was getting the site to run with the new host's nameservers (as the other sites were simply using the same ones as the old host - the domain's nameservers). It only…

Nginx Migration (October 04, 2016)

On a new VPS, nothing has been set up, so I have to make sure everything is installed and working. For allowing PHP sites to run properly, I needed to have php installed: Next, the domain and subdomain setup must be configured. The way virtual hosts…

Japanese Characters on Lubuntu (September 29, 2016)

I noticed that when I open DeaDBeeF to play some music, some of the tracks that contain Japanese characters were not rendering properly. This concerned me a bit, so I looked up a way to fix it. Turns out a simple font package fixed it: sudo apt-get…

FINE 229 Blog (September 29, 2016)

I created a new blog dedicated to FINE 229, so here it is: https://jt-hybridity.blogspot.ca You can check it out and see me delve into the world of digital creation (and realize how vaporwave has changed me ever since that random reddit function).

Nginx - coming soon (September 27, 2016)

My domain has been in disarray for some time now. Plans have been made to move to a different VPS, deploy sites from scratch, and basically clear out any obsolete dependencies and malformed permissions. Most of all, I want to try Nginx with nodeJS to…

Controlling Volume on Lubuntu's Openbox (February 26, 2016)

As I'm getting Lubuntu back to how it was before, I noticed that my volume keyboard shortcuts don't work. The Fn keys definitely do their job, but for toggling mute and adjusting the volume level, nothing happens. I try to remember what I did to fix…

Lubuntu Reinstall (February 25, 2016)

Today I get a notification from Lubuntu informing me that an upgrade is available to 15.10, or Wily Werewolf. I was mildly interested and thought why not, and started the installation. Along the way, somehow I had butchered the upgrade process. Let's…

Clearing Linux's Disk Space (February 10, 2016)

While I was working on my Linux partition, I saw a software update was pending and gave it the go-ahead. It was then that I realized that I only had a couple hundred megabytes of space left, out of the total 13GB. I use my Lubuntu to do the bulk of…

Adding Disqus to my blog (February 09, 2016)

Adding comments to Hexo is really simple. First, create a site on Disqus: https://disqus.com/admin/create/ . In _config.yaml , add the following anywhere in the file: where SITENAME is the name you gave your site on Disqus. Then: Each post now has…

Hexo's Asset Folders (February 08, 2016)

My past posts sadly have no images, so I took some time to look into how to embed images into Hexo posts. First I set this in my _config.yml file : Then the Markdown way of linking relative image files is this: Since that doesn't work, I checked…

Markdown Preview in Sublime Text (February 05, 2016)

There's something satisfying about typing up Markdown notes on Sublime Text. You could say it's almost sublime . A useful package I use is Markdown Preview , which allows you to preview Markdown files in your browser window. To install it, Ctrl…

The Gist of Gists (February 04, 2016)

So what is a Gist and why should I use one over my GitHub? This occurred to me after I attempted to write a quick FizzBang program in C++. The purpose is to see how I approach a seemingly simple program while trying to follow the various…

Tagging Tools in foobar2000 (January 22, 2016)

There's a reason why I stuck with foobar2000 all these years. It has a clean, minimalistic, no-nonsense GUI that plays your music. It may look dated, but it does the job consistently no matter what I do. It has several installable plugins that help…

Lubuntu Startup Script (September 15, 2015)

Dual-booting Lubuntu with Windows nowadays is really easy. The later versions no longer need to worry about Secure Boot or UEFI to be installed, which made installation on my Thinkpad Yoga a breeze. I used Lubuntu 16.04 LTS on my setup. One thing…

Connecting Game Systems to University Wi-Fi (September 02, 2015)

Waterloo uses Eduroam as its central Wi-Fi network. For many devices such as laptops and smartphones, connecting to it is a cinch. There are other devices that unfortunately can't connect to Eduroam due to its encryption: it's WPA2/Enterprise and it…

Customizing ThinkPad Yoga's pen button to work with SAI (August 31, 2015)

Recently I got a new laptop to replace my aging Zenbook: the Lenovo ThinkPad Yoga 12". It looks to be the perfect machine for me: the small lightweight frame, a full HD multi-touch screen, and the active pen digitizer from Wacom. This would make it a…

Creating Device Manager shortcuts using Devcon (August 25, 2015)

I've had little time to experiment with drawing on the Thinkpad Yoga, so when I had the chance I gave Paint Tool Sai a whirl and see how responsive the Wacom digitizer is. So far, I've been impressed at how accurate the lines are, possibly even more…

Hello World (August 20, 2015)

I thought I would start trying a blog platform on NodeJS and see how it goes. This is Hexo, which was simple to set up and looks pretty nice to boot. In the future though, I would like to create a custom theme. I haven't worked with Swig templates…