Compare commits

..

No commits in common. "6730b1e54e20c6562cf4cddb2d18d2a3fac6364f" and "64f9f490adbedfd2dd5e4b3b75b737e088227c16" have entirely different histories.

7 changed files with 17 additions and 17 deletions

View File

@ -8,7 +8,7 @@ https://archive.ph/zDaV6
- used during Lutron hacking
Tools:
$ sudo apt install adb apktool openjdk-11-jdk-headless zipalign apksigner
$ sudo apt install adb apktool openjdk-11-jdk-headless zipalign
$ locate apktool
- replace apktool with new version:
- https://github.com/iBotPeaches/Apktool/releases
@ -29,23 +29,16 @@ $ apktool d application.apk -o output/
Compile:
$ apktool b output/ --use-aapt2 -o patched.apk
$ zipalign 4 patched.apk patched2.apk
Sign:
- disable verification over USB in developer settings?
- the following just once:
$ keytool -genkey -v -keystore release.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
$ apksigner sign --ks release.keystore patched2.apk
$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore release.keystore patched.apk alias_name
Install:
$ adb install patched2.apk
$ adb install patched.apk
Read logs:
$ adb logcat -c
Old instructions
----------------
$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore release.keystore patched.apk alias_name

View File

@ -56,7 +56,7 @@ CATEGORIES_SAVE_AS = ''
TAGS_SAVE_AS = ''
INDEX_SAVE_AS = 'index.html'
ARTICLE_URL = '{short}'
ARTICLE_URL = '{short}/'
ARTICLE_SAVE_AS = '{short}/index.html'
PAGE_URL = '{slug}'
PAGE_SAVE_AS = '{slug}/index.html'

View File

@ -56,7 +56,7 @@ CATEGORIES_SAVE_AS = ''
TAGS_SAVE_AS = ''
INDEX_SAVE_AS = 'index.html'
ARTICLE_URL = '{short}'
ARTICLE_URL = '{short}/'
ARTICLE_SAVE_AS = '{short}/index.html'
PAGE_URL = '{slug}'
PAGE_SAVE_AS = '{slug}/index.html'

View File

@ -1,2 +1,2 @@
{% block meta %}{% endblock %}<link rel=icon href=data:,>{% block style %}{% endblock %}<pre style=font:unset>{% block content %}
{% block meta %}{% endblock %}<link rel=icon href=data:,>{% block style %}{% endblock %}<pre>{% block content %}
{% endblock %}

View File

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block content %}
Hi, I'm Tanner! I like home automation, privacy, bots,
Python, <a href=d>sensors*</a>, Debian, coffee, and makerspaces.
Python, <a href=d>sensors</a>, Debian, coffee, and makerspaces.
Please sign my <a href=g>Guest Book</a>!

View File

@ -25,7 +25,12 @@
{% endblock %}
{% block info %}
<p><a href="/">Return Home</a></p>
Tanner Collin
<p class="contact-icons">
<a href="mailto:site4@tannercollin.com" rel="noreferrer noopener"><img alt="email" src="/theme/mail.svg" width="20" height="20" /></a>
<a href="https://t.me/tannercollin" target="_blank" rel="noreferrer noopener"><img alt="telegram" src="/theme/telegram.svg" width="20" height="20" /></a>
<a href="https://github.com/tannercollin" target="_blank" rel="noreferrer noopener"><img alt="github" src="/theme/github.svg" width="20" height="20" /></a>
</p>
{% endblock %}
{% block content %}
@ -36,6 +41,7 @@
<div class="content">
{% endif %}
<p><a href="/">← Return to Home</a></p>
<header>
<h1>{{ article.title }}</h1>
<div class="summary">

View File

@ -4,7 +4,7 @@ html {
body {
text-rendering: optimizeLegibility;
font-family: serif;
font: 1.1rem/1.0 sans-serif;
}
a {
@ -120,7 +120,6 @@ pre {
float: left;
width: 8rem;
text-align: right;
white-space: nowrap;
}
.bar .me {
@ -145,7 +144,9 @@ pre {
@media screen and (max-width:36rem) {
.bar {
display: table;
overflow: auto;
margin: auto;
margin-top: -0.5rem;
}