This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chmod 755 -R config | |
chmod 755 -R tools/smarty/compile | |
chmod 755 -R tools/smarty/cache | |
chmod 755 -R tools/smarty_v2/compile | |
chmod 755 -R tools/smarty_v2/cache | |
chmod 755 -R sitemap.xml | |
chmod 755 -R log | |
chmod 755 -R img | |
chmod 755 -R mails | |
chmod 755 -R modules |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "MyProject", | |
"version": "1.0.0", | |
"dependencies": { | |
"gulp": "*", | |
"gulp-ruby-sass": "*", | |
"gulp-util": "*", | |
"gulp-rename": "*", | |
"map-stream": "*", | |
"gulp-livereload": "*", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//*********** IMPORTS ***************** | |
var gulp = require('gulp'); | |
var sass = require('gulp-ruby-sass'); | |
var gutil = require('gulp-util'); | |
var rename = require("gulp-rename"); | |
var map = require("map-stream"); | |
var livereload = require("gulp-livereload"); | |
var concat = require("gulp-concat"); | |
var uglify = require('gulp-uglify'); | |
var watch = require('gulp-watch'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getElement: function(array, key) { | |
if(array != undefined && array != null && array.length > 0 && array[key] != undefined){ | |
return array[key].toString(); | |
} | |
return ""; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(function ($) { | |
var newpic = new Image(); | |
newpic.onload = function() | |
{ | |
var $div = $('<div id="temp-background"/>').css({ | |
'background-image': 'url(low-resolution-image.jpg)', | |
'position': 'absolute', | |
'height' :'100%', | |
'width' :'100%', | |
'z-index' :'-1', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
css_dir = "../../www/app/View/Themed/Admin/webroot/css/" | |
sass_dir = "/" | |
output_style = :compressed | |
require 'fileutils' | |
on_stylesheet_saved do |file| | |
if File.exists?(file) | |
puts "Moving: #{file}" | |
FileUtils.mv(file,File.dirname(file) + "/admin.min.css") |