{ [Error: [unixODBC][Microsoft][ODBC Driver 17 for SQL Server]SSL Provider: [error:140A90A1:SSL routines:SSL_CTX_new:library has no ciphers]]
errors:
[ { message:
'[unixODBC][Microsoft][ODBC Driver 17 for SQL Server]SSL Provider: [error:140A90A1:SSL routines:SSL_CTX_new:library has no ciphers]',
state: '08001' },
{ message:
'[unixODBC][Microsoft][ODBC Driver 17 for SQL Server]Client unable to establish connection',
state: '08001' } ],
error: '[node-odbc] SQL_ERROR',
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
| # Generate a unique private key (KEY) | |
| sudo openssl genrsa -out xxx.local.key 2048 | |
| # Generating a Certificate Signing Request (CSR) | |
| sudo openssl req -new -key xxx.local.key -out xxx.local.csr | |
| # Creating a Self-Signed Certificate (CRT) | |
| sudo openssl x509 -req -days 365 -in xxx.local.csr -signkey mydomain.key -out xxx.local.crt | |
| # Append KEY and CRT to xxx.local.pem |
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
| dpkg -S /usr/bin/passwd | |
| check which binaries are installed by a package: | |
| dpkg -L ddd.deb |
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
| get_cmake_property(_variableNames VARIABLES) | |
| list (SORT _variableNames) | |
| foreach (_variableName ${_variableNames}) | |
| message(STATUS "${_variableName}=${${_variableName}}") | |
| endforeach() |
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
| https://unix.stackexchange.com/questions/26548/write-all-tmux-scrollback-to-a-file |
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
| run | |
| sudo dpkg-reconfigure openssh-server |
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
| https://stackoverflow.com/questions/8657648/how-to-have-gdb-exit-if-program-succeeds-break-if-program-crashes | |
| If you put the following lines in your ~/.gdbinit file, gdb will exit when your program exits with a status code of 0. | |
| python | |
| def exit_handler ( event ): | |
| if event .exit_code == 0: | |
| gdb .execute ( "quit" ) |
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
| wc `find . -type f \( -name "*.h" -o -name "*.cpp" -o -name "*.c" -o -name "*.hpp" -o -name "*.cc" \)` |
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 | |
| touch oldIp.txt | |
| md1=$(cat "oldIp.txt"); | |
| md2=$(hostname -I); | |
| if [ "$md1" = "$md2" ]; then | |
| echo The same | |
| else |
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
| find . -name '*.h' -o -name '*.cpp' | xargs wc -l |
NewerOlder