This file contains hidden or 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
✔ What would you like to name your new PKI? (e.g. Smallstep): YacarPki | |
What DNS names or IP addresses will clients use to reach your CA? | |
✔ (e.g. ca.example.com[,10.1.2.3,etc.]): step-ca | |
What IP and port will your new CA bind to? (:443 will bind to 0.0.0.0:443) | |
✔ (e.g. :443 or 127.0.0.1:443): :9000 | |
What would you like to name the CA's first provisioner? | |
✔ (e.g. [email protected]): [email protected] | |
Choose a password for your CA keys and first provisioner. | |
✔ [leave empty and we'll generate one]: |
This file contains hidden or 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
Defining main-target | |
... | |
add_custom_target(generate_version_header | |
COMMAND ${CMAKE_COMMAND} | |
-DVERSION_TEMPLATE:STRING=version.hpp.in | |
-DVERSION_FILE:STRING=version.hpp | |
-DSOURCE_DIR:STRING=${CMAKE_SOURCE_DIR} | |
-P ${CMAKE_SOURCE_DIR}/generate_version_header.cmake | |
COMMENT "Generating version header" |
This file contains hidden or 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
#ifndef VERSION_HPP | |
#define VERSION_HPP | |
#define COMMIT_ID "97349fa012345674a27c75f5de359c516e3820b" | |
#define BRANCH_NAME "my_branch" | |
#endif // VERSION_HPP |
This file contains hidden or 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
#ifndef VERSION_HPP | |
#define VERSION_HPP | |
#define COMMIT_ID "@COMMIT_ID@" | |
#define BRANCH_NAME "@BRANCH_NAME@" | |
#endif |
This file contains hidden or 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
execute_process ( | |
COMMAND bash -c "cd ${SOURCE_DIR} && git rev-parse HEAD" | |
OUTPUT_VARIABLE COMMIT_ID | |
OUTPUT_STRIP_TRAILING_WHITESPACE | |
) | |
execute_process ( | |
COMMAND bash -c "cd ${SOURCE_DIR} && git rev-parse --abbrev-ref HEAD" | |
OUTPUT_VARIABLE BRANCH_NAME | |
OUTPUT_STRIP_TRAILING_WHITESPACE |
This file contains hidden or 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
[Unit] | |
Description=Launch Kuba Kiosk app | |
After=network-online.target | |
Wants=network-online.target | |
[Service] | |
ExecStart=startx /etc/X11/Xsession /opt/kiosk.sh | |
[Install] | |
WantedBy=multi-user.target |
This file contains hidden or 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
[Unit] | |
Description=Launch Kuba Kiosk app | |
After=network-online.target | |
Wants=network-online.target | |
[Service] | |
ExecStart=startx /etc/X11/Xsession /opt/kiosk.sh | |
[Install] | |
WantedBy=multi-user.target |
This file contains hidden or 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
#!/bin/bash | |
xset -dpms | |
xset s off | |
openbox-session & | |
while true; do | |
firefox - kiosk "http://medium.com" | |
done |
This file contains hidden or 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
MYVAR = "${@"ENABLED" if d.getVar("POST_BUILD_LOG") == "1" else "DISABLED"}" |
This file contains hidden or 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
POST_BUILD_LOG = "1" |
NewerOlder