- http://stackoverflow.com/questions/804115 (
rebase
vsmerge
). - https://www.atlassian.com/git/tutorials/merging-vs-rebasing (
rebase
vsmerge
) - https://www.atlassian.com/git/tutorials/undoing-changes/ (
reset
vscheckout
vsrevert
) - http://stackoverflow.com/questions/2221658 (HEAD^ vs HEAD~) (See
git rev-parse
) - http://stackoverflow.com/questions/292357 (
pull
vsfetch
) - http://stackoverflow.com/questions/39651 (
stash
vsbranch
) - http://stackoverflow.com/questions/8358035 (
reset
vscheckout
vsrevert
)
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
# Example how to mount an ISO image file | |
sudo mount -o loop <image.iso> <directory> |
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
package android.util; | |
import java.util.Locale; | |
import static java.lang.System.out; | |
@SuppressWarnings("UnusedReturnValue") | |
public class Log { | |
private static final int DEFAULT_RETURN_VALUE = 0; |
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
// For taking live screenshots in Selenide/Selenium Tests inside IDEAs Debugger watch that expression: | |
Screenshots.takeScreenShotAsImage($("*")) |
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
package ...; | |
import ...; | |
@ExtendWith(SpringExtension.class) | |
@WebMvcTest(controllers = SomeMVCController.class, secure = false) | |
class SomeMVCUnitTests { | |
@Autowired | |
private MockMvc mvc; |
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
const express = require('express'); | |
const app = express(); | |
const port = 3000; | |
app.get('/exit', (req, res) => { | |
res.sendStatus(200); | |
res.on('finish', () => { | |
// Exiting process when the finish event was emited and the response was at least passed successfully to the operating system | |
// (for details see: https://nodejs.org/api/http.html#http_event_finish). Without that the HTTP status code 200 won't make it. | |
console.log(`Sent a 200, stoping to list for connections on ${port} and exiting process.`); |
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
# Integration of Tobii Stream SDK into Qt Build Process | |
# | |
# Reference: | |
# http://doc.qt.io/qt-5/qmake-variable-reference.html#includepath | |
# http://doc.qt.io/qt-5/qmake-variable-reference.html#libs | |
# http://doc.qt.io/qt-5/qmake-test-function-reference.html#equals-variablename-value | |
# http://doc.qt.io/qt-5/qmake-language.html#replacing-values | |
# | |
# Environment Variable containing the path to Tobii Stream SDK |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
{ | |
"name": "npm-scripts-example", | |
"version": "1.0.0", | |
"description": "npm scripts example", | |
"scripts": { | |
"clean": "rimraf ./dist && mkdir dist", | |
"prebuild": "npm run clean", | |
"build": "cross-env NODE_ENV=production webpack" | |
} | |
} |
The process starts by creating the CSR and the private key:
openssl req -nodes -newkey rsa:2048 -nodes -keyout dotmarks.net.key -out dotmarks.net.csr -subj "/C=GB/ST=London/L=London/O=dotmarks/OU=IT/CN=dotmarks.net"
Generates
- dotmarks.net.key
- dotmarks.net.csr
NewerOlder