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
| You can disable bin-links in the npm config: npm config set bin-links false |
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
| .bg { | |
| position: fixed; | |
| top: -50%; | |
| left: -50%; | |
| width: 200%; | |
| height: 200%; | |
| img { | |
| position: absolute; | |
| top: 0; |
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
| <!DOCTYPE html> | |
| <html> | |
| <head lang="en"> | |
| <meta charset="UTF-8"> | |
| <title>class weather</title> | |
| <script src="//code.jquery.com/jquery-1.11.0.min.js"></script> | |
| <script src="//code.jquery.com/ui/1.11.0/jquery-ui.min.js"></script> | |
| <!-- Latest compiled and minified CSS --> | |
| <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> |
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
| $(function() { | |
| $('.col-md-4').draggable(); | |
| $('.panel-heading').on('mousedown',function(){ | |
| $('.panel').css('cursor','move'); | |
| }); | |
| $('.panel').on('mouseup', function() { | |
| $(this).css('cursor','default'); | |
| }) |
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
| body { | |
| overflow-y: scroll; | |
| } | |
| .panel { | |
| margin-top: 3em; | |
| -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5); | |
| -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5); | |
| -o-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5); | |
| box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5); |
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
| <div class="container"> | |
| <div class="menu"> | |
| <div class="trigger"> | |
| <span class="hamburger"> | |
| <span class="line"></span> | |
| <span class="line"></span> | |
| <span class="line"></span> | |
| <span class="title">menu</span> | |
| </span> | |
| </div> |
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
| sudo npm update npm -g |
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
| sudo npm cache clean -f | |
| sudo npm install -g n | |
| sudo n stable | |
| //Found in David Walsh blog http://davidwalsh.name/upgrade-nodejs |
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
| mkdir empty_dir | |
| robocopy empty_dir the_dir_to_delete /s /mir | |
| rmdir empty_dir | |
| rmdir the_dir_to_delete | |
| taken from: | |
| http://superuser.com/a/467814 | |
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
| some |