-
Handle Code Overflow In Jekyll 3
Code overflow in Jekyll 3 by default uses a visible value. To allow users to scroll the code you can add 1 2 3 .highlight { overflow-x: scroll; } to your syntax.css file. This will add scroll bars to your code for viewing overflowing text. Reference: MDN-overflow-x
-
Rake Tips
Dependancies are in Hash syntax Dependancies run only once. So if a, b depend on c and a task d has both a, b as dependancy, running task d wouldn’t run c twice. Also, tasks are not functions 1 2 3 4 5 6 7 8 9 10 11 12...
-
Access Keychain From iOS Extension
Accessing keychain on iOS is pretty easy, given that you are using SSKeychain. Surprisingly, keychain sharing on iOS is also pretty easy. Keychain access is determined by the Keychain Group your app is using. Since the containing app and an extension are built as two different targets, to share a...
-
Avoid Core Data
I suggest this to everybody who are writing an app, whose true data lies outside the app itself. Mostly, it’s any app that needs internet connection. I learnt this when developing Checkvistle. The true data was with Checkvist. The data could change when my app was in background or killed....
-
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...