###SSH into a remote machine###
ssh user@mydomain.com
#or by ip address
ssh user@192.168.1.1
exit: exit
###Install Something###
#If it's a new server, update apt-get first thing
// This changes the bracket syntax of Angular applications. | |
// Useful if you are using another templating system that uses {{}} brackets Ex. Handlebars | |
appModule.config(function($interpolateProvider) { | |
$interpolateProvider.startSymbol('{['); | |
$interpolateProvider.endSymbol(']}'); | |
}); |
/* Track outbound links -- https://support.google.com/analytics/answer/1136920?hl=en */ | |
/* Add second onclick event after original and return false for both */ | |
<input type="submit" onclick="(function(x){return x;})(this); trackOutboundLink('http://website.com'); return false;"> | |
<script> | |
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]= | |
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date; | |
e=o.createElement(i);r=o.getElementsByTagName(i)[0]; | |
e.src='https://www.google-analytics.com/analytics.js'; |
# editorconfig.org | |
root = true | |
[*] | |
indent_style = tabs | |
indent_size = 1 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true |
<nav> | |
<ul> | |
<li {{#ifpage 'index'}}class="active"{{/ifpage}}><a href="index.html">Home</a></li> | |
<li {{#ifpage 'services'}}class="active"{{/ifpage}}><a href="services.html">Services</a></li> | |
<li {{#ifpage 'about-us'}}class="active"{{/ifpage}}><a href="about-us.html">About Us</a></li> | |
<li {{#ifpage 'contact-us'}}class="active"{{/ifpage}}><a href="contact-us.html">Contact Us</a></li> | |
</ul> | |
</nav> |
* { cursor: progress !important; pointer-events: none !important; } | |
*::selection { background: none !important; } |
###SSH into a remote machine###
ssh user@mydomain.com
#or by ip address
ssh user@192.168.1.1
exit: exit
###Install Something###
#If it's a new server, update apt-get first thing
<!-- Facebook Pixel Code --> | |
<script> | |
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? | |
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; | |
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; | |
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, | |
document,'script','https://connect.facebook.net/en_US/fbevents.js'); | |
fbq('init', '838997806201490'); | |
fbq('track', "PageView"); |
.map-wrapper { | |
width: 100%; | |
height: 400px; | |
} |
app
dashboard
components
dashboard-tile
dashboard-tile.component.ts
containers (views)
dashboard
dashboard.component.ts
models
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash
code ~/.bash_profile
.bash_profile
:if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi