Sources to go through:
- asp68k peephole optimizations: Not all are real.
- Efficient 68000 Progamming: Probably some overlap with the above.
- 68000 Tricks and Traps
- A couple 68k tricks
| Yacht | |
| (Yet Another Cycle Hunting Table) | |
| ------------------------------------------------------------------------------- | |
| Forewords : | |
| ------------------------------------------------------------------------------- | |
| This document is based on : | |
| - 9th Edition of M68000 8-16-32-bit Microporcessor User's Manual | |
| (Motorola, 1993) (laterly refered as M68000UM) |
| #!/bin/bash | |
| # Set up a Raspberry Pi 4 as a USB-C Ethernet Gadget | |
| # Based on: | |
| # - https://www.hardill.me.uk/wordpress/2019/11/02/pi4-usb-c-gadget/ | |
| # - https://pastebin.com/VtAusEmf | |
| if ! $(grep -q dtoverlay=dwc2 /boot/config.txt) ; then | |
| echo "Add the line dtoverlay=dwc2 to /boot/config.txt" | |
| exit | |
| fi |
| <!--XSL style sheet to convert EESCHEMA XML Partlist Format to grouped CSV BOM Format | |
| Copyright (C) 2014, Wolf Walter. | |
| Copyright (C) 2013, Stefan Helmert. | |
| Copyright (C) 2018, Kicad developers. | |
| Copyright (C) 2019, arturo182. | |
| GPL v2. | |
| Functionality: | |
| Generation of JLCPCB PCBA compatible BOM |
| Yacht | |
| (Yet Another Cycle Hunting Table) | |
| ------------------------------------------------------------------------------- | |
| Forewords : | |
| ------------------------------------------------------------------------------- | |
| This document is based on : | |
| - 9th Edition of M68000 8-16-32-bit Microporcessor User's Manual | |
| (Motorola, 1993) (laterly refered as M68000UM) |
Sources to go through:
Open regedit.
HKEY_CLASSES_ROOT\Directory\Background\shell if you are an administratorHKEY_CURRENT_USER\Software\Classes\directory\Background\shell if you are a normal user| 1. list all remote tags | |
| git ls-remote --tags | |
| 2. delete local tag | |
| git tag -d V_1_0_1 | |
| 3. push tag deletion to remote | |
| git push origin :refs/tags/V_1_0_1 | |
| 4. tag local branch again |
| # The command finds the most recent tag that is reachable from a commit. | |
| # If the tag points to the commit, then only the tag is shown. | |
| # Otherwise, it suffixes the tag name with the number of additional commits on top of the tagged object | |
| # and the abbreviated object name of the most recent commit. | |
| git describe | |
| # With --abbrev set to 0, the command can be used to find the closest tagname without any suffix: | |
| git describe --abbrev=0 | |
| # other examples |
| -- This allows a more restricted module() style; the key feature | |
| -- is that each module is loaded in a custom environment, and the actual module | |
| -- table is a copy of that environment after initial load. | |
| -- clone _G so that globals from the program don't invade the module | |
| local lua_libs = {} | |
| for k,v in pairs(package.loaded._G) do | |
| lua_libs[k] = v | |
| end |