Skip to content

Instantly share code, notes, and snippets.

View contactjavas's full-sized avatar
🎯
Focusing on MapSteps

Bagus contactjavas

🎯
Focusing on MapSteps
View GitHub Profile
@contactjavas
contactjavas / is_gutenberg_active.php
Created January 5, 2024 03:24 — forked from mihdan/is_gutenberg_active.php
Function to check if Gutenberg is active.
/**
* Check if Gutenberg is active.
* Must be used not earlier than plugins_loaded action fired.
*
* @return bool
*/
private function is_gutenberg_active() {
$gutenberg = false;
$block_editor = false;
@contactjavas
contactjavas / ChangePassword.java
Created August 17, 2023 14:49 — forked from zach-klippenstein/ChangePassword.java
The keystore password on Java keystore files is utterly pointless. You can reset it without knowing it, as shown by this code. Note that private keys are still secure, as far as I know. The JKS implementation is copyright Casey Marshall (rsdio@metastatic.org), and the original source is available at http://metastatic.org/source/JKS.java. I've in…
import java.util.*;
import java.io.*;
import java.security.*;
public class ChangePassword
{
private final static JKS j = new JKS();
public static void main(String[] args) throws Exception
{