Hello people, How are you?Today I was working on something and then came to realize that I had to clear the sql database. For a
Category: Code stuffs
Filtering by Date efficiently
Hey Guys, Often we try to do some filtering with respect to date only, but that throws some errors like this. Code Sample : Normally
How to avoid Temporary Collections in C# using “yield”
Most of us do some common type of mistakes by introducing a temporary collections of any List or IEnumerable types, right? Often we do some
Bash Script with Arguments
Have you ever wondered to input the arguments in the bash scripts. Well there is the process how you do it. Step 1: add the
Successful completion of my academic project
If you asked me about the SMS API, a few months ago i would have failed to answer you. But working on the academic project
Calling a function at certain interval of time
Here is the piece of code that helps you to update a function at certain interval of time. The time is usually calculated in milliseconds.
Code for drawing a line using Bresenham algorithm in Javascript
Here is the snippet for drawing a line in javascript. function drawline(xa,ya,xb,yb){ var dx=Math.abs(xa-xb); var dy=Math.abs(ya-yb); var p=2*dy-dx; var twody=2*dy; var twodydx=2*(dy-dx); var x,y,xend;
Drawing a single pixel on Javascript
well after a long procedure and searching for a whole day to draw a single pixel on a HTML5 canvas, this code as I wrote
Online compilers for your codes
If you are a programmer, you must be compiling your code stuffs in the PC. But are you aware that there are some online compilers.