time.google.com
time1.google.com
time2.google.com
time3.google.com
| package main | |
| // This is how you can manually initialize a window and OpenGL context on windows, instead of using SDL or GLFW. | |
| // Also renders a colorful quad onto the screen. | |
| // I made this as an exercise and getting into Odin. | |
| // This is my first "complete" odin program, so there's probably much better ways of doing this :D | |
| import "base:runtime" | |
| import "core:fmt" | |
| import "core:c" |
Some hosting providers like scaleway allows to remove the IPv4 from the VPS in order to save 1€/month
but doing this will result in losing connectivity to the "IPv4 world".
Or you may have ordered a VPS that only has IPv6 connectivity and you want to access to a resource only accessible from the "IPv4 world".
Here is how to gain your access back to the "IPv4 world".
Note: You may deploy your own DNS64 & NAT64 server on a separate server by following this tutorial (untested): https://packetpushers.net/nat64-setup-using-tayga/.
Note²: You may find a explanation of what is NAT64 and DNS64 on Wikipedia.
https://github.com/MattPD/cpplinks / C++ Standard / C++20 / Coroutines
(draft; work in progress)
#coroutines (C++ Slack): https://cpplang.slack.com/archives/C5JS5JXT5
Javier Salcedo,
Telecom and Graphics Engineer,
Technical artist & producer
at Virtual Phenix Games
| #include <assert.h> | |
| #include <chrono> | |
| #include <embedder.h> | |
| #include <glfw3.h> | |
| #include <iostream> | |
| static_assert(FLUTTER_ENGINE_VERSION == 1, ""); | |
| static const size_t kInitialWindowWidth = 800; |
Relax, I only have one Sunday to work on idea, literally my weekend project. So I tried Deepseek to see if it can help. Surprisingly, it works and it saves me another weekend...
Just chat.deepseek.com (cost = free) with prompts adapted from this gist.
| @layer base { | |
| :root { | |
| --flexoki-bg: 48 100% 97%; | |
| --flexoki-bg-2: 51 33% 92%; | |
| --flexoki-ui: 51 21% 88%; | |
| --flexoki-ui-2: 50 14% 83%; | |
| --flexoki-ui-3: 55 10% 79%; | |
| --flexoki-tx: 0 3% 6%; |
| { pkgs ? import <nixpkgs> {} }: | |
| let | |
| fixWrapper = pkgs.runCommand "fix-wrapper" {} '' | |
| mkdir -p $out/bin | |
| for i in ${pkgs.gcc.cc}/bin/*-gnu-gcc*; do | |
| ln -s ${pkgs.gcc}/bin/gcc $out/bin/$(basename "$i") | |
| done | |
| for i in ${pkgs.gcc.cc}/bin/*-gnu-{g++,c++}*; do | |
| ln -s ${pkgs.gcc}/bin/g++ $out/bin/$(basename "$i") |