Skip to content

Instantly share code, notes, and snippets.

@fishchev
fishchev / gradle-remove-package-attrib
Last active September 2, 2024 14:16
Remove package attributre from AndroidManifest as gradle build step (so you don't have to explicitly clone/modify third party modules)
credits: https://github.com/SabriGhazali
source: https://github.com/proyecto26/react-native-inappbrowser/issues/451#issuecomment-2275538714
At project-level, android/build.gradle
allprojects {
subprojects {
afterEvaluate { project ->
if (project.hasProperty('android')) {
project.android {
@fishchev
fishchev / ikvm 8.1.5717.0 for windows
Last active May 6, 2021 13:14
where to get ikvm 8.1.5717.0 and produce binaries for windows
# since ikvm.net site is down there seems to be not a single live mirror of 8.1.5717.0 build,
# but it's still up in ubuntu repos: https://packages.ubuntu.com/bionic/ikvm
# install on 18.04 (wsl works fine) and use as usual, resulting dlls/executables should work fine on windows
sudo apt-get update
sudo apt-get install ikvm
ikvmc greenfield-apps-1.16.1.jar -main:org.verapdf.apps.GreenfieldCliWrapper
# copying IKVM dlls
find /usr -name 'IKVM.OpenJDK.Core'
@fishchev
fishchev / index.html
Last active October 15, 2024 19:17
Minimal page structure/sample to trigger Telegram's IV template for https://teletype.in.
<!DOCTYPE html>
<head>
<title>$title</title>
<meta property="og:site_name" content="$site_name">
<meta property="og:description" content="$description">
<meta property="article:author" content="$author">
<!-- $image_url / link preview image is set using og:image property -->
<!-- <meta property="og:image" content="http://example.com/img.jpeg"> -->
<meta property="telegram:channel" content="@cor_bee">