A Pen by Erick Mendoza on CodePen.
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
| .slide-reveal.ng-enter { | |
| -webkit-transition:0.5s linear all; | |
| -moz-transition:0.5s linear all; | |
| -o-transition:0.5s linear all; | |
| transition:0.5s linear all; | |
| opacity:0.5; | |
| position:relative; | |
| opacity:0; | |
| top:10px; |
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
| .flexslider{ | |
| background:none; | |
| border:none; | |
| box-shadow:none; | |
| margin:0px; | |
| } |
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
| Linux commands | |
| cat [filename] Display file’s contents to the standard output device (usually your monitor). | |
| cd /directorypath Change to directory. | |
| chmod [options] mode filename Change a file’s permissions. | |
| chown [options] filename Change who owns a file. | |
| clear Clear a command line screen/window for a fresh start. | |
| cp [options] source destination Copy files and directories. | |
| date [options] Display or set the system date and time. | |
| df [options] Display used and available disk space. |
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
| npm install -g yo | |
| npm install -g grunt-cli | |
| npm install -g generator-webapp | |
| npm install -g generator-angular | |
| ### Scaffolding an AngularJS app | |
| yo angular | |
| yo angular:controller myController |
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
| if ($(selector).length>0) { | |
| // Do something | |
| } |
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('ngEnter', function() { | |
| return function(scope, element, attrs) { | |
| element.bind("keydown keypress", function(event) { | |
| if(event.which === 13) { | |
| scope.$apply(function(){ | |
| scope.$eval(attrs.onEnter); | |
| }); | |
| event.preventDefault(); | |
| } |
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
| SELECT LEFT(CONVERT(VARCHAR, @myDateTime, 120), 10) |