Еш бирелә торган сораулар

  • Q: In case of errors during SSL-setup of Bamboo
    or
    Җ: 1) Do: https://support.atlassian.com/bamboo/kb/how-to-secure-your-remote-agent-bamboo-server
    2) and add to mentioned wrapper.conf: wrapper.java.additional.9=-Djavax.net.ssl.trustStorePassword=XXXXXX
    3) run keytool -import -trustcacerts -alias [ALIAS_AS_IS_FROM_SERVER_CERT] -file C:\[MY_SERVER_MAIN_CERT.local].crt -keystore C:\Bamboo\bamboo.secure.client.ts
    4) Open the URL in the web-browser: and export Bamboo’s ActiveMQ Broker from web-browser to *.crt file
    5) Download KeyStore Explorer from here – https://keystore-explorer.org
    6) Import exported ActiveMQ_Broker.crt into C:\Bamboo\bamboo.secure.client.ts
  • Q: QtWebEngine CMake: GN FAILED. ninja: build stopped: subcommand failed
    A: apt install ninja-build gn pkg-config build-essential libssl-dev llvm БУЛЫШМАДЫ.
    ә менә dmesg’ны җибәргәч, күрдем: Out of memory: Killed process gn, total-vm
    virt-машинаның ОЗУ’ын 8Гб-тан 32Гб-ка арттыргач, бөтен әйбер хатасыз җыелды
  • Q: How to install CPAN’s “Devel::Camelcadedb” into Strawberry Perl to using debugging in Windows IDEA Perl5?
    Җ: Download and copy WinGNU’s make.exe and dependencies into path where perl is installed (in my case C:\Program Files (x64)\perl\c\bin)
    – add C:\Program Files (x64)\perl\c\bin to system PATH, so Perl/CPAN can find gcc.exe and make.exe
    – add to C:\Program Files (x64)\perl\perl\lib\CPAN Config.pm:
    - cpan > install Hash::StoredIterator
    – cd C:\Program Files (x64)\perl\cpan\build\Devel-Camelcadedb-v2023.1-6 (where CPAN failed last time to make install)
    – make
    – make install
  • Q: How to converting strings to Resource IDs?
    A: To convert a string to a named resource ID (within a string table defined in resource.h), you’ll typically need to implement an X-macros for converting resource IDs to strings. Please note, that builtin MSVS resource editor doesn’t support editing them (but it works)
  • In the end of resource.h:

    In resource_lists.h:

    The function:

    Using:

  • Q: WSL’да Qt creator’ның менюларын ничек зурайтырга?
    Җ: export QT_SCALE_FACTOR=1.5
  • Shadowsocks’ны икенче кулланучыга бирәсегез килсә, яңа /etc/shadowsocks-libev/alabuga.json дигән конфиг ясагыз да:
  • Q: LNK2019 unresolved external symbol _memcpy_s referenced in function int __cdecl ReadMemory(void *,unsigned char *,unsigned long) WinampKeyboardPlugin winamp_kbd\shrmem.obj
    Җ: /nodefaultlib опциясы өстәлмәгән икәнне тикшерегез – алай булса, бөтен гадәттәгечә *.DLL’лар IDE сыйфатларында игътибарсыз калдырыла.
  • MSBuild MSVC/QT integration to improve:

  • Q: Bad characters in a console log output QtCreator?
    Җ: This error appears because Qt Creator reports errors in CP1251 encoding, but Windows console output is CP866 in russian version of Windows.

    өстәмә – компиляторның нәтиҗәләрендә мәҗбүри UTF-8ны куеп була:

  • Atlassian Bamboo өчен дә шулай ук – win1252 (“öoäöäoöäöaöaöääöäöaö”) булып күрсәтелсә, CP866-ны куерга кирәк:
    bamboow.exe:

    монда өстәгез:

    conf\wrapper.conf’га өстәгез:
  • Q: CMake: pthread.h – No such file or directory / LNK1104
    Җ: симәккә option(CMAKE_USE_WIN32_THREADS_INIT “using WIN32 threads” ON) өстәгез
  • C: Ничек линукста бирелгән юллары белән бөтен файлларны табырга?
    Җ: find / -type f | xargs grep -ril “бу юлны эзлим”

  • С: Qt’s MSVC x64’s CDB debugger: Win32 error 0n87
    Җ: Project properties -> Build & Run -> Run -> Run configuration -> Remove (and recreate!)
Insert math as
Block
Inline
Additional settings
Formula color
Text color
#333333
Type math using LaTeX
Preview
\({}\)
Nothing to preview
Insert