sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
| bind-key C-b send-prefix | |
| bind-key C-o rotate-window | |
| bind-key C-z suspend-client | |
| bind-key Space next-layout | |
| bind-key ! break-pane | |
| bind-key " split-window | |
| bind-key # list-buffers | |
| bind-key $ command-prompt -I #S "rename-session '%%'" | |
| bind-key % split-window -h | |
| bind-key & confirm-before -p "kill-window #W? (y/n)" kill-window |
| <?php | |
| function getAdminToken() | |
| { | |
| $url = 'https://example.com/rest/default/V1/integration/admin/token'; | |
| $data = [ | |
| "username" => "user", | |
| "password" => "user_password" | |
| ]; | |
| $data_string = json_encode($data); |
| import 'dart:convert'; | |
| class Restaurant { | |
| Restaurant({ | |
| required this.name, | |
| required this.cuisine, | |
| this.yearOpened, | |
| required this.reviews, | |
| }); | |
| final String name; |
| File | Purpose |
|---|---|
/etc/compose/docker-compose.yml |
Compose file describing what to deploy |
/etc/systemd/system/docker-compose-reload.service |
Executing unit to trigger reload on docker-compose.service |
/etc/systemd/system/docker-compose-reload.timer |
Timer unit to plan the reloads |
/etc/systemd/system/docker-compose.service |
Service unit to start and manage docker compose |
| ############################################################################ | |
| # # | |
| # ------- Useful Docker Aliases -------- # | |
| # # | |
| # # Installation : # | |
| # copy/paste these lines into your .bashrc or .zshrc file or just # | |
| # type the following in your current shell to try it out: # | |
| # wget -O - https://gist.github.com/jgrodziski/9ed4a17709baad10dbcd4530b60dfcbb/raw/d84ef1741c59e7ab07fb055a70df1830584c6c18/docker-aliases.sh | bash | |
| # # | |
| # # Usage: # |
| // ==UserScript== | |
| // @name Vortek Preload | |
| // @namespace vortek | |
| // @description Load variables | |
| // @include http://localhost/vortek_php/* | |
| // @version 1 | |
| // ==/UserScript== | |
| // a function that loads jQuery and calls a callback function when jQuery has finished loading | |
| function addJQuery(callback) { | |
| var script = document.createElement("script"); |
| server { | |
| server_name default_server; | |
| # This is for Let's Encrypt certification renewal | |
| include /etc/nginx/snippets/letsencrypt.conf; | |
| # Redirect to https | |
| location / { | |
| return 301 https://$server_name$request_uri; | |
| } | |
| } |