Admin
Mar 29, 2017
17 comments
350
Download and Install Let’s Encrypt sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt cd /opt/letsencrypt Create an SSL Certificate cd /opt/letsencrypt sudo -H ./letsencrypt-auto certonly --standalone -d example.com ...
Admin
Mar 25, 2017
2 comments
587
When you change any of your javascripts or stylesheets in the production environment, you need to run rake assets:precompile; this task compiles and compresses the various .js and .css files and creates the application.js and application.css files...
Introduction Often when developing apps with Rails you need to set up environment variables to keep sensitive information secure in your code. This article looks at how to set up environment config variables in Rails. We’ll look at why we need to...
Admin
Mar 24, 2017
19 comments
193
Follow these steps to create an Angular JS 2 project using Angular CLI.   Install Angular CLI on your machine  npm install -g angular-cli If that doesn't work, install npm install -g @angular/cli   Create a new project using ng command:...
Admin
Feb 27, 2017
4 comments
736
  A workaround for ng-change in angular js which does not catch file input change event.   view.html: <input type="file" custom-on-change="uploadFile"> controller.js: app.controller('myCtrl', function($scope){ $scope.uploadFile = func...
Admin
Feb 22, 2017
4 comments
114
Index.html   <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, use...
In today’s connected world, managing customers and creating new, positive experiences is a challenge for organisations of all shapes and sizes. Successful companies understand that an initial sale is only the beginning of the customer relationship...