ashishb.net

Technology, books, travel, and linguistics

programming

#all #Programming

How to speed up HTML5 videos

Some video streaming websites like YouTube provides an option for speeding up/slowing down videos; some don’t. The trick is simple, find out the Video object via document.querySelector("video") and then set its playbackRate property to the desired value document.querySelector("video").playbackRate = 2.0; […]

#all #misc

Basic GDB Tutorial

So, you believe there are bugs in your C/C++ code or you have encountered SEGFAULT while executing your code. What will you do? write a lot of printf statements at various places in your code under suspicion OR use gdb […]