o9s
is a microblog
home archives search feed blogroll


Latest posts:

Shortfizz

My 65 characters fizzbuzz implementation. It’s not the prettiest, but it checks all the boxes.

for(i=0;i<101;i++)console.log((i%3?'':'Fizz')+(i%5?'':'Buzz')||i)
Posted on 2018-05-23   #javascript  


Toy

A post shared by ohneuf (@ohneuf) on

Posted on 2018-05-10   #photography  


Toggle Soft Keyboard In iOS Emulators

cmd+K

How did I not know that? I always tested the keyboard showing up and dismissing properly with a real device.

Posted on 2018-05-09   #ios  


Vowel Counter

<o9>  replace any letter that is not a vowel with an
      empty string and get the length of the string
<MSC> str.replace(/[^aeiou]/ig,"").length;
Posted on 2018-05-08   #javascript     #oneliner  


Exiting Vim

Exiting Vim

Posted on 2018-05-07   #vim  


Next page →
Page 1 of 32