You need to do this if you try this command:
ssh -T git@github.comand you get something that says
git@github.com: Permission denied (public key).| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Teams Link Opener</title> | |
| <script src="https://res.cdn.office.net/teams-js/2.28.0/js/MicrosoftTeams.min.js"></script> | |
| <style> | |
| #teamsStatus { | |
| padding: 15px; |
You need to do this if you try this command:
ssh -T git@github.comand you get something that says
git@github.com: 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 | |