Create a template service file at /etc/systemd/system/secure-tunnel@.service. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.target| # STEP 1: VERIFY THAT YOU DO NOT ALREADY HAVE POSTGRESQL INSTALLED ON YOUR SYSTEM | |
| ps ax | grep postgres | |
| # STEP 2: INSTALL POSTGRESQL ON YOUR SYSTEM | |
| sudo apt-get update | |
| sudo apt-get install postgresql-9.1 | |
| # List All Postgres related packages | |
| dpkg -l | grep postgres |
| (function(global) { | |
| function Person() { | |
| this.name = 'luozhihua'; | |
| this.company = 'tbc.com'; | |
| } | |
| Person.prototype = { | |
| say : function(words) { | |
| alert(words || "I can't say any more, you know that."); |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="http://requirejs.org/docs/release/2.1.10/comments/require.js"></script> | |
| <meta charset=utf-8 /> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script> | |
| <meta charset=utf-8 /> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <div data-async-context="query:js在线编辑" id="ires"><ol eid="SszGUt_FMuL9iAetq4DIDA" id="rso"><li class="g"><!--m--><div class="rc" data-hveid="42"><span class="altcts"></span><h3 class="r"><a href="/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CCsQFjAA&url=%68%74%74%70%3a%2f%2f%72%75%6e%6a%73%2e%63%6e%2f&ei=SszGUt_FMuL9iAetq4DIDA&usg=AFQjCNGu-1-E_gWJDzGuf2nyWnd9lwni1A&sig2=IWcE5aDmZdVpzRTNQX-RIw" onmousedown="return rwt(this,'','','','1','AFQjCNGu-1-E_gWJDzGuf2nyWnd9lwni1A','IWcE5aDmZdVpzRTNQX-RIw','0CCsQFjAA','','',event)" target="_blank" data-href="http://runjs.cn/">RunJS - <em>在线编辑</em>、展示、分享、交流你的<em>JavaScript</em> 代码</a></h3><div class="s"><div><div class="f kv" style="white-space:nowrap"><cite class="vurls">runjs.cn/</cite><div class="action-menu ab_ctl"><a class="clickable-dropdown-arrow |
| var formData = {}; | |
| $('#form-ID').find('input,select,textarea').each(function() { | |
| var name = this.name || this.id, | |
| type = (this.getAttribute('type')||'').toLowerCase(), | |
| value; | |
| switch (type) { | |
| case 'radio': | |
| value = this.checked ? this.value : value; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset=utf-8 /> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| </body> | |
| </html> |