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
| 'use strict'; | |
| angular.module('MunimDibosh.directives') | |
| .directive('adjustListHeight', function ($timeout) { | |
| return { | |
| restrict: 'A', | |
| link: function (scope, element) { | |
| var parent, elemList, parentHeight, elemIndexOnDom; | |
| // Watch for height changes | |
| var _watchForHeightChange = function (elemList) { |
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
| for FILENAME in * | |
| do | |
| a="$FILENAME" | |
| if [[ $a != *"$1"* && -d "$a" ]] | |
| then | |
| mv "$a" "$a$1" | |
| else | |
| "Not renaming $a" | |
| fi | |
| done |
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
| #!/bin/bash -x | |
| echo Usage: Path of the Directory to be recursively traversed Current Format To Format | |
| #convertion process | |
| sass-convert -R "$1" -F "$2" -T "$3" | |
| #deleting existing files | |
| extention="*.$2" | |
| find "$1" -name $extention -type f -delete |
NewerOlder