Rafath Khan Blog Prywatny

Friday 24.11.2017

selfie with product placement… now I know why logo is here! Im writing this at Saturday morning. Yesterday I had intensive day… like work, mosque, journey and other stuff… so I had not much...

23.11.2017

22:28 Well, well, well… today I beat… defeat my comfort-zone liking persona and I woke up @4:30 and didn’t go back to sleep. Yay! So Today I have done much…. woke up 4:20 went...

22.11.2017

I smile here, cause camera showed me that I’m 26 years old 😀 Hello! In my today’s morning post I’ve wrote about my morning struggles… so till end of day I’ve about 1,5 hour...

#2017.11.21-22

Hello… I’m writing this at 22 morning, yesterday I wanted to go sleep early (like 22:30)… and wake up at 4:30… and I woke up… but went sleep again 🙁 – so what I...

How to define instance variable of any class in rspec test

How to define instance variable of any class in rspec test

and in test suite you can use any instance method where this variable is used.

Everyday be better version of your self…

Everyday be better version of your self…

So.. this is it… I’ve made decision to improve my self to became better version of my self – and share this publicly. Well of course no one is reading my blog, so this...

libv8 and mac…

libv8 and mac…

Always… when I setup new rails project with fresh ruby I encouter issues with gems…

So if you have already needed libs – you can do this gem install libv8 -v ‚3.16.14.11’ –...

Pow and pry… working together

Pow and pry… working together

Use pry-remote to interact with your rails app running in pow

credits: https://coderwall.com/p/sreazq/using-pry-with-pow

redux-persist with react-redux-starter-kit

redux-persist with react-redux-starter-kit

Recently I’ve worked with react-redux-starter-kit and I needed to add redux-persist to save data between switching routes (walking through the webpage). Scenario was simple, load data from API – save it and on returning...

Deploy Rails 5.1 app with Webpack, React Puma and other

Deploy Rails 5.1 app with Webpack, React Puma and other

Recently I’ve been working on my inchef-app on localhost, app is almost done, but it was working only on my localhost. My previous projects I was running with unicorn and simple rails and jquery...