- .ssh directory 700 (drwx------)
- public key (.pub file) 644 (-rw-r--r--)
- private key (id_rsa) 600 (-rw-------)
- lastly your home directory should not be writeable by the group or others (at most 755 (drwxr-xr-x)).
This file contains 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
(function ($) { | |
let Spinner = new window.Spinner(); | |
$.nette.ext('trigger-spinner', { | |
before: function (jqXHR, settings) { | |
if (!this.validRequest(settings)) { | |
return; | |
} |
This file contains 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
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_URI} !^/maintenance\.html$ [NC] | |
RewriteCond %{REQUEST_URI} !\.(jpe?g?|png|gif|css|js|tff|woff) [NC] | |
RewriteRule ^(.*)$ http://%{HTTP_HOST}/maintenance.html [R=307,L] |
Začátek je jednoduchý, ostatně jako u všech ostatních rozšíření pro Nette framework. Ještě ale než budeme instalovat rozšíření, je potřeba se rozhodnout který typ web socketů budeme chtít implementovat.
- iPub:WebSocketsMessage! - jednoduché řešení
- ipub:WebSocketsWAMP! - implementace WAMP (Websocket Application Messaging Protocol) ktetrý přináší pokročilejší způsoby komunikace
Toto rychlé how-to se bude podrobněji zabývat druhou možností a tedy iPub:WebSocketsWAMP!
In your local clone of your forked repository, you can add the original GitHub repository as a "remote". ("Remotes" are like nicknames for the URLs of repositories - origin is one, for example.) Then you can fetch all the branches from that upstream repository, and rebase your work to continue working on the upstream version. In terms of commands that might look like:
git remote add upstream https://github.com/whoever/whatever.git
git fetch upstream
This file contains 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
#ajax-spinner { | |
position: fixed; | |
width: 32px; | |
height: 32px; | |
/* - use if you use bacground image, no ico */ | |
/*background: url('../img/ajax_loader.gif') no-repeat;*/ | |
z-index: 123456; | |
color: green; | |
} |