Ayush's Blog

  • 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,...

  • Upload Gists From Terminal

    Create Github gists from terminal. Use Homebrew to install gist. brew install gist gist --login to give OAuth access to the application so that it can create gists on your behalf. Otherwise it creates anonymous gists. Now read the documentation via gist -h and use it according to what you...

  • Notes From Wwdc Extensions Talk

    separate target Needs different entitlement isolated address space executes independantly Frameworks - encrypted Min deployment target to be ios 8 :( App links to framework - change all extensions in a framework, not changes NS_EXTENSION_UNAVAILABLE_IOS Sharing data - separate containers shared container Extension and App can be running simultaenously. Synchronize...