You need to do this if you try this command:
ssh -T [email protected]and you get something that says
[email protected]: Permission denied (public key).You need to do this if you try this command:
ssh -T [email protected]and you get something that says
[email protected]: Permission denied (public key).| #!/bin/bash | |
| # Adapted from http://stackoverflow.com/questions/24039470/xcode-6-ios-creating-a-cocoa-touch-framework-architectures-issues/26691080#26691080 | |
| # and https://gist.github.com/cromandini/1a9c4aeab27ca84f5d79 | |
| # Create a new aggregate target. | |
| # For the automatically generated scheme, change its build config to "release". | |
| # Ensure this target's "product name" build setting matches the framework's. | |
| # Add a run script with `source "${PROJECT_DIR}/path_to_this_script` |
| echo "options hid_apple fnmode=0" | sudo tee -a /etc/modprobe.d/hid_apple.conf |
| from http.server import BaseHTTPRequestHandler, HTTPServer | |
| host="localhost" ; port=8080 | |
| class HTTPRequestHandler(BaseHTTPRequestHandler): | |
| def do_GET(self): | |
| self.send_response(200) ; self.end_headers() ; self.wfile.write(b'ok') | |
| print("http server is running at " + host + ":" + str(port)) | |
| HTTPServer((host, port), HTTPRequestHandler).serve_forever() |
| # to remote host | |
| cat localfile.conf | ssh user@hostname 'cat -> /tmp/remotefile.conf' | |
| # from remote host | |
| ssh user@hostname 'cat /tmp/remotefile.conf' > /tmp/localfile.conf |
This is a document describing how to install Ubuntu 16.04 LTS on ThinkPad T470s.
| # Reference: | |
| https://www.cloudgear.net/blog/2015/5-minutes-kubernetes-setup/ | |
| # install homebrew and cask | |
| ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| # install virtualbox | |
| brew cask install virtualbox | |
| # install dockertoolbox |
Adres: ul. Królewska 2/2
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
| { | |
| "background-color": "#2E3436", | |
| "badge-color": "#FFFFFF", | |
| "bold-color": "#FFFFFF", | |
| "comment": "", | |
| "cursor-background-color": "#000000", | |
| "cursor-foreground-color": "#FFFFFF", | |
| "foreground-color": "#BABDB6", | |
| "highlight-background-color": "#000000", | |
| "highlight-foreground-color": "#FFFFFF", |