This file contains 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="animate" ng-hide="loading"> | |
... | |
</div> |
This file contains 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
/** | |
Flex css start | |
*/ | |
.containerFlexRow { | |
display: flex; | |
flex-direction: row; | |
} | |
.wrapFlex { | |
flex-wrap: wrap; |
This file contains 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
const findEquilibrium = A => { | |
let firstArray = []; | |
let firstSum = 0; | |
let secondArray = []; | |
let secondSum = 0; | |
for (let i = 0; i < A.length; i++) { | |
let currentIndex = i + 1; | |
firstArray.push(A[i]); |
This file contains 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
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteCond %{REQUEST_FILENAME} -s [OR] | |
RewriteCond %{REQUEST_FILENAME} -l [OR] | |
RewriteCond %{REQUEST_FILENAME} -d | |
RewriteRule ^.*$ - [NC,L] | |
RewriteRule ^(.*) /appname/index.html [NC,L] | |
# or /index.html [NC,L] | |
</IfModule> |
This file contains 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.filter('trusted', function ($sce) { | |
return function (url) { | |
return $sce.trustAsResourceUrl(url); | |
} | |
}); |
This file contains 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
<form name="form" id="form" action="mail.php" method="POST"> | |
<div class="row"> | |
<div class="col-md-6"> | |
<label for="name">NAME:</label> | |
<input type="text" id="name" name="name" class="form-control" required> | |
</div> | |
<div class="col-md-6"> | |
<label for="email">EMAIL:</label> | |
<input type="email" id="email" name="email" class="form-control" required> |
This file contains 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
mongoexport --host localhost --port 3001 --db meteor --collection collection_name --out collection_name.json | |
// source http://stackoverflow.com/a/24551885/3632722 |
This file contains 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-up{ | |
position:relative; | |
--webkit-transition: 0.5s ease-in-out all; | |
-moz-transition: 0.5s ease-in-out all; | |
-o-transition: 0.5s ease-in-out all; | |
transition: 0.5s ease-in-out all; | |
} | |
.slide-up.ng-enter{ | |
--webkit-transition-delay: 0.5s; | |
-moz-transition-delay: 0.5s; |
This file contains 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
ul.nav li.dropdown:hover > ul.dropdown-menu { | |
display: block; | |
} |
This file contains 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
@media (min-width: 768px) and (max-width: 1175px) { | |
.navbar-collapse.collapse { | |
display: none !important; | |
} | |
.navbar-collapse.collapse.in { | |
display: block !important; | |
} | |
.navbar-header .collapse, .navbar-toggle { | |
display:block !important; | |
} |