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
| FROM ubuntu:14.04 | |
| RUN mkdir /usr/microblaze | |
| RUN mkdir /usr/microblaze/src | |
| RUN mkdir /usr/microblaze/tmp | |
| RUN mkdir /usr/microblaze/tmp/binutils-build | |
| RUN mkdir /usr/microblaze/tmp/gcc-build | |
| RUN apt-get update -y | |
| RUN apt-get install -y wget |
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
| :+1: | |
| :-1: | |
| :100: | |
| :1234: | |
| :8ball: | |
| :a: | |
| :ab: | |
| :abc: | |
| :abcd: | |
| :accept: |
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
| app.directive('autosize', function($document) { | |
| return { | |
| require: 'ngModel', | |
| link: function(scope, element, attrs, ctrl) { | |
| var placeholder, span, resize; | |
| placeholder = element.attr('placeholder') || ''; | |
| span = angular.element('<span></span>'); | |
| span[0].style.cssText = getComputedStyle(element[0]).cssText; |
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
| /** | |
| * A generic confirmation for risky actions. | |
| * Usage: Add attributes: ng-really-message="Are you sure"? ng-really-click="takeAction()" function | |
| */ | |
| angular.module('app').directive('ngReallyClick', [function() { | |
| return { | |
| restrict: 'A', | |
| link: function(scope, element, attrs) { | |
| element.bind('click', function() { | |
| var message = attrs.ngReallyMessage; |