Skip to content

Instantly share code, notes, and snippets.

View doevelopper's full-sized avatar

Adrien H doevelopper

  • Versailles
View GitHub Profile
@doevelopper
doevelopper / beurk.yml
Created October 18, 2018 15:19
To validate
#Read https://rolln.de/knoppo/xtract/blob/master/.gitlab-ci.yml
stages:
- configure
- compile
- unit-testing
- package
- integration-testing
- verify
- code-review
- install
>$ openssl  s_client -connect crowd.devsecops.acme:80
>$ openssl ciphers -v 'TLSv1.2' | head -4

Check ssl option available

>$ openssl  s_client -connect devsecops.acme:80
>$ openssl ciphers -v 'TLSv1.2' | head -4

See if running, uptime, view latest logs

>$ systemctl status

See all systemd logs

$> python -c "import sys, urllib as enc; print enc.quote_plus(sys.argv[1])" "p@s#w:E"
# sudo usermod -a -G sudo gitlab-runner
# sudo visudo or sudo vi /etc/sudoers
# %gitlab-runner ALL=(ALL) NOPASSWD: ALL # All members of gitlab-runner to run sudo w/o pwd
# gitlab-runner ALL=(ALL) NOPASSWD: ALL # run sudo w/o password
# gitlab-runner ALL=(ALL) NOPASSWD: /usr/bin/apt
stages:
- sw-quality-tools
- dev-tools
- dependencies
<?xml version="1.0" encoding="UTF-8" ?>
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<!-- Output the log message to system console.
-->
<appender name="MyConsoleAppender" class="org.apache.log4j.ConsoleAppender">
<param name="Target" value="System.out"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p %c{1} - %m%n"/>
</layout>
</appender>
Gitlab-CI Travis CI Jenkins CI Circle CI BitBucket CI
Buid CT/CI/CD status
Test CT/CI/CD status
Integration CT/CI/CD status
Code Coverage coverage report
Code Analysis [![coverage report](https://git
#Read https://rolln.de/knoppo/xtract/blob/master/.gitlab-ci.yml
stages:
- configure
- compile
- unit-testing
- package
- integration-testing
- verify
- code-review
- install

C++ Coding Conventions and Guidelines

NOTE: NEEDS UPDATING FOR C++17.

Maintainer: Adrien H.L (happyman ad hotmail dot com)

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

You are free to share and adapt these guidelines, as long as you provide attribution to this source and keep the same license. For more information, please consult the link above.

// http://stackoverflow.com/a/34032216/78204
function Controller() {
installer.autoRejectMessageBoxes();
installer.setMessageBoxAutomaticAnswer("OverwriteTargetDirectory", QMessageBox.Yes);
installer.installationFinished.connect(function() {
gui.clickButton(buttons.NextButton);
})
}