Author : Reetesh Gupta

316 posts

Access Modifiers in Typescript Typescript supports public, private, and protected access modifiers to your methods and properties. By default, if access modifiers are not given the method or property is considered as public, and they will be easily accessible from the object of the class. In case of private access modifiers, they are not available …
What is an Array? An array is a data type in typescript wherein you can store multiple values. Let’s learn how to declare and assign values for an array. Since typescript is a strongly typed language, you have to tell what will be the data type of the values in an array. Otherwise, it will …
Types in Typescript Typescript is a strongly typed language, whereas javascript is not. A variable which has a value defined as a string can be changed to a number without any issues in Javascript. The same is not tolerated in typescript. In typescript, the type to a variable is defined at the start only and …
What is Typescript ?  Typescript is a superset of JavaScript. It is an open source language developed by Microsoft which statically compiles the code to JavaScript that can easily run in a browser or in Nodejs. All the latest features released for ECMAScript are supported in typescript and in addition to it Typescript has its …
In this example, we will remove array elements by keys array in php. we can delete multiple keys from array php. basically we will unset multiple keys from php array. if you see in php documentation there are not available directly remove multiple keys from php array. But we will create our own php custom …
We can create our own php.ini file in godaddy cpanel and other hosting too. We can increase upload_max_filesize, post_max_size, max_file_uploads, memory_limit, max_execution_time etc in php ini file in cpanel. So basically, Almost server like godaddy server, a2hosting server, hosting raja server that provide basic configuration in default php ini file. so some time we need …
Do you want to calculate difference between two dates in PHP? I mean difference between two dates in days, months, years using php. if yes than i will show you to PHP get difference between two dates using strtotime(), abs() and floor(). We may sometime require to get difference between in PHP for your application, …
Git Commands git config Usage: git config –global user.name “[name]” Usage: git config –global user.email “[email address]” This command sets the author name and email address respectively to be used with your commits. ———————————————————- git init Usage: git init [repository name] This command is used to start a new repository. ————————————————– git clone Usage: git …
git config Usage: git config –global user.name “[name]” Usage: git config –global user.email “[email address]” This command sets the author name and email address respectively to be used with your commits.
Open crontab in your terminal:EDITOR=gedit crontab -e Add your cron settings at the end of your file (we are setting cron to be execute in every 2 minute in our example):*/2 * * * * /usr/bin/php -q /path/to/phpfile.php > /dev/null Save your cron file and run:sudo service cron restart
PAGE TOP
error

Enjoy this blog? Please spread the word :)

RSS
Follow by Email