Author

Siddharth Shukla

Browsing

Create a new repository on GitHub. To avoid errors, do not initialize the new repository with README, license, or gitignore files. You can add these files after your project has been pushed to GitHub. Open Terminal. Change the current working directory to your local project. Initialize the local directory as a Git repository. git init Add the files in your new local repository. This stages them for the first commit. git add . # Adds the files in the local…

Hubspot Inbound Marketing Certification Exam – Updated July 2017 A customer who recently purchased your product realizes that it’s not the right solution for the problem they were trying to solve. He would like to return the product. Which stage of the buyer’s journey is your customer in? Awareness Consideration Decision None of the above A website visitor is reading the blog post you published last month. They’re intrigued by the call-to-action that you have at…

How to change root password to MySQL and PHPMyAdmin You can change the MySQL root password by logging in to the database directly (MySQL -h your_host -u root) then run SET PASSWORD FOR [email protected] = PASSWORD(your password’); PHPMyAdmin should use that password so not quite sure what you mean by “for both”. Make sure to set the new password into phpmyadmin’s config.inc.php too, at line $cfg[‘Servers’][$i][‘password’] = ‘yourpassword’; Otherwise, phpmyadmin may not work, echoing Access denied for user ‘user’@’localhost’…

How to increase phpmyadmin upload file size 1. create an info.php page and check all details about the file phpinfo(); ?> 2. run in your browser search upload_max_filesize and post_max_size change by default value 2M to 80M. 3. Run sudo -H gedit /etc/php5/apache2/php.ini 4. change both values upload_max_filesize and post_max_size change by default value 2M to 80M 5.Restart apache sudo /etc/init.d/apache2 restart

https://youtu.be/tGdGB5Pul2M var nodemailer = require(‘nodemailer’); var send = require(‘gmail-send’); var mailserverifo = nodemailer.createTransport({ service: ‘gmail’, host : “smtp.gmail.com”, port : “465”, ssl : true, auth: { user: ’[email protected]’, pass: ‘password@’ } }); var Mailinfo = { from: ’[email protected]’, to: ’[email protected]’, subject: ‘Testing email from node js server’, text: ‘That was easy!’ }; mailserverifo.sendMail(Mailinfo, function(error, info){ if (error) { console.log(error); } else { console.log(‘Email Send Success: ‘ + info.response); } }); Enable less secure app form…

Loading basic HTML in Node.js var http = require(‘http’); var fs = require(‘fs’); http.createServer(function(request, response) { response.writeHeader(200, {“Content-Type”: “text/html”}); var readSream = fs.createReadStream(‘index.html’,’utf8′) readSream.pipe(response); }).listen(3000); console.log(“server is running on port number “);

PHP versus Node.js—what’s the distinction? Both power the backend of dynamic sites, however with unmistakable contrasts. PHP is a standout amongst the most developed, universal server-side contents on the web. Node.js isn’t a content, however, a back-end advancement condition that is composed in JavaScript—until at that point, an entire customer side content. Be that as it may, Node.js made it conceivable to utilize JavaScript programming on the server side when it was presented in 2009,…

With more than four years of experience with Codeigniter PHP framework, we believe that learning, setting up and working on it is all pretty easy. Even our junior developers are able to inculcate the skills necessary for scheduled delivery, from a business standpoint, which is lucrative. Over time, though we realised that perhaps a PHP framework that is modern with a lot more flexibility in terms of a structured coding pattern with scope for applications that we…

CodeIgniter vs. CakePHP I almost fear putting this kind of post together as it’s bound to pull the fanatics (in the negative sense of the word) out of the woodworks. Right off the bat, let me just say that I’ve tried to be as fair and honest in this assessment and I’ve tried to keep it just to the facts while interjecting what my preferences are. I’m pitting these two frameworks against each other but there really…