এই মডিউলে কিছু utilities আছে যা file path handle এবং transformation এর কাজে ব্যবহার হয়। প্রায় সব গুলো methods শুধু string transformation perform করে। NB. file system path এর validity check করে না।
Use require('path')
var changed = require('gulp-changed'); | |
var imagemin = require('gulp-imagemin'); | |
var minifyHTML = require('gulp-minify-html'); | |
var gulp = require('gulp'); | |
var jshint = require('gulp-jshint'); | |
var concat = require('gulp-concat'); | |
var stripDebug = require('gulp-strip-debug'); | |
var uglify = require('gulp-uglify'); | |
var autoprefix = require('gulp-autoprefixer'); | |
var minifyCSS = require('gulp-minify-css'); |
{ | |
"name": "my_project", | |
"version": "0.0.0", | |
"description": "google chrome plugin", | |
"main": "dist/jquery.js", | |
"moduleType": [ | |
"globals" | |
], | |
"keywords": [ | |
"photo", |
# Path to your oh-my-zsh configuration. | |
ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
#ZSH_THEME="robbyrussell" | |
# ZSH_THEME="blinks" | |
# ZSH_THEME ="prose" |
Launch the instance and connect with ssh.
##Update the server
sudo yum update
##Install php and MySQL packages
This gist assumes:
# Node.js app Docker file | |
FROM ubuntu:14.04 | |
MAINTAINER Thom Nichols "[email protected]" | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update | |
RUN apt-get -qq update | |
RUN apt-get install -y nodejs npm |
var all = []; | |
jQuery('#icons section').each(function(index, section) { | |
var id = jQuery(this).attr('id'); | |
jQuery('#'+ id + ' a').each(function(index, iconrow) { | |
//console.log(jQuery(iconrow).text().replace('Example of ','')); | |
var text = jQuery(iconrow).text().replace('Example of',''); | |
all.push(text .replace(/^\s+/g, "")); | |
console.log("array(\'name\' => \'"+ name +"\', \'className\' => \'"+iconElement.className+"\'),"); | |
}); | |
}); |
Array | |
( | |
[0] => Array | |
( | |
[name] => american-sign-language-interpreting | |
[className] => fa fa-american-sign-language-interpreting | |
) | |
[1] => Array | |
( |