make
mingw-w64-ucrt-x86_64-cmake
mingw-w64-ucrt-x86_64-gcc
mingw-w64-ucrt-x86_64-qt5-base
mingw-w64-ucrt-x86_64-qt5-tools
| #!/usr/bin/bash | |
| # zn - as zettell | |
| # new export variables EDITOR for your editor and | |
| #+ NOTES for your notes folder. | |
| main () { | |
| note_id=$(date +'%Y%m%d%H%M%S') | |
| $EDITOR $NOTES/"$note_id".md | |
| } |
| # NOTE: must be run on a MacOS Agent! | |
| steps: | |
| - script: | | |
| # Install AVD files | |
| yes | $ANDROID_HOME/tools/bin/sdkmanager --install 'system-images;android-29;default;x86_64' | |
| yes | $ANDROID_HOME/tools/bin/sdkmanager --licenses | |
| # Create emulator | |
| echo "no" | $ANDROID_HOME/tools/bin/avdmanager create avd -n Pixel_API_29_AOSP -d pixel --package 'system-images;android-29;default;x86_64' --force |
| /* | |
| - Read code from files | |
| - Show images | |
| - Show json | |
| - Show video | |
| - Show audio | |
| - Better debugging | |
| */ | |
| #include <stdio.h> |
| #!/usr/bin/env bash | |
| set -Eeuo pipefail # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/#:~:text=set%20%2Du,is%20often%20highly%20desirable%20behavior. | |
| shopt -s expand_aliases | |
| SOURCE_LANG=$1 | |
| TARGET_LANG=$2 | |
| TEXT=$3 | |
| ENGINE=${4-google} | |
| CACHEFILE="$HOME/.cache/trans_cache.sqlite" |
Normally, it is sufficient to grab the Go MSI installer from the website in order to set up the toolchain. However, some packages that provide Go wrappers for C libraries rely on cgo tool, which in turn, needs the GCC toolchain in order to build the glue code. Also, 3rd-party dependencies are usually hosted on services like GitHub, thus Git is also needed. This mini-guide illustrates how to setup a convenient development environment on Windows using MSYS2.
I have a pet project I work on, every now and then. CNoEvil.
The concept is simple enough.
What if, for a moment, we forgot all the rules we know. That we ignore every good idea, and accept all the terrible ones. That nothing is off limits. Can we turn C into a new language? Can we do what Lisp and Forth let the over-eager programmer do, but in C?