Normally weak functions are implemented using either function attributes or pragmas, like this
uint16_t __attribute__((weak)) getValue(void){ ... };
| # All .bat batch files must be saved using DOS/Windows default crlf fline endings. | |
| *.bat text eol=crlf | |
| # Force LF for this one Batch/Bash polyglot | |
| polyglot.bat text eol=lf | |
| # NOTE: If the file already exists in the repository, apply the rule and fix the working tree: | |
| #git add --renormalize polyglot.bat | |
| #git commit -m "Normalize line endings for polyglot.bat to LF" |
This userscript addresses a persistent issue with the new Reddit interface that specifically affects the r/userscripts subreddit. The problem prevents users from accessing the post editor or submitting posts in browser-based versions of Reddit. Instead, users encounter Reddit's "Page not found" error page, even though the URL for the post editor appears to be correct.
The issue has been observed across multiple platforms and browsers, including MacBook, PC, and mobile devices, and persists regardless of the network used (e.g., home Wi-Fi or mobile data). Interestingly, other subreddits are unaffected, and posting via the Reddit mobile app works without issues. It was eventually discovered that switching to the old Reddit interface resolves this problem.
This userscript modifies the "Create Post" button on the r/userscripts subreddit to redirect users to the old Reddit interface for creating posts.
This userscript adds a convenient hotkey p to YouTube, which opens the Save to Playlist dialog on the currently playing video. It also sorts and filters your playlists in a more useful way. Just the way it should have been fron the start.
| param ( | |
| [string]$BinaryFile, | |
| [string]$SearchString, | |
| $Offset = 0, | |
| $ExtractInt = $null, | |
| $CalcCRC = $null, | |
| $WriteCRC_SE = $null, | |
| $WriteCRC_BE = $null, | |
| $MaxCount = $null, | |
| [switch]$Help = $false, |
| param ( | |
| [string]$HexFile, | |
| [string]$SearchString, | |
| $Offset = 0, | |
| $ExtractInt = $null, | |
| $MaxCount = $null, | |
| [switch]$Help | |
| ) | |
| # To disable these debug outputs, comment the lines below. |
| param ( | |
| [string]$HexFile, # Path to the HEX file | |
| [string]$SearchString, # The string to search for | |
| $Offset = 0, # Optional address offset (default is 0) | |
| [switch]$Help # Optional help switch | |
| ) | |
| # Display help and exit if -help is provided | |
| if ($Help) { | |
| Write-Host "For lack of a better tool, FindIHexString is a quickly hacked together script that searches through" |
This code is tested on the RX651 Test board, with the R5F565NEDDFP MCU,
Compiled using CC-RX v3.06.00, and utilizing r_bsp 7.42 and r_flash_rx v5.11
It is expected that this code can be used on at least other RX MCU's from Renesas.
Not all of the tested features are expected to work on all of the various RX MCU's.