Skip to content

Instantly share code, notes, and snippets.

View Borwe's full-sized avatar
🇰🇪
Kenyan

Brian Orwe Borwe

🇰🇪
Kenyan
View GitHub Profile
@Borwe
Borwe / mingw-w64-x86_64.cmake
Created July 9, 2021 10:51 — forked from peterspackman/mingw-w64-x86_64.cmake
cmake toolchain file for mingw-w64 x86_64 builds on Ubuntu
# Sample toolchain file for building for Windows from an Ubuntu Linux system.
#
# Typical usage:
# *) install cross compiler: `sudo apt-get install mingw-w64`
# *) cd build
# *) cmake -DCMAKE_TOOLCHAIN_FILE=~/mingw-w64-x86_64.cmake ..
set(CMAKE_SYSTEM_NAME Windows)
set(TOOLCHAIN_PREFIX x86_64-w64-mingw32)
@Borwe
Borwe / ycm-bad-first-start-java
Created August 2, 2020 16:08
What happens after starting a new instance of vim, after it fails that one time.
2020-08-02 14:40:49,815 - DEBUG - Global extra conf not loaded or no function YcmCorePreload
2020-08-02 14:40:51,481 - INFO - Received ready request
2020-08-02 14:50:46,525 - INFO - Received health request
2020-08-02 14:50:51,495 - DEBUG - Keeping subservers alive
2020-08-02 14:52:52,704 - INFO - Received signature help available request
2020-08-02 14:52:52,840 - INFO - Looking for jdt.ls
2020-08-02 14:52:53,030 - DEBUG - Found launchers: ['/home/brian/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/eclipse.jdt.ls/target/repository/plugins/org.eclipse.equinox.launcher_1.5.700.v20200207-2156.jar']
2020-08-02 14:52:53,032 - DEBUG - Found launchers: ['/home/brian/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/eclipse.jdt.ls/target/repository/plugins/org.eclipse.equinox.launcher_1.5.700.v20200207-2156.jar']
2020-08-02 14:52:53,032 - INFO - extension directory does not exist: /home/brian/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/eclipse.jdt.ls/extensions
2020-08-02 14:52:53,032 - DEB
@Borwe
Borwe / logging.txt
Created May 26, 2020 16:44
Netbeans compilation error
Buildfile: /home/brian/Git-Repos/netbeans/build.xml
-jdk-pre-preinit:
-jdk-preinit:
-jdk-warn:
-jdk-presetdef-basic:
@Borwe
Borwe / DATEGetter.java
Created March 23, 2018 10:51
DateGetter
SimpleDateFormat sdf=new SimpleDateFormat("EEE MMM dd HH:mm:ss z yyyy", Locale.ENGLISH);
Date date=sdf.parse("Fri Mar 23 12:50:47 EAT 2018");//returning null here why? Unparseable date: "Fri Mar 23 12:50:47 EAT 2018"