generate basice ansible playbook structure
- uvx --from ansible-generator ansible-generate
- leave blocked ssh session
~.
generate basice ansible playbook structure
~.| <!DOCTYPE html> | |
| <head> | |
| <script src="https://d3js.org/d3.v5.min.js"></script> | |
| </head> | |
| <body> | |
| <script> | |
| var svgContainer = d3.select("body").append("svg") | |
| .attr("width", 200) |
| """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| " Maintainer: | |
| " Amir Salihefendic — @amix3k | |
| " | |
| " Awesome_version: | |
| " Get this config, nice color schemes and lots of plugins! | |
| " | |
| " Install the awesome version from: | |
| " | |
| " https://github.com/amix/vimrc |
| import abc | |
| from typing import Dict, Optional, Sequence | |
| class Component(metaclass=abc.ABCMeta): | |
| @property | |
| @abc.abstractmethod | |
| def name(self): | |
| pass |
https://medium.com/@jdxcode/12-factor-cli-apps-dd3c227a0e46
stdout for output stderr for messaging
color only if tty=dumb or pass --no-color
debug mode (DEBUG) debug mode for application (APPNAME_DEBUG)
Sets of api for Java Enterprise Server Application, drivent by the community (wikis, gitter, google group, mailing list, blog, site...)
| package fr.nargit.cells; | |
| import java.io.BufferedReader; | |
| import java.io.File; | |
| import java.io.FileReader; | |
| public class Main { | |
| public static void main(String[] args) { | |
| BufferedReader in; | |
| try { |
| package fr.nargit.prime; | |
| import java.io.File; | |
| import java.io.FileNotFoundException; | |
| import java.util.Scanner; | |
| public class Main { | |
| public static void main(String[] args) { | |
| int[] vector = null; | |
| Integer result = -1; |
| package fr.nargit.repetition; | |
| import java.io.BufferedReader; | |
| import java.io.File; | |
| import java.io.FileReader; | |
| import java.util.Arrays; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import java.util.regex.Matcher; | |
| import java.util.regex.Pattern; |