Skip to content

Instantly share code, notes, and snippets.

View palexdev's full-sized avatar

Alessadro Parisi palexdev

View GitHub Profile
--------- beginning of main
07-25 14:54:56.634 587 587 W auditd : type=2000 audit(0.0:1): initialized
07-25 14:54:57.595 587 587 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
07-25 14:54:57.595 587 587 W auditd : type=1404 audit(0.0:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
07-25 14:54:59.396 1 1 W init : type=1400 audit(0.0:4): avc: granted { open } for path="/dev/ipa" dev="tmpfs" ino=17806 scontext=u:r:init:s0 tcontext=u:object_r:ipa_dev:s0 tclass=chr_file
07-25 14:54:59.413 588 588 I SELinux : SELinux: Loaded service_contexts from:
07-25 14:54:59.417 588 588 I SELinux : /system/etc/selinux/plat_service_contexts
07-25 14:54:59.419 589 589 I SELinux : SELinux: Loaded service_contexts from:
07-25 14:54:59.419 589 589 I SELinux : /vendor/etc/selinux/vndservice_contexts
07-25 14:54:59.433 597 597 W /vendor/bin/hw/[email protected]: libminijail[597]: allowing syscall: connect
@palexdev
palexdev / DragResizer.java
Last active December 6, 2021 21:01 — forked from GeoffCapper/DragResizer.java
Update GeoffCapper's DragResizer
package testfx.table.mock;
import javafx.event.EventHandler;
import javafx.geometry.Point2D;
import javafx.scene.Cursor;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.Region;
import java.util.EnumSet;
import java.util.function.Function;
@palexdev
palexdev / GitHubUpdateChecker.java
Created March 16, 2025 01:43
A very simple API to check for updates
import javax.net.ssl.HttpsURLConnection;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URI;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class GitHubUpdateChecker implements UpdateChecker {