Skip to content

Instantly share code, notes, and snippets.

💭
Life

Efreak Efreak

💭
Life
View GitHub Profile
@Efreak
Efreak / _bookerly.css
Created Jul 2, 2020
Bookerly font-face rules
View _bookerly.css
@font-face {
font-family: 'Bookerly';
src: url('https://rawcdn.githack.com/skotzko/oldblog/c34be5396747ab36b352ec48b964e3e8548d5e37/scss/fonts/bookerly/Bookerly-Regular.eot'); /* IE9 Compat Modes */
src: url('https://rawcdn.githack.com/skotzko/oldblog/c34be5396747ab36b352ec48b964e3e8548d5e37/scss/fonts/bookerly/Bookerly-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('https://rawcdn.githack.com/skotzko/oldblog/c34be5396747ab36b352ec48b964e3e8548d5e37/scss/fonts/bookerly/Bookerly-Regular.woff') format('woff'), /* Pretty Modern Browsers */
url('https://rawcdn.githack.com/skotzko/oldblog/c34be5396747ab36b352ec48b964e3e8548d5e37/scss/fonts/bookerly/Bookerly-Regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('https://rawcdn.githack.com/skotzko/oldblog/c34be5396747ab36b352ec48b964e3e8548d5e37/scss/fonts/bookerly/Bookerly-Regular.svg#svgFontName') format('svg'); /* Legacy iOS */
font-weight: normal;
font-style: normal;
}
View Neko.txt
06-16 02:15:03.773 D/BaseController:30(13924): Attach view for RecentsController@f2e0bdd
06-16 02:15:03.774 D/BaseController:30(13924): Attach view for RecentsController@f2e0bdd
06-16 02:15:06.464 E/ResourceType(13924): Style contains key with bad entry: 0x0101056c
06-16 02:15:06.464 E/ResourceType(13924): Style contains key with bad entry: 0x0101058c
06-16 02:15:06.464 E/ResourceType(13924): Style contains key with bad entry: 0x01010605
06-16 02:15:06.486 E/ResourceType(13924): Style contains key with bad entry: 0x0101056c
06-16 02:15:06.486 E/ResourceType(13924): Style contains key with bad entry: 0x0101058c
06-16 02:15:06.486 E/ResourceType(13924): Style contains key with bad entry: 0x01010605
06-16 02:15:06.492 E/ResourceType(13924): Style contains key with bad entry: 0x0101056c
06-16 02:15:06.492 E/ResourceType(13924): Style contains key with bad entry: 0x0101058c
@Efreak
Efreak / tapasfilters.user.js
Created Sep 26, 2019
Tapas comic filters: Click on a genre in a tapas page listing to hide all results of that genre. Click on a comic name to hide just that comic.
View tapasfilters.user.js
// ==UserScript==
// @name Tapas comic filters
// @namespace https://github.com/efreak
// @version 1
// @description Click on a genre in a tapas page listing to hide all results of that genre. Click on a comic name to hide just that comic.
// @author Efreak
// @match https://tapas.io/comics*
// @grant none
// ==/UserScript==
@Efreak
Efreak / apksigner
Last active Dec 27, 2019
apksigner 0.9
View apksigner
#!/usr/bin/env bash
java -Xmx1024M -jar apksigner.jar $@
View README.md

Process chapters downloaded by Tachiyomi into cbz files.

  • Optionally convert to cbz.

  • Requires termux.

  • cd into your Tachiyomi/downloads/SOURCE/TITLE folder before running--the script will identify source and title itself.

  • Note that termux does not have cwebp, it must be compiled/obtained elsewhere.

  • Also consider -near_lossless instead of -lossless.

  • THERE IS NO GUARANTEE THIS WILL WORK, OR THAT IT HAD NO TYPOS (I modified, working around a large number of symlinks and personal scripts I use, as well as changing the comments.

  • You are advised to back up your termux and Tachiyomi before runnin (/data/data/com.termux/files; /sdcard/Tachiyomi/downloads), and test on a single Tachiyomi chapter.

View WildCherry
!
! Generated with :
! XRDB2Xreources.py
!
*.foreground: #dafaff
*.background: #1f1726
*.cursorColor: #dd00ff
!
! Black
*.color0: #000507
@Efreak
Efreak / clip.sh
Created Aug 5, 2019
Termux clip command. Clipboard is set from piped text or from parameters, otherwise it displays the contents. WTFPL.
View clip.sh
#!/usr/bin/env bash
if [ -t 0 -a $# -gt 0 ]; then
termux-clipboard-set "$@"
echo "$@"
elif [ -t 0 ]; then
termux-clipboard-get
else
p=`cat`
echo "$p" | termux-clipboard-set
echo "$p"
@Efreak
Efreak / Comic-sans.reg
Created Jan 1, 2019
Change your system fonts to Comic Sans
View Comic-sans.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"Segoe UI (TrueType)"=""
"Segoe UI Bold (TrueType)"=""
"Segoe UI Bold Italic (TrueType)"=""
"Segoe UI Italic (TrueType)"=""
"Segoe UI Light (TrueType)"=""
"Segoe UI Semibold (TrueType)"=""
"Segoe UI Symbol (TrueType)"=""
You can’t perform that action at this time.