Thinking your site won’t be hacked or is not worth hacking, can cause you to not take that extra precaution needed. Hacking is usually for using the server to send spam emails or as a temporary web server to serve files of inappropriate even illegal content. Hackers search the internet with automated scripts to find possible security issues in software. Here are 5 ways to keep your site safe from hackers.
Technical Solution
Moodle is a Learning Platform and also it is known as a course management system (CMS). In moodle, we can add courses for giving training.
In Drupal 8, third party libraries are downloaded and managed via composer. In Drupal each project must contain only one vendor folder. Composer Manager allows single vendor/directory shared across all modules which prevents code duplication and version mismatches by merging the requirements of all the found modules into the consolidated composer.json file.
When websites are created, we expect it to be up and running all the time, which need not be so. If websites are not accessible for any reason it can affect the brand name, loss of revenue, and can even affect the website’s ranking in SERP. There are a lot of free tools available online to monitor your site’s uptime. Based on their popularity and present Alexa ranking these are the top eight free tools to check the uptime of your website.
Reading or writing CSV file in Selenium Java can be done using a simple csv parser library called opencsv. Opencsv is free and is available under a commercial-friendly Apache 2.0 license. Opencsv contains classes to read and write csv files. For reading or writing csv files using Selenium, we need to import opencsv.jar to the java project.
Coder is a Drupal module to check coding standard issues in custom modules and themes. It can check any files on coding standard issues according to Drupal specifications. This method uses latest composer and drush to install latest coder. Feel free to skip corresponding parts as you need.
One of our project requirement was to transfer files from our server to an external storage space. This could be basically done by connecting to the server using SSH or FTP and then transferring files. We initially decided to use the libssh2-php library for creating SSH tunneling with the server and transfer file. Our server was hosted in Acquia server and libssh2-php was not available in Acquia stack. Read on to know how we tackled the problem of file transfer to an external storage space in Acquia environment.
Forms are probably essential part in websites. Because forms are creating the user interface to collect data from users. In CodeIgniter we can generate and handle data with the help of form helper.
Moodle is one of the leading Learning Management Systems available in the world. It is used to deliver course content and host online learning activities. It helps the students and teachers by providing a collaborative learning environment. Moodle enables teachers and students to communicate and participate in a range of teaching and learning activities via ‘courses’. Teachers may also use Moodle to provide students access to course-related resources.
Discover how to enable or disable a module using Drush.
One day my client came to me and asking about something which I was not so familiar of. His requirement can be simply put like this.
He has an amazon account and have couple of S3 buckets. He has created a new S3 bucket and a new user. He needs this user to only access this new bucket. Let's call this user "new-user" and the bucket "new-bucket". I was not sure how to do this, but eventually I was able to. Read on if you want to know how to do this.
SSH keys are a way to identify computers, without using passwords. If you have used git, or if you are an active participant in the open-source community, you will be definitely familiar with the important role of SSH. In the case of remote servers, when using SSH logins, the server will ask for password each time you try to login. This could be avoided by adding public key to server's authorized_keys.
Drupal Commerce Vs Ubercart. Find out which one is best for your e-commerce platform.
Most of us have struggled with certain social media buttons to align or fix them in a particular manner. But what if we could get the count figure and display the result in our custom button. Here I wish to share one method to implement this. Let's experiment how to fetch total likes count for a website from LinkedIn.
As we know CSS is an important part in Front end development. By using CSS latest versions, we can make good dynamic effects just like jQuery effects. But sometimes we are spending lots of time to fix some cross browser issues or to modify some styling changes. And if you want to modify the common styling, we have to write many coding in CSS. But if you are using some preprocessors like LESS it will make the CSS coding easily because we can add the code with a small effort. There are many advantages when you use a preprocessor like LESS or SASS. Just we need to install the LESS and a compiler which compiles the less file into CSS. For more details you can refer http://lesscss.org
One of our app utilize photographs taken using device camera. It was required to resize the taken image. After searching, it is realized that there is no native cordova plugin for image manipulations on different mobile platforms. It is also realized that canvas element of HTML can be utilized for image manipulations. There are numerous libraries that makes manipulations possible using canvas, all of them were supposed use from UI or required user facing canvas. But it was not the case in our app.
To make API requests we need access token own account's behalf. I will show you how to get your Access Token of Twitter App by some easy steps.
I was using Domain Access and Domain Variable modules in my project. I have a lot of domain specific variables which have different values on production, staging and development environments. It takes me a lot of time to set these variables with the corresponding staging and development values each time when I reset these environments. So I was thinking of creating a drush command to update all these configuration variables in single step and I did it.
By default Drupal supports different text formats for the body of the node. On selecting a particular format, it processes the text entered and output the result.
Ionic is a framework helping to build hybrid mobile applications using HTML, CSS and JavaScript on top of Cordova/PhoneGap. It makes building of rich mobile UI easier and faster. Apart from basic framework, it includes some tools and utilities also. Generate basic application structure from existing templates, generate icons and splash screens for almost all screen sizes, test the mobile app on desktop browser using built-in webserver etc are few of them.