Welcome

Welcome to the new otaku-elite.

This is the home of the original otaku-elite online gaming/anime community web forum (active 1999–2004). If you are looking for “heero” or “karia” then you’ve found the right place. This site is now dedicated to programming, web design & development, linux, os x, video games and anime.

Recently posted:

View all articles »

  • Nov 29

    Adding [Text] Shadows in iOS code
    Although it’s very simple, I often forget how to add a shadow in iOS using Objective-C. It’s not so much that I forget, but that there are certain required parameters that need to be set in order for it to... read more...

  • Nov 06

    Debugging Cordova code
    I had to revisit an old project today that was built on Cordova and App Framework. It was like hell reacquainting myself with the application and I’m still not through, but I thought I’d post a few quick references that... read more...

  • Nov 04

    Finding The Right Objective C Singleton Idiom code
    In our app at work we use singletons in a few places. But when you search google for you get mixed answers for the right way to implement it. I became curious as to what the proper way to accomplish... read more...

  • Oct 29

    5 Things I Wish I Knew About When I Started iOS Development code
    There are 5 things I really wish I knew about when I started ios development. If you’re just getting into it now, I think it will help. So let’s jump in. 1. Constraints, Constraints, Constraints! Constraints are a very important... read more...

  • Jun 26

    Help! My iPhone Contacts Won't Sync! blog
    Today I installed iOS 8 beta 2. After installing, my contacts were gone and absolutely refused to sync from the Exchange account I had set up for my gmail. I’m going to teach you how to fix the sync issue... read more...

  • Jun 10

    Homebrew Packages Not Found After Upgrading OS X osx
    Today at work I ran into a really irritating issue. None of my installed homebrew packages were found and when I tried to install them again using brew install it told me they were already installed. My paths all checked... read more...

  • Jun 03

    XCode Opens Storyboard as XML code
    If you’ve just run into a problem where your storyboard or UI files in XCode open in a code editor it can be tedious to figure out what the problem is. The first time this happened to me I was... read more...

  • Jun 01

    Preparing for iOS Development code
    Soon I’ll begin blogging more and more about iOS development. I hate XCode. Here are a few things to help get us started: XVim If you’re an absolute vim addict, such as myself, then pretty much everything you do on... read more...

  • Apr 20

    Open Random File Command Line Osx blog
    Ever want to select a random file on the command line? Or just randomize anything? Well it’s possible using shuf. We can use the shuf command to shuffle any input from stdin. Use ls | shuf -n1 to pull a... read more...

  • Mar 22

    Gurai VS. Goro: The Final Showdown japanese
    Most of my Japanese I’ve picked up simply from talking to native speakers in Japanese. Asking them to repeat themselves a few hundred times, texting on LINE and using my favorite iPhone Japanese Dictionary imiwa?. One thing I picked up... read more...

  • Mar 19

    Going Angular code
    Lately at work I’ve been doing a lot of research and not a lot of blogging. I am going to make an attempt over the course of the next few days to update my blog to reflect the massive amount... read more...

  • Mar 18

    What's Your Major? japanese
    This is kind of embarrassing because it’s something that I really should know but somehow I skipped over learning. For today’s blog post I’m going to quickly review some vocabulary and phrases related to “your major.” Granted I’m not a... read more...

  • Mar 04

    Journaling In Japanese, Day 1 blog
    Somewhat inspired by my Japanese teacher’s request for me to write down (preferably on paper, with my own two hands) a journal entry—one sentence for each day of the week—I’ve decided to do it on the internet instead (where I... read more...

  • Feb 15

    5 Easy Steps to Writing Better Code code
    I’ve seen a lot of bad code written before. This is partially because I’ve written a lot of bad code myself in the past (and for that matter, I still do sometimes). The first step to solving any problem is... read more...

  • Jun 06

    Rake - Command failed with status (127) blog
    So today I got this annoying message from rake that I have seen way too many times. It looks something like the following: $ rake updb scripts/updb.sh rake aborted! Command failed with status (127): [./scripts/updb.sh...] /path/to/Rakefile:16:in `block in <top (required)>'... read more...

  • Jun 06

    MySQL Dump/Restore With Progress Indicator nix
    Today I just found out about a great utility called bar. bar shows a progress indicator on the command line. Bar can be installed via homebrew on os x: brew install bar I don’t know the exact syntax for the... read more...

  • Jun 02

    Adding Videos blog
    Hey all, I haven’t been updating too much recently so I wanted to drop you a line and let you know what’s going on. I am starting to design some new sections of the site, since for a long time... read more...

  • May 31

    Sick And Sad Guitar Cover videos
      Here is a cover of me playing Sick and Sad (Original Song by Catch 22) read more...

  • May 30

    Hearing Japanese - Kaichou wa Maid-sama! japanese
    Ah! Sorry I have not been keeping up with my studious ways. My Japanese P.I.C. (that’s partner-in-crime, or in normal people speak my “study buddy”) has been largely unavailable so I haven’t been doing anything much in the line of... read more...

  • May 17

    The Legend of Zelda - A Link to the Past Episode 01 - Rescue Zelda videos
      Here is the first episode of my first-ever video game playthrough. The Game is The Legend of Zelda: A Link to the Past for SNES. Hope you all enjoy it! read more...

  • May 12

    Hearing Japanese - Magi, Part 2 japanese
    I finished up watching the Magi anime a few days ago and took some more notes. Here they are: Vocabulary List: What I thought I heard What I actually heard Meaning yatsura やつら 奴ら those guys shikashi しかし However; but... read more...

  • May 11

    Change Date Modified On A File Osx osx nix
    In order to test some file based caching I designed in PHP the other day I had to expire one of my cache files by making it older than 1 day. To do that I used touch -mt: touch -mt... read more...

  • May 10

    Creating A Keyboard Shortcut In Sublime To Open Specific Files code
    Today I figured out how to create a keyboard shortcut to open a specific file in Sublime Text 2. This is useful, for example, for hotkeying my MAMP apache vhosts file—a file I commonly edit. Add the following to your... read more...

  • May 09

    Japanese Section Launched! blog
    Despite the fact that I did start writing articles yesterday tonight is the actual night I am launching the content, since I had to do quite a bit of work to figure out how I wanted the pages to be... read more...

  • May 08

    Hearing Japanese - Magi japanese
    Today I started studying Japanese together with a friend. We both had studied separately and decided to brush up on our japanese. In addition to going through my beginner textbook, Japanese for Busy People, I decided that I would augment... read more...

  • Apr 18

    Adding Keywords From Firefox Address Bar blog
    Typically for development I like to use the Firefox keywords feature to get me to where I need to be faster. The irritating part of this is that in order to create a keyword for a site you typically have... read more...

  • Apr 08

    WordPress - Programmatically Getting the Latest Post in a Category code
    I’ve seen a lot of solutions for this online but I didn’t really like any of them and they didn’t seem to fit my needs. Here is a function I wrote that you can add to your functions.php in your... read more...

  • Apr 04

    Wordpress 500 Errors, White Screen of Death (WSOD), the Cause and the Cure. code
    Since many of you are probably looking for an immediate solution to the problem I will post my solution first. The Cure Let’s dive right in. First thing you should probably do is check your error logs (i.e., your apache... read more...

  • Mar 12

    Letters To You - Guitar Cover videos
      Acoustic guitar cover of me playing Letters To You by Finch. read more...

  • Jan 10

    Quickly Showing a Hidden OS X Dock nix
    A friend of mine for years has been searching for a way to instantly show his auto-hidden dock, with zero delay. Until he recently discovered the trick to removing the delay and shared it with me I could not understand... read more...

  • Jan 02

    Upgrading grep in OS X Revisited osx
    Just the other day I realized I was using the OS X stock grep, which was lacking a few features I wanted, some features in particular are the ability to fully color highlight grep results with the --color option, or... read more...

  • Jan 02

    Creating CSS Sprites for LESS nix
    Recently I’ve been working on a project which is using LESS to preprocess its CSS. The mockup design I was given requires image rollovers—which for the sake of having the rollover image ready and loaded—calls for the use of CSS... read more...

  • Apr 20

    Steam Powered SSD blog
    Anyone who owns a solid state hard drive and has a steam account can know how frustrating it may be running low on hard disk and not being able to split up your steam games. Today I’ve come up with... read more...

  • Mar 14

    Upgrading grep in OS X osx
    This Article Is Outdated The information in this article is outdated and may contain information which is now incorrect. A newer version of this article is now available. By default OS X (10.7 in this case) comes installed with grep... read more...

  • Mar 13

    Gettin' Tango Wid it osx
    Recently I decided to give Sequel Pro another whirl instead of running SQLyog as I normally do on OS X under wine using WineBotter. My first objective, however, was to customize the color scheme to something my eyes are more... read more...

  • Mar 12

    S&M - Drum Cover videos
      Me rocking out to some Rihanna on my drum set. The original song is S&M by Rihanna read more...

  • Feb 29

    Monaco "Bold" - Fixing the Ugly OS X Fonts in Lion nix
    One thing that’s really bugged me since I started using OS X Lion was the way my favorite coding font—Monaco—appears at 14pt and above. On my Snow Leopard installation of OS X the fonts appear bold-ish, but on Lion they... read more...

  • Feb 27

    PHPUnit Fails Silently, Returning Code 255 code
    A few days ago I set up PHPUnit on my OS X using MAMP’s pear. Everything seemed to be set up properly except I kept getting this weird issue anytime I ran phpunit, I would get the following: specs/ (dev)... read more...

  • Feb 27

    code
    I found out today that it’s possible to autocomplete rake tasks in bash. All that’s needed is a simple ruby script and some changes to your ~/.profile. (Original information taken from a tumble blog post) First you need to grab... read more...

  • Feb 23

    Including Files Using Straight HTML nix
    Getting the job done for a particular task always calls forth the need for the proper set of tools. In this particular case, the task was to create a single-page static html content-rich site. When I say the site is... read more...

  • Feb 16

    Custom Mission Control Keyboard Shortcuts in OS X nix
    One aspect of Mission Control in OS X Lion I found irritating was similar to the problem I had with Spaces on Leopard and Snow Leopard: customizing the shortcut keys to whatever I wanted. For a while, I had been... read more...

  • Feb 09

    Stop Rearranging My Spaces, OS X! blog
    One of the most aggravating things I’ve had to put up with in Lion so far since I started using it a month back probably has to be the revamped concept of spaces. Being a huge linux nerd, I jumped... read more...

  • Feb 08

    code
    To fix an incorrect commit message to the head of a repository use the following command: git commit --amend This will allow you to enter a new message for the previous commit. From stack overflow: Used to amend the tip... read more...

  • Feb 03

    MySQL and Rake - Library Not Loaded code mysql
    When trying to run a Rakefile that I created under a linux environment on OS X for the first time I ran into this message: dlopen(/Users/myuser/.rvm/gems/ruby-1.9.2-p290/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle, 9): Library not loaded: libmysqlclient.18.dylib Referenced from: /Users/myuser/.rvm/gems/ruby-1.9.2-p290/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle Reason: image not found - /Users/myuser/.rvm/gems/ruby-1.9.2-p290/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle... read more...

  • Jan 31

    Managing Images with Jekyll code
    I’ve only been using Jekyll for about a week now and I can already see how managing images for each post could be an issue. I figure, I can’t have just one image/ directory and dump everything in there because... read more...

  • Jan 30

    code
    Today while trying to apply my catalog price rules I came across the following message: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'e.display_price_group_0' in 'field list' After searching google I found out that this can be fixed by rebuilding the... read more...

  • Jan 30

    Terminal.app: Highlight Full File Path on Double Click (OS X) nix
    One of my biggest complaints about the terminal in OS X—vs. gnome-terminal in the linux world, and possibly a few other terms—is that when I am using git or svn and I want to add or commit only one file... read more...

  • Jan 30

    vim
    This one is a widely known feature of vim, as it should be for any other editor out there. Here’s a brief example on how to set your tab spacing settings depending on the filetype in vim. Add the following... read more...

  • Jan 26

    A Better Solution for Less.css vim
    Recently I’ve discovered the joys of working with less.css (not to be confused with the less framework, which is also related to CSS). I think the one thing that turned me on to the idea was the Less.app GUI application... read more...

  • Jan 25

    Excel vs. CSV blog
    I came across an interesting bug today with Microsoft Excel 2012. Historically, Excel has had this lovely issue of not being able to handle importing CSV data when there is an endline character in the middle of a field. So... read more...

  • Jan 24

    nix
    The Microsoft Natural Ergonomic Keyboard 4000 that I use at work has this lovely extra backspace button that I always seem to hit by mistake against the bottom side of the desk when using the keyboard on my lap, which... read more...

  • Jan 23

    code mysql
    I was asked recently to provide a feed from Magento which would provide a list of all active SKUs, with product names, descriptions, urls and a comma separated list of categories by name. I assembled a query in MySQL. I... read more...

  • Jan 23

    Mouse and Keyboard - Simple Sharing with Synergy nix
    When working with multiple computers it can be a pain to have to interface with multiple inputs such as keyboards, mice, etc. Not only does it get confusing from time to time, but it’s just plain annoying. Especially when there... read more...

  • Jan 21

    otaku-elite meets jekyll blog
    After not having the desire to post content to this site for a very long time I decided it was time to take action. But how? And what was the problem in the first place? The Problem I needed a... read more...

  • Jan 21

    /etc/hosts.ac? what the duck is that? vim
    Recently at my job I’ve started doing some work on a mac (yay!) which means I now get to use some of the fun extra mac tools that I don’t have available on linux, but it also means having some... read more...

  • Aug 06

    Sometimes I Rage videos
      Here’s an original song I wrote and performed for a League of Legends song competition. I did not win :( read more...

  • Jun 26

    Teenage Dirtbag Guitar Cover videos
      This is me performing Teenage Dirtbag by Wheatus. read more...

  • Apr 24

    California Gurls Drum Cover videos
      My first time trying to record a drum cover of a pop song. The original song is California Gurls by Katy Perry. read more...

  • Apr 03

    Story of My Life - Guitar Cover videos
      Me performing Story of My Life by Social Distortion. read more...

  • Mar 19

    Follow Me - Guitar Cover videos
      This is the first music video I’ve ever made. It’s a cover the Uncle Kracker song Follow Me. read more...

View all articles »