Kaixo! Ramblings written by Smith Suth who works at the intersection of Design, Engineering, and Product.

  • Copy Text With JS

    Copy Text With JS

    I found this jewel somewhere:


  • Setting up React & Hot Reloader

    Setting up React & Hot Reloader

    my package.json should look like this: add the following script: my webpack.config.js should look like this: my webpack.deployment.config.js should look like this: my app/index.js should looke like this: my app/Component.jsx should looke like this: my index.html should look like this:


  • So I Started Using VIM

    So I Started Using VIM

    So I recently started using VIM and now I can’t stop typing :q whenever I want to close random browser windows. Here are the VIM plugins I’ve been using: VIM Plug – for adding VIM plugins Nerd Tree – VIM…


  • (Swift) Programmatically Segue

    (Swift) Programmatically Segue

    Using the code from my previous post on segues, here’s a snippet:


  • Launch Sublime in Terminal

    Launch Sublime in Terminal

    Launch Sublime: subl Launch an entire folder: subl . Launch a particular file: subl blah.xxx


  • (Swift) Adding Audio

    (Swift) Adding Audio

    Utilize AudioToolbox and make a class, Sound, to pass in the filename of you audio file and it’s type. Tools: Then, call it like so:


  • (Swift) Stop Using the Storyboard

    (Swift) Stop Using the Storyboard

    I started learning Swift about three months ago and when I started I used the storyboard. This post will be a snippet of how you can stop using the storyboard! The major benefit of not using the storyboard is not having messy…


  • (Swift) Layout Constraints

    (Swift) Layout Constraints

    A whiles back ago I was trying to learn how constraints work. Today, I still have no idea what the heck is going on. While learning, I can across a bunch of tutorials that helped. However, I don’t…


  • (Swift) Detect Typing

    (Swift) Detect Typing

    Here’s a snippet on how to detect typing on your Swift app. It’s pretty simple because we’re utilizing the UITextViewDelegate delegate. Aka, built in success – thank you Swift! Tools: This snippet is pretty short. See below for some code that…