Skip to content

Instantly share code, notes, and snippets.

View maratik123's full-sized avatar

maratik123

  • Serbia, Belgrade
View GitHub Profile
@maratik123
maratik123 / clist.txt
Created August 11, 2017 21:45
clist.txt for zibo b738 3.06d
#
# This checklist works with Xcheklist 1.21+ plugin by Sparker and uglyDwarf
# Link to plugin page: http://forums.x-plane.org/index.php?/files/file/20785-xchecklist-linwinmac3264/
# Copy the checklist to the root folder of Zibo's B737X and rename it to "clist.txt"
# For example: c:\X-Plane 11\Aircraft\Extra Aircraft\B737-800X\clist.txt
#
sw_checklist:INTRODUCTION:INTRODUCTION
sw_itemvoid:BOEING 737-800X-Zibo XP11 NORMAL CHECKLIST v1.1
@maratik123
maratik123 / spectre.c
Created January 5, 2018 23:03 — forked from ErikAugust/spectre.c
Spectre example code
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#ifdef _MSC_VER
#include <intrin.h> /* for rdtscp and clflush */
#pragma optimize("gt",on)
#else
#include <x86intrin.h> /* for rdtscp and clflush */
#endif
@maratik123
maratik123 / main.rs
Created September 14, 2024 10:42
Correct sorting for notify-rs
use rand::seq::SliceRandom;
use rand::thread_rng;
use std::collections::HashMap;
#[derive(Debug, Copy, Clone)]
struct A {
last: u32,
time: u32,
}