-
Code Challenge – Armstrong Number
A Narcissistic Number (or Armstrong Number) is a positive number which is the sum of its own digits, each raised to the power of the number of digits in a given base. In this Kata, we will restrict ourselves to decimal (base 10). For example, take 153 (3 digits), which is narcissistic: and 1652 (4 digits), which…
-
Code Challenge – Reverse String
Write a function that takes in a string of one or more words, and returns the same string, but with all words that have five or more letters reversed (Just like the name of this Kata). Strings passed in will consist of only letters and spaces. Spaces will be included only when more than one…
-
How to manage multiple SSH key for Multiple Github Account
Recently I got a problem when trying to manage between my personal GitHub account and my GitHub work account. I usually use ssh to clone the remote GitHub repository and when the first time I tried to clone the repository from my work account, it’s still tried to pull using my personal ssh key instead…
Posts
P