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
| /* | |
| * Row with equal height columns | |
| * -------------------------------------------------- | |
| */ | |
| .row-eq-height { | |
| display: -webkit-box; | |
| display: -webkit-flex; | |
| display: -ms-flexbox; | |
| display: flex; | |
| } |
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
| /** Every element includes borders and padding as part of the width */ | |
| *,*:before,*:after { | |
| -moz-box-sizing:border-box; | |
| -webkit-box-sizing:border-box; | |
| box-sizing:border-box; | |
| } | |
| $screen-sm:750px; | |
| $screen-md:970px; | |
| $screen-lg:1024px; |
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
| First you should stop your apache server: | |
| sudo /etc/init.d/apache2 stop | |
| Then stop mysql: | |
| sudo /etc/init.d/mysql stop | |
| sudo /etc/init.d/proftpd stopv |
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
| <h2> | |
| 1. The Period | |
| </h2> | |
| <blockquote> | |
| It was the best of times,<br>it was the worst of times,<br> it was the age of | |
| wisdom,<br> it was the age of foolishness,<br> it was the epoch of belief,<br> it | |
| was the epoch of incredulity,<br> it was the season of Light,<br> it was the | |
| season of Darkness,<br> it was the spring of hope,<br> it was the winter of | |
| despair, | |
| </blockquote> |
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 ng-app="people"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>FrontEnd Test</title> | |
| </head> | |
| <body ng-controller="PeopleController as people"> | |
| <div> | |
| <table border="1"> | |
| <tr> |
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
| Find: | |
| lsof -i :3000 | |
| Kill: | |
| kill -9 <PID> |
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
| { | |
| "exclude": [ | |
| ".git/**", | |
| "node_modules/**", | |
| "bower_components/**" | |
| ], | |
| "remove-empty-rulesets": true, | |
| "always-semicolon": true, | |
| "color-case": "upper", | |
| "block-indent": " ", |
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
| // Act on scroll condition | |
| var lastScrollTop = 0; | |
| $(window).on('scroll', function() { | |
| scrollPosition = $(this).scrollTop(); | |
| if(scrollPosition < lastScrollTop) { // Do something on scroll up } | |
| else { // Do something on scroll down } | |
| lastScrollTop = scrollPosition; | |
| }); |
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
| { | |
| "extends": ["airbnb", "prettier", "prettier/react"], | |
| "parser": "babel-eslint", | |
| "rules": { | |
| "react/jsx-filename-extension": [ | |
| "error", | |
| { "extensions": [".js", ".jsx"] } | |
| ], | |
| "no-underscore-dangle": [2, { "allowAfterThis": true }], | |
| "prettier/prettier": [ |
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> | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <title>Page Title</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="stylesheet" type="text/css" media="screen" href="styles.css" /> | |
| <script src="main.js"></script> |
OlderNewer