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
    
  
  
    
  | cat ~/.ssh/id_rsa.pub | \ | |
| ssh user@192.168.1.25 \ | |
| "sudo mkdir /root/.ssh; sudo tee -a /root/.ssh/authorized_keys" | |
| cats my bublic key | |
| pipes it to ssh | |
| ssh connects to my raspberry as ssh user | |
| on remote uses sudo to create /root/.ssh | |
| then uses sudo with "tee -a" to append stdin (which holds the key from first cat) to /root/.ssh/authorized_keys | 
See this issue.
Docker best practise to Control and configure Docker with systemd.
- 
Create daemon.jsonfile in/etc/docker:{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
  
    
      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
    
  
  
    
  | # | |
| # views.py | |
| # | |
| class ResumeNew(ProtectedMixin, CreateView): | |
| model = Resume | |
| form_class = ResumeForm | |
| success_url = '/accounts/profile/' | |
| template_name = 'resume/new.html' | |
| def get_initial(self): | 
  
    
      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
    
  
  
    
  | ## Example configuration: | |
| # upstream fastcgi_backend { | |
| # # use tcp connection | |
| # # server 127.0.0.1:9000; | |
| # # or socket | |
| # server unix:/var/run/php5-fpm.sock; | |
| # } | |
| # server { | |
| # listen 80; | |
| # server_name mage.dev; |