gitflow | git |
---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
import java.io.FileDescriptor; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.io.OutputStream; | |
import java.io.PrintStream; | |
public class HelloWorld{ | |
private static HelloWorld instance; | |
public static void main(String[] args){ | |
instantiateHelloWorldMainClassAndRun(); |
What is strict aliasing? First we will describe what is aliasing and then we can learn what being strict about it means.
In C and C++ aliasing has to do with what expression types we are allowed to access stored values through. In both C and C++ the standard specifies which expression types are allowed to alias which types. The compiler and optimizer are allowed to assume we follow the aliasing rules strictly, hence the term strict aliasing rule. If we attempt to access a value using a type not allowed it is classified as undefined behavior(UB). Once we have undefined behavior all bets are off, the results of our program are no longer reliable.
Unfortunately with strict aliasing violations, we will often obtain the results we expect, leaving the possibility the a future version of a compiler with a new optimization will break code we th
This script will download and replace ~/Applications/VSCode-linux-x64
with the latest VS Code Insiders.
- Install
jq
: https://stedolan.github.io/jq/download/ - Place
update-code
somewhere in yourPATH
- https://www.microsoft.com/en-au/software-download/windows10ISO, for VLC use: https://www.microsoft.com/Licensing/servicecenter/default.aspx
- Press F12 (This opens the developer options of your browser)
- Enable mobile device emulation (On Chrome, it's phone/tablet icon in the top-left of the dev tools pane)
- Refresh the page.
- (optional) https://tb.rg-adguard.net/public.php (fan-made mirrors)
What you'll see now is the option to select your Windows version and language, and it'll download the ISO.
High level error codes | |
0x1080 PEM - No PEM header or footer found | |
0x1100 PEM - PEM string is not as expected | |
0x1180 PEM - Failed to allocate memory | |
0x1200 PEM - RSA IV is not in hex-format | |
0x1280 PEM - Unsupported key encryption algorithm | |
0x1300 PEM - Private key password can't be empty | |
0x1380 PEM - Given private key password does not allow for correct decryption | |
0x1400 PEM - Unavailable feature, e.g. hashing/encryption combination |
#include "soc/rtc_cntl_struct.h" | |
#include "hal/wdt_types.h" | |
#include "hal/rwdt_ll.h" | |
void __attribute__((noreturn)) esp_rtc_reset(void) | |
{ | |
rwdt_ll_write_protect_disable(&RTCCNTL); | |
rwdt_ll_disable(&RTCCNTL); | |
rwdt_ll_config_stage(&RTCCNTL, WDT_STAGE0, 0, WDT_STAGE_ACTION_RESET_RTC); | |
rwdt_ll_disable_stage(&RTCCNTL, WDT_STAGE1); |