<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>theodorton.github.io</title>
    <link>https://theodorton.github.io/</link>
    <description>Recent content on theodorton.github.io</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 02 Oct 2021 10:00:00 +0100</lastBuildDate>
    
	<atom:link href="https://theodorton.github.io/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>TIL: November 2020-October 2021</title>
      <link>https://theodorton.github.io/til-november-2020-october-2021/</link>
      <pubDate>Sat, 02 Oct 2021 10:00:00 +0100</pubDate>
      
      <guid>https://theodorton.github.io/til-november-2020-october-2021/</guid>
      <description>bundle add {gem} about pgbench - source Firefox can visualize layout grids - mozilla docs network sockets in shell - source jenv, like rbenv and nodenv for Java ablaut reduplication; hip hop, ping pong, tick tock - wikipedia you can link between Workflowy items cells in Excel (and Google Spreadsheets) can be named basehold.it serves CSS files that can overlay grids to help maintaining vertical rhythm use bin/rspec $(git ls-files --modified spec/) to re-run modified specs how to peel almonds - youtube &amp;lt;&amp;lt;~ heredoc strings in Ruby will strip leading whitespace remove indentation you can use delegate :method, to: :target, private: true in Ruby about rspec&amp;rsquo;s example_status_persistence_file_path and --only-failures/--next-failure which is super helpful when you have a bunch of tests failing on CI and you want to re-run them locally before pushing - docs on macOS you can use ⌘ + Tab then down arrow to switch between windows of an application if you have a slightly broken USB cable - you can wirelessly connect android devices via ADB - docs linux has a tree command Postgres has GREATEST and LEAST functions that are super useful when you need to work with bound values you can use filters for before and after hooks in rspec, and they will only run when example groups have a matching filter js: element.</description>
    </item>
    
    <item>
      <title>TIL: May-October 2020</title>
      <link>https://theodorton.github.io/til-may-october-2020/</link>
      <pubDate>Tue, 10 Nov 2020 20:00:00 +0100</pubDate>
      
      <guid>https://theodorton.github.io/til-may-october-2020/</guid>
      <description> now dev -d (for debugging) you need to pass context with the Ruby interactor library to bubble failures now/vercel has support for fetching/distributing the dev environment variables moss grows on the shady side of trees about network enabled audio applications source document.designMode = ‘on’; source how to debug ISP connectivity issues using mtr -rwzbc100 $DESTINATION_IP about curl ipinfo.io/ip about make me a cocktail about iff (if and only if) GraphQL Ruby lookahead argument source you can unsubscribe to newsletters directly in GMail that you can close all open tabs in safari for iOS (by holding the Tabs button) you can configure GMail to go to the newer message after archiving (to process emails FIFO)  </description>
    </item>
    
    <item>
      <title>TIL: April 2020</title>
      <link>https://theodorton.github.io/til-april-2020/</link>
      <pubDate>Fri, 01 May 2020 10:57:00 +0200</pubDate>
      
      <guid>https://theodorton.github.io/til-april-2020/</guid>
      <description>Linux  Press H to toggle user threads in htop Click headings in htop to sort processes How to check the CPU (core) clock speed  Product[ivity]/development  Adding an Apple mail/calendar account on an iOS device lets you use it for two-factor authentication VATLayer.com can check the VAT status of a company if you&amp;rsquo;re building a B2B service You can switch between linked versions of libraries with brew switch {cask} {version} You get more accurate results if you avoid using spaces when fuzzy searching for files in Visual Studio Code You can use an X-Robots-Tag header as an alternative to a meta tag rails console has a --sandbox argument that rolls back database changes ActiveRecord has support for partial indices aasm has before_enter and after_enter callbacks for state transitions rspec-activejob has a .</description>
    </item>
    
    <item>
      <title>TIL: March 2020</title>
      <link>https://theodorton.github.io/til-march-2020/</link>
      <pubDate>Sat, 18 Apr 2020 23:00:00 +0200</pubDate>
      
      <guid>https://theodorton.github.io/til-march-2020/</guid>
      <description>Linux  How to mount APFS on linux  remember to sudo apt install libfuse3-dev  How to install and run folding@home on linux Linux has a timeout command You can be creative about clearing your terminal How to use MKL on AMD CPU source  Product[ivity]/development  Rails 5+ has something called ignored_columns (see this and that) rails db:forward, its opposite of db:rollback and their brainchild db:migrate:redo Postgres has a [verbose] IS NOT DISTINCT FROMoperator source Postgres has support for recursive tables via WITH RECURSIVE source You can create temporary tables in Postgres wirh FROM (VALUES ) source Google Sheets has a QUERY function that accepts SQL source You can use !</description>
    </item>
    
    <item>
      <title>TIL: February 2020</title>
      <link>https://theodorton.github.io/til-february-2020/</link>
      <pubDate>Fri, 06 Mar 2020 18:00:00 +0200</pubDate>
      
      <guid>https://theodorton.github.io/til-february-2020/</guid>
      <description>I started last month setting up a Linux server at home that I use for remote VS Code work. A lot of learning followed as I&amp;rsquo;ve never use Linux outside a server environment, except for some short periods of fiddling with Pop!_OS. I&amp;rsquo;ll probably write up a longer article later, but for now the majority of my TILs the past month has been related to that project.
Linux  You can run simple GUI applications like xeyes and git gui over SSH using X11 and XQuartz How to run VSCode remotely on a linux server with VS Code Remote/SSH extension You can setup default ports to forward on a remote VSCode workspace  ̂ + ⎇ + T  toggles the Terminal panel in VSCode tmux integrates nicely with iterm2 Use tmux select-layout even-vertical to resize panes evenly tmux -CC starts in Control mode (and disables eCho) How to fix iTerm 2 so it uses Natural Text Editing preset (via @sobstel) neofetch - the CLI equivalent to &amp;ldquo;About my computer&amp;rdquo; You can restrict which commands that can be run over SSH in authorized_keys How to change hostname on ubuntu  Productivity/development  ActiveRecord has a comment keyword argument for add_column that works with postgres How to fix HMR in expo react-navigation Assign env vars to constants and use stub_const over mocking env vars in tests git checkout - navigates back to your previously checked out branch similar to cd - @ in slack shows recent activity (via @jennysjogren) Heroku supports multiple credentials for their Postgres databases  Random  The brain has 80 billion neurons&amp;hellip; How to remove stearin stains from clothes: use a paper towel and an iron BTDTBTTS; Been There Done That Bought The T-Shirt Variomatic transmission; drives as fast in reverse  Stuff I&amp;rsquo;ve discovered but didn&amp;rsquo;t have time to pursue yet  grasshopper / rhino parametric cad Geonames.</description>
    </item>
    
    <item>
      <title>TIL: January 2020</title>
      <link>https://theodorton.github.io/til-january-2020/</link>
      <pubDate>Fri, 31 Jan 2020 06:00:00 +0200</pubDate>
      
      <guid>https://theodorton.github.io/til-january-2020/</guid>
      <description>Back in August 2018 I started the habit of writing down stuff I learn. I had come across a lot of TIL posts on reddit, which inspired me to start building a library of personal knowledge.
Since then I&amp;rsquo;ve had some months on and off, some more documented than others. I keep a TIL list in my Workflowy that I like to refer back to.
This year I&amp;rsquo;d like to become better at taking notes of the random facts, computer tricks and techniques I run across.</description>
    </item>
    
    <item>
      <title>7DRL</title>
      <link>https://theodorton.github.io/7drl/</link>
      <pubDate>Sat, 21 Apr 2018 13:00:00 +0200</pubDate>
      
      <guid>https://theodorton.github.io/7drl/</guid>
      <description>tl;dr My friend and I made a roguelike named Skyspire. It&amp;rsquo;s our first roguelike, and first game in a long while. You can find the code on Github.
A week ago I decided to do a 7DRL Challenge. I&amp;rsquo;ve been tinkering with different game engines since middle school, but I tend to start projects without finishing. I read about the 7DRL concept some time last year, and I figured it seemed like a good idea to actually get to something playable.</description>
    </item>
    
    <item>
      <title>About</title>
      <link>https://theodorton.github.io/about/</link>
      <pubDate>Sat, 21 Apr 2018 12:26:18 +0200</pubDate>
      
      <guid>https://theodorton.github.io/about/</guid>
      <description>I like to code.</description>
    </item>
    
  </channel>
</rss>