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 -Naur OLD/ghidra_11.0.2_PUBLIC/Ghidra/Processors/Atmel/data/languages/atmega328.pspec NEW/ghidra_11.0.2_PUBLIC/Ghidra/Processors/Atmel/data/languages/atmega328.pspec | |
--- OLD/ghidra_11.0.2_PUBLIC/Ghidra/Processors/Atmel/data/languages/atmega328.pspec 1970-01-01 01:00:00.000000000 +0100 | |
+++ NEW/ghidra_11.0.2_PUBLIC/Ghidra/Processors/Atmel/data/languages/atmega328.pspec 2024-04-07 09:13:59.826455000 +0200 | |
@@ -0,0 +1,157 @@ | |
+<?xml version="1.0" encoding="UTF-8"?> | |
+ | |
+<processor_spec> | |
+ | |
+ <programcounter register="PC"/> | |
+ <data_space space="mem"/> |
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
""" | |
Changing the spelling language for Microsoft Office documents is a pain. | |
You can set the default spell-checker language as you desire, but this will | |
not modify existing templates. Templates are copied during installation | |
to the path '%appdata%\Microsoft\Templates' and done. Text elements within | |
these templates will retain their default spelling language. | |
This leads to a quite painful user experience when working with templates | |
and multiple languages. | |
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
from __future__ import print_function | |
import sys | |
import argparse | |
import os.path | |
import textwrap | |
import re | |
from pprint import pprint | |
import xml.etree.ElementTree as ET |
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
<?php | |
/* | |
Plugin Name: Image Shortcode | |
Description: Insert an image by id. This plugin automatically fetches title, size and embedded image. | |
Version: 1.1 | |
Plugin URI: https://gist.github.com/jojonas/f6f9590a596645124cb8 | |
Author: Jonas Lieb | |
Author URI: http://www.jonaslieb.com | |
*/ |
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 argparse | |
import os, os.path | |
import zipfile | |
import io | |
def readui32(file): | |
bytes = file.read(4) | |
number = bytes[0] | |
number += bytes[1] << 8 | |
number += bytes[2] << 16 |
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 argparse | |
class Decrypter: | |
SIMPLE_STRING = "0123456789ABCDEF" | |
SIMPLE_MAGIC = 0xA3 | |
def __init__(self, password): | |
self.data = password | |
def next(self): |
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 argparse | |
import time | |
import base64 | |
import hmac | |
import hashlib | |
# pads the string to a multiple of 8 bytes using "=" | |
def pad_base32(string): | |
return string + "=" * (8 - ((len(string)-1) % 8) - 1) |