This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import struct | |
| import traceback | |
| from binaryninja import ( | |
| BinaryView, Architecture, log | |
| ) | |
| from binaryninja.enums import ( | |
| SegmentFlag | |
| ) | |
| class MicrocorruptionView(BinaryView): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| include <BOSL2/std.scad> | |
| $fn=500; | |
| difference() { | |
| union() { | |
| difference() { | |
| cylinder(h=25, r = 50, center = false); | |
| up(25) #chamfer_cylinder_mask(r=50, chamfer=2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use windows::core::*; | |
| use windows::Win32::Foundation::HMODULE; | |
| use windows::Win32::System::LibraryLoader::{GetProcAddress, LoadLibraryA}; | |
| //use windows::Win32::UI::Input::XboxController::XINPUT_STATE; | |
| // ref: https://gist.github.com/robindegen/9446175 | |
| #[repr(C)] | |
| #[derive(Debug,Default)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //$fn=500; | |
| inner_dia = 47.5; | |
| outer_dia = 57.5; | |
| clearance = 1.0; | |
| // height | |
| height = 10; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* smutool Tool for SMU | |
| * Copyright (C) 2015 Damien Zammit <damien@zamaudio.com> | |
| * Copyright (C) 2023 Sheep Sun <sunxiaoyang2003@gmail.com> | |
| * | |
| * This program is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by | |
| * the Free Software Foundation, either version 3 of the License, or | |
| * (at your option) any later version. | |
| * | |
| * This program is distributed in the hope that it will be useful, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import time | |
| import statistics | |
| cur_iter = 0 | |
| write_size = 256 | |
| base_addr = 0 | |
| inv = False | |
| erase_times = [] | |
| prog_times = [] |
OlderNewer