Skip to content

Instantly share code, notes, and snippets.

View JTBrinkmann's full-sized avatar

Jan-T. Brinkmann JTBrinkmann

  • Stralsund, Germany
View GitHub Profile
@JTBrinkmann
JTBrinkmann / svg-scaler.html
Created January 31, 2020 15:13
small tool to resize SVGs internal coordinates
<!DOCTYPE html>
<style>
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
@JTBrinkmann
JTBrinkmann / clean-android-logger.bat
Created January 31, 2020 15:07
small script to disable log messages with specified tags; gets reset on reboot
adb shell "for tag in libpersona Zygote SELinux; do setprop log.tag.$tag ASSERT; done; for tag in ViewRootImpl InputTransport zygote InputMethodManager MDO Proxy InstantRun OpenGLRenderer Surface libGLESv1 mali_winsys vndksupport AssistStructure TimaKeyStoreProvider ActivityThread InputEventReceiver chatty AbsListView chatty; do setprop log.tag.$tag WARN; done"
@JTBrinkmann
JTBrinkmann / _extras.ps1
Last active April 20, 2019 17:22
configure a new Windows profile
# extra commandline utils
scoop install imagemagick python python2 bat caddy cmder dos2unix ffmpeg jq php sed
# extra GUI apps
scoop install jetbrains-toolbox gitkraken gimp atom sharex vlc autohotkey
# manually install whatever you need (e.g. Android Studio, IntelliJ, PHP-Storm)
jetbrains-toolbox
# install more programs using Chocolatey
@JTBrinkmann
JTBrinkmann / wsl-toast.sh
Last active January 7, 2019 11:55
small bash function to trigger a toast notification under Bash on Windows; e.g. at the end of a long running task
toast() {
powershell.exe -NoProfile -C "if (Get-Module -ListAvailable -Name BurntToast) { toast -t \"$*\" } else { echo 'Please run \`Install-Module -Name BurntToast\` in a Powershell as administrator'; echo \"$*\" }"
}
toast_title_body() {
toast $1\", \"$2
}
longrunning() {
start=`date +%s`
$*

Years after my parents got a divorse, my father found another woman who was a nerd and had hundreds of video games. She collected the CDs from that one gaming magazine Computer BILD Spiele. ("Spiele" = "games") That's how I became aware of the magazine. It regularly came with many small and often one full game (mostly older ones, though). Hence, I regularly got myself the magazine as I didn't have the money for 40€+ retail games

I became obsessed with those magazines. When relatives asked me what they could get me as presents, I was often lost, not knowing what to wish for

(except for that one time, at bandcamp, when ALL I wanted as a Wii) (which ofc I didn't get)

So I often casually suggested that they could get me a current edition of that magazine. As it is cheap, they usually liked that idea

#user-friends .image {
display: none;
}
#user-friends .list .row {
width: 180px !important;
height: 40px;
clear: both;
display: inline-block;
float: none;
.post > tbody {
display: flex;
flex-direction: column-reverse;
}
.post_controls .postbit_buttons > a {
display: inline;
border: none;
background: none;
color: #999;
@JTBrinkmann
JTBrinkmann / must-have-tools_windows.txt
Created July 26, 2016 18:22
Brinkie Pie's List of Must-Have Tools (Windows)
== Brinkie Pie's List of Must-Have Tools (Windows) ==
List is optimized for Win8 and above.
My list for older versions of Windows would have the exact same tools, but also a few more to cover features that are now built-in in Windows 8 and above.
note: since Windows 8, apps cannot make themselves default for certain filetypes anymore. Instead, you have rightclick a file of each desired type and select "open with" to make the app default. For some well configured applications, you can also use Default Programs in the settings.
= Look'n'Feel =
Screen Dimmer:
- f.lux
https://justgetflux.com/

How to install Pokemon Go on Android

1. download: you can also get clean downloads from apkmirror.com and apkpure.com

2. verify: make sure you didn't download malware. the 3 linked sites all offer a clean app download, and the malware infected ones are probably just floating around some shady forums, but just to be sure:

2.1 find out the Pokemon Go apk hash (usually md5 or sha1) finding md5 hash

look for some hash that is posted on some other, unrelated website (e.g. if you download from apkpure.com, don't necessarily trust the hash that apkpure.com tells you)

@JTBrinkmann
JTBrinkmann / best plug.dj avatar hax.js
Created July 5, 2016 21:04
requireID last updated on 2016-07-04
a=require("d2f19/ae79a/f1afc/d2163")
a.imageMap.replaceAll("#audience-canvas")
r=Math.random
a.getRGB_=a.getRGB_||a.getRGB
a.getRGB=function(){return {r: ~~(r()*255), g: ~~(r()*255), b: ~~(r()*255)}}
a.refresh()