My tech posts

From coding to online gaming

We all have been getting email, sending email, some simple ones, some fancy html ones… Recently I tried to create responsive email for work and here’s my journey of creating an email. First I tried to use MJML tool, I couldn’t change email’s main content width… mjml takes 600px width by default and our design has 800px, also had to change css styles, didn’t dive much into docs and example, i tried being hackies and after failing, I thought, whatever I know html/css3 pretty well, I will do it without using any tool, the pride of me awaken ;) Read More…

why? Thought /var wouldnt need more than 5G of space, so I foolishly created partition of only 5G and set /var to it. You know when you got new ssd with only 256G space, you try to act cool and think you can optimize but the thing is I am too lazy to optimize everytime 😅 😅 I checked my old hard disk the HDD and found out, /var was given 21G space and it was 15G filled already… Then my adrenaline rush of need to resize came strong and I am changing this state while writting this blog 😅 , if something goes wrong, I would be needing bootable pendrive 😅 😅 /var /var is a standard subdirectory of the root directory in Linux and other Unix-like operating systems that contains files to which the system writes data during the course of its operation. Read More…

learning data mining Nature of data After observation, we can get 3 types of data Nominal : which has label or tags, cant take mean, we can take percentage (frequecy) though eg, sex, taste Ordinal : Rank, satisfactions, mean may not be good… Interval/Ratio : Measure, intervals like age, time, couts Customer Age Sex Groceries Chocobars Type Satisfied Bulk 1 18 Male Rs 140 2 Milk 1 2 1 23 Female Rs 270 2 Dark 3 3 1 21 Female Rs 160 2 White 2 4 1 27 Male Rs 180 2 Milk 1 2 Type is Nominal and can be displayed in pie chart or bar chart Satisfied is Ordinal and can’t be displayed in pie chart. Read More…

All about JWT

2019-03-15

JWT RFC7519 states: JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. The claims in a JWT are encoded as a JSON object that is used as the payload of a JSON Web Signature (JWS) structure or as the plaintext of a JSON Web Encryption (JWE) structure, enabling the claims to be digitally signed or integrity protected with a Message Authentication Code (MAC) and/or encrypted. Read More…

I will write about web weekend 2018 here (hopefully someday) Facts and Figures ~300 attendees in the whole event Representatives from >55 different companies in Nepal 11 different nationalities at the conference 10% female attendees 😢 8 wwktm sponsored attendees (exluding other partial discounts) 80 people hiked 1 HUGE bag of trash collected from the trail. We like our trails clean. Web Weekend Kathmandu is happening this year on septmember. Read More…

From this day, I am using HUGO, switched from Wordpress to my own Angularjs SPA static site to HUGO… yay I did thought, “Oh why not just use medium.com and get rid of all setting up hassles”, then god spoke with this message from medium.com At that point, I realised, I shouldn’t host my amazing articles ( :P ) in others’ platform :D :D Hugo Hugo is open-source static site builder written in Go lang. Read More…