| :: This bat file can be used to renew Resharper C# and Resharper C++ every time it runs out | |
| :: It most likely works for all Jetbrains tools, however, I did not test this. | |
| :: I was not able to find the original author for the reg key and the folders that needs to be deleted so if that is you feel free to reach out for credit | |
| @echo off | |
| setlocal enableDelayedExpansion | |
| :confirm | |
| echo Did you stop all Jetbrains services? | |
| echo Jetbrains toolbox AND any other tool using it such as Rider, Visual Studio, ... |
| :: ################################################################ | |
| :: ## 🔥 WinMasterBlocker 🔥 # | |
| :: ################################################################ | |
| :: # Author: https://github.com/ph33nx # | |
| :: # Repo: https://github.com/ph33nx/WinMasterBlocker # | |
| :: # # | |
| :: # This script blocks inbound/outbound network access # | |
| :: # for major apps like Adobe, Autodesk, Corel, Maxon, # | |
| :: # and more using Windows Firewall. # | |
| :: # # |
I'm too lazy to write this as official documentation so I'm transcribing my experiences here for reference.
This is high level and does not cover how to setup your peer, only how to use the API itself.
This is not a tutorial.
If you are just getting started, this tutorial by DevLogLogan is worth watching.
By default, Minecraft Forge does not load dependencies from the classpath unless they are explicitly declared as mods. These steps outline how to remedy this. This guide assumes that:
- You are on ForgeGradle 5 or higher.
- You are on Forge 1.17.1 (37.0.13) or higher.
To configure your Java libraries to be loaded by Forge, you should use the minecraftLibrary configuration provided by ForgeGradle.
You now must make sure to declare your dependencies using minecraftLibrary configuration.
Log4J has a feature called Java Naming and Directory Interface (shortened to JNDI in this document), which allows a Java program to reach out to an external source to gather data.
If you put a section of text containing ${jndi:query} into the log, the Log4J library will try to resolve the query.
This can be combined with the Lightweight Directory Access Protocol (LDAP) to connect to a remote server.
However, because JNDI is built for retrieving data, and JNDI is a Java program, if you put a JNDI query using LDAP into a log, it will connect to the given site, download a file, and then execute it.
This is called Remote Code Execution.
Have a repository on GitHub? Planning on making a repository on GitHub? This checklist is intended to introduce you to various features that may help you make the most of your GitHub repository with specific recommendations for C# repositories.
These are only suggestions.
They may not be appropriate for all repositories.
They are in no particular order.
Click each item to expand for more information.
| using System; | |
| using System.IO; | |
| using System.Threading.Tasks; | |
| using System.Net.Http; | |
| namespace Example | |
| { | |
| public interface IImageDownloader | |
| { | |
| Task DownloadImageAsync(string directoryPath, string fileName, Uri uri); |
| Character code (character) | Duration (ms) | Alias to | Pronounced as |
|---|---|---|---|
| 27 (�) | 656 | None | Escape |
| 33 (!) | 1333 | None | Exclamation mark |
| 35 (#) | 409 | None | Hash |
| 36 ($) | 425 | None | Dollar |
| 37 (%) | 631 | None | Percent |
| 38 (&) | 329 | None | And |
| 43 (+) | 396 | None | Plus |
| 45 (-) | 706 | None | Dash |

