Skip to content

Instantly share code, notes, and snippets.

View umjammer's full-sized avatar

Naohide Sano umjammer

View GitHub Profile
@umjammer
umjammer / git_move_subtree.md
Last active February 5, 2024 23:56
[git] move subtree inter projects

Git move subtree inter projects

  • at repo-1
cd repo-1
git subtree split -P dir-to-move -b <split>
  • at repo-2
@umjammer
umjammer / uber_jar.md
Last active January 13, 2024 10:09
🚧 [Java] Uber Jar, Fat Jar, Shade, Jars in Jar
@umjammer
umjammer / DeDRM on MacOS Ventura Sonoma.md
Last active November 24, 2023 20:35
[Kindle] DeDRM on MacOS Ventura/Sonoma

DeDRM on MacOS Ventura/Sonoma

we need

  • a emulator image for arm 32bit
  • the old Android Kindle apk
  • adb 1.0.31

A emulator image for arm 32bit

@umjammer
umjammer / DeDRM on MacOS Monterey.md
Last active April 3, 2023 00:04
[Kindle] DeDRM on MacOS Monterey

DeDRM on MacOS Monterey

we need the old Android Kindle apk.

Old Android Kindle apk

  • Kindle version 4.16.0.75 for Android
    • install the apk into the device (emulator android 11 is fine also)
    • execute Kindle.app
    • download contents
@umjammer
umjammer / bing ai chat on chrome.md
Last active March 27, 2023 00:55
[chatgpt] bing ai chat on chrome

Bing AI Chat on Chrome

at 2023-03-27

killing f*ckin font

  • css
@umjammer
umjammer / hs_err_pid92309.log
Created February 7, 2023 16:40
[java] does anyone report a bug attached?
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00000001032daa9d, pid=92309, tid=0x0000000000005603
#
# JRE version: Java(TM) SE Runtime Environment (8.0_341-b10) (build 1.8.0_341-b10)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.341-b10 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# V [libjvm.dylib+0x57aa9d]
#
@umjammer
umjammer / Google App Script foreach.md
Last active November 23, 2022 19:33
[Google App Script] foreach

Google App Script foreach

Spread Sheet

function foreachSampleForSpreadSheet() {
  var sheet = SpreadsheetApp.getActiveSheet();
  var data = sheet.getDataRange().getValues();
  data.forEach(function (row, y) {
 row.forEach (function (cell, x) {
@umjammer
umjammer / epub convert horizontal to vertical.md
Last active October 20, 2023 20:09
[epub] convert horizontal to vertical

[epub] convert horizontal to vertical

edit .opf file

e.g. javanese novels

<spine page-progression-direction="rtl">

Rescue or Forensic Mac APFS Fusion Drive

USE AUTOPSY !!!

NO OTHER CHOICE

IT'S FREE AND OPEN SOURCE

install

@umjammer
umjammer / logging-hell.md
Last active March 20, 2024 20:23
[java] logging hell

Logging Hell

types

  • thin wrapper ... apache-commons-logging, slf4j
  • implementation ... log4j, logback, jul, ...

🧅 thin wrapper

apache-commons-logging 1.2