This file contains 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 <stdint.h> | |
#include <string.h> | |
#include <avr/io.h> | |
#include <avr/interrupt.h> | |
/* | |
* NA202MD08BC pinout: | |
* 1 2 | |
* [-----|-----] | |
* [ vcc | vcc ] |
This file contains 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
diff --git a/__init__.py b/__init__.py | |
index 5d325b4..b99f313 100644 | |
--- a/__init__.py | |
+++ b/__init__.py | |
@@ -3,17 +3,17 @@ import requests | |
import shutil | |
from zipfile import ZipFile | |
from tempfile import TemporaryDirectory | |
-from PySide2.QtWidgets import (QPushButton, QWidget, QVBoxLayout, | |
+from PySide6.QtWidgets import (QPushButton, QWidget, QVBoxLayout, |
This file contains 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
#!/usr/bin/env python | |
import sys | |
from colors import * | |
from unicorn import * | |
from unicorn.arm_const import * | |
from capstone import Cs, CS_ARCH_ARM, CS_MODE_ARM, CsError |
This file contains 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
#!/bin/env python3 | |
from struct import pack as p | |
from struct import unpack as up | |
import time | |
import sys | |
inits = [\ |
This file contains 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
/*[ Bolt properties (Machinery's pp. 1446, 25th ed) ]*/ | |
//Width across flats (S) | |
bolt_head_width=16; // [13:M8,16:M10,18:M12,21:M14] | |
//shank nominal diameter | |
bolt_body_diam=10; //[8:M8,10:M10,12:M12,14:M14] | |
//bolt head depth | |
bolt_head_depth=6.6; //[5.5:M8, 6.6:M10, 7.8:M12, 9:M14] | |
/*[misc.]*/ | |
// clearance for fitment around bolt parts |
This file contains 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 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 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 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 = 10; |