If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "you@example.com"
npm set init.author.url "http://yourblog.com"
npm adduser
| #!/bin/bash | |
| # Backups default directory | |
| BACKUP_DIR="/mnt/dietpi-backup" | |
| # Backups destination folder | |
| DESTINATION_DIR="/dest-folder-for-archive" | |
| # Current human readble timestamo | |
| TIMESTAMP=$(date +"%Y%m%d_%H%M%S") |
| var slug = title.trim().toLowerCase(); | |
| var from = "àáäâèéëêìíïîòóöôùúüûñç·/_,:;"; | |
| var to = "aaaaeeeeiiiioooouuuunc------"; | |
| for (var index in from ) { | |
| slug = slug.replace(new RegExp(from.charAt(index), 'g'), to.charAt(index)); | |
| } | |
| slug = slug.replace( /[^a-z0-9 -]/g, '' ) | |
| .replace( /\s+/g, '-' ) | |
| .replace( /-+/g, '-' ); |
| Simple Vagrant configuration with only node |
| Vagrant file and Chef file for creating a virtual machine with Ruby 2.2.2, Rails 4 and Postgres |
| var gulp = require('gulp'); | |
| var browserSync = require('browser-sync'); | |
| var reload = browserSync.reload; | |
| var shell = require('gulp-shell'); | |
| gulp.task('serve', ['dump'], function() { | |
| browserSync({ | |
| proxy: "local.symfony.domain/app_dev.php" | |
| }); |
| $collection = Mage::getResourceModel('reports/quote_collection'); | |
| $collection->prepareForAbandonedReport(); //Optional array for Store Ids | |
| $collection->load(); |