Skip to content

Instantly share code, notes, and snippets.

View Adrian-LL's full-sized avatar
🎯
Focusing (yeah, right...)

Adrian L. L. Adrian-LL

🎯
Focusing (yeah, right...)
  • Cognyte Software (formerly Verint Cyber Intelligence Solutions)
  • Bucharest
View GitHub Profile
@Adrian-LL
Adrian-LL / VSC-Part1.md
Last active December 27, 2023 19:51
Using Visual Studio Code for C++ (Part 1 - Windows, MSYS / MinGW)

Installing and using Visual Studio Code and g++ (plus other tools) for (re)learning programming (and some entertainment purposes) - Part 1 - Windows 10

Recently (actually not so recent...) I wanted to refresh my programming (and logical) skills. So I thought to try some available tools. I was not looking for professional tools, but for something - such an IDE - easy to use, ideally with a lot of help included. (still longing for something like the almost forgotten Turbo C and Turbo Pascal.)

I tried (and still using somewhat) CodeBlocks (http://www.codeblocks.org/ - works on Linux, Windows, MacOS). For educational purposes it is very simple to setup, one have to just download and install the version that contains the mingw tools. More details on their site. It is also easy to use, almost straightforward. Nonetheless, it can also deal with bigger projects.

I also tried NetBeans (https://netbeans.org/ - also working in Linux, Windows and MacOS) and DevC++ (https://sourceforge.net/projects/orwel

@Adrian-LL
Adrian-LL / VSC-part2.md
Last active February 5, 2024 00:54
Using Visual Studio Code for C++ (Part 2, Windows + WSL)

Installing & Using Visual Studio Code for C++ learning - Part 2 - using WSL

Some time ago (see previous gist) I began to explore Visual Studio Code with the intent to re-learn C++. I was looking for some simple IDE and I was not very pleased with CodeBlocks or NetBeans. VSC seemed to satisfy my requirements, but implied the installation of a C++ compiler & other tools needed to compile and run the programs.

I tried MinGW / MSYS / Cygwin, and I thought that, since Microsoft was offering Linux natively in the latest editions of Windows 10, to use WLS (Windows Subsystem for Linux). (Another alternative was to use the native Microsoft tools - but these seems to be too big and/or complicated - although the debugging is the best...)

Please note that we are still discussing about (re)learning programming, C++ in this case.

Also, don't forget that VSC is still an editor.

Installing & Using Visual Studio Code for C++ ... - Part 3 - Windows + WSL + Graphical Apps Under WSL & the Conclusion

See also Part 1 and Part 2 of this series.

Running native Linux VSC in WSL (and some other applications)

Now, the final complication -- that is running VSCode as graphical app in WSL.

Yes, this is possible, although not supported by Microsoft. Mainly because WSL implementation is not based on a kernel. See more about internal workings of WSL at Jessie Frazelle Blog (very nice and short explanation) or at Microsoft (e.g. https://blogs.msdn.microsoft.com/wsl/2016/04/22/windows-subsy

@Adrian-LL
Adrian-LL / JapaneseApps.txt
Created January 21, 2019 19:47
Japanese learning apps
For English-Japanese dictionaries, it mostly just comes down to preference in UI, as most of them (especially the good ones) get their raw data from the same source, namely the JMDict, EDICT, and KANJIDIC dictionary files.
Here are a few choices I know people to use:
- https://play.google.com/store/apps/details?id=jp.takoboto
- https://play.google.com/store/apps/details?id=ric.Jsho
- https://play.google.com/store/apps/details?id=com.craxic.akebifree
- https://play.google.com/store/apps/details?id=com.renzo.japanese
- https://play.google.com/store/apps/details?id=com.umibouzu.jed
- https://play.google.com/store/apps/details?id=com.cnd.jdict
- https://play.google.com/store/apps/details?id=net.makimono.dictionary (this one is Japanese-English-French-German-Spanish-Portuguese-Russian, but I've never used it personally, so idk how good it is for all those languages)
- https://play.google.com/store/apps/details?id=com.space.japanese
@Adrian-LL
Adrian-LL / JapaneseApps.md
Last active January 21, 2019 19:50
Japanese Apps - forked from Wonkyth/JapaneseApps.txt

From February 2018 forked from Wonkyth/JapaneseApps.txt

For English-Japanese dictionaries, it mostly just comes down to preference in UI, as most of them (especially the good ones) get their raw data from the same source, namely the JMDict, EDICT, and KANJIDIC dictionary files. Here are a few choices I know people to use: