Skip to content

Instantly share code, notes, and snippets.

@SebHeuze
SebHeuze / my_check.xml
Created June 5, 2023 20:51
SimplifyBooleanExpression checkstyle config
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">
<module name = "Checker">
<property name="charset" value="UTF-8"/>
<!-- do not change severity to 'error', as that will hide errors caused by exceptions -->
<property name="severity" value="warning"/>
@SebHeuze
SebHeuze / httpd-test.sh
Created August 23, 2016 09:18
Correction test rutorrent authentification xmlrpc
#!/bin/sh
# This code is in the public domain.
# This script will check your ruTorrent installation. I make no guarantee that it
# will detect all problems...
#
# It will test the following:
# - RPC mount points are protected (requires password)
# - user1 can't access user2's RPC mount point
# - user1 can access his own RPC mount point