Ayush's Blog

  • Clean Cocoapods Cache

    Issue with Cocoapods? Clean your cache via 1 $ pod cache clean --all

  • Top Level Functions In Ruby

    While working on Matasano crypto challenges, I reached a stage where I could reuse the functions I had written in previous exercises. So let’s suppose I had a function foo in 1.rb 1 2 3 def foo "foo" end I need the function foo in my second script named 2.rb...

  • Non Breaking Space For Html

      is used to create a non breaking (doesn’t insert a new line) space character in HTML.

  • Creating Footer For Jekyll

    I am updating this jekyll blog to a new theme. For the new theme, I had to update the footer to include links to my mail, github and twitter. What I really wanted was to just show the relevant icons and then link them to my accounts. Github and Twitter’s...

  • Bash Too Many Arguments

    if test ! -f $path The above script would create bash warnings for you like test: too many arguments The problem here is that the path contains spaces in it, and thus the test gets “more than one arguments”. The solution for the above problem is a pretty simple one,...