Skip to content

Instantly share code, notes, and snippets.

@xnumad
xnumad / Habbo packet structures.md
Last active December 21, 2020 12:30
Collection or library of Habbo packet structures

Outdated, refer to the client source code instead: https://github.com/xnumad/HabboSwfOpenSource

This collection of packet structures for the game Habbo is intended to be an extension of Deadman's existing packet structure collection at https://www.sngforum.info/showthread.php?tid=5513.

I did not commit the newly found structures of packets to his thread in the forum because I think having it here is more suitable; you can easily add your own packet structures by commenting (or forking, but I don't know if that's good for this case) and don't have to wait for your packet structure being added to the collection by a maintainer.

This however does not reach my intended goal to have all packet structures collected by many contributors in a central, single, clear and overseeable place, but I do not know of any better way to achieve my goal. (A GitHub repository may be one but I almost have no experience with these and they seem to be made for multiple files. JSON maybe is also a good way to store these and the

@xnumad
xnumad / Official Google URLs with old Google logo.md
Last active May 26, 2020 09:44
Collection of (company-affiliated) URLs hosted by Google still showing an old Google logo

Comment below

@xnumad
xnumad / framework-res.apk interesting files.md
Created October 11, 2018 15:48
Free documentation of interesting files at /system/framework/framework-res.apk in Android file system

Android Open Source Project via Custom Rom "Unlegacy Android Project" Version 8.1 You may also find other interesting files, commenting your finds below is highly appreciated.

This paragraph's paths (except for the quotes/comments) refer to framework-res.apk→ (a path inside the archive /system/framework/framework-res.apk which you can open by renaming the file extension to ZIP) assets/images/android-logo-*.png

contains android bootanimation if you delete the usual one at /system/media/bootanimation.zip

res/raw/fallbackring.ogg

@xnumad
xnumad / google-takeout-missing-services
Last active April 6, 2023 16:05
Google Takeout/Takeaway/"Download Your Data" missing/unavailable services/data listing
You may consider requesting the listed services to be available for export at https://support.google.com/accounts/contact/takeout_feedback (page was linked at the bottom on https://support.google.com/accounts/answer/3024190) but I doubt it will be of any importance for Googlers.
Please provide service URL or steps to view/see the data if you want to add a service to this list.
The goal and intention of Google Takout could be to offer the ability to export all in the Google account saved data as stated here
This list already includes mentioned services in the article "What Your Takeout Order Does Not Include" at https://www.pcworld.com/article/255920/liberating_your_data_from_google_and_what_that_really_means.html
Google Maps contributions
Google Maps likes and dislikes of reviews
Google Translate phrasebook
@xnumad
xnumad / windows-visual-effects-smooth-scrolling-chromium.md
Last active August 13, 2019 13:34
Affect of Windows visual effects setting on smooth scrolling in Chromium

Command: sysdm.cpl ,3 -> Edit Visual Effects -> "Animate controls and elements inside windows"

off on
Chrome scrolling hard smooth

Firefox's behaviour is not affected by this setting but controlled by the "Use smooth scrolling" option in its browser options about:preferences#general

@xnumad
xnumad / blogger-google+.md
Last active April 3, 2019 22:39
Blogger Google+ comments integration analysis

Blogger account linked with Google+ = Your Blogger account is linked to the respective (your) Google+ profile (both are in the same Google account and if you link them, Blogger automatically uses the Google+ profile in your Google account)

Blogger profile data = display name (changeable), profile photo (changeable, removable), publicly displayed email adress (changeable, hideable), username (unchangeable, the email adress of your Google account, not displayed publicly)

Blogger comment mode = Use Google+ Comments on this blog set to No

Google+ comment mode = Use Google+ Comments on this blog set to Yes

| Comment type | General note

@xnumad
xnumad / kde-plasma-reset-favorites.md
Last active April 16, 2019 10:27
KDE Plasma reset favorites

Problem

Favorite applications in the start/application menu are missing in KDE Plasma and you can't add any as they won't appear as favorites.

Solution

Troubleshoot by running kbuildsycoca5 --noincremental in a terminal to read the output and repeat until there is no error. The approaches to different error types are listed below.

1. File is missing

Copy it from /etc/xdg/menus/:

@xnumad
xnumad / linux-permanently-set-cpufreq-scaling_governor.md
Last active July 10, 2019 00:28
Linux permanently set cpufreq scaling_governor

Problem

/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor contains "powersave" but the file scaling_available_governors in the same folder implies that a performance governor is available. Changing the contents of the first file will not persist reboots. Same applies for all (virtual) cpu cores named cpuX in /sys/devices/system/cpu/.

Solution

  1. Install the package cpufreqd (on Arch Linux via the AUR)

  2. Enable the service to start on boot

@xnumad
xnumad / pre-installed-chrome-extensions
Last active April 16, 2024 10:22
Simplest way to get rid of pre-installed Chrome extensions
Sadly, the usual uninstallers of those programs DO NOT remove their "enforcement of pre-installing" extensions into Google Chrome web browser. ("Another program on your computer added an extension that may change the way Chrome works.")
This guidance only contains instructions for Google Chrome.
Enter about://extensions into the adress bar of Google Chrome.
Click on "Details" for the respective extension you want to stop from being pre-installed.
Copy the extension ID from the URL (the text after "id=").
Now remove all these in the registry existing keys at the following paths:
- HKEY_LOCAL_MACHINE\SOFTWARE\Google\Chrome\Extensions\<id>
- HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Google\Chrome\Extensions\<id>
- HKEY_CURRENT_USER\SOFTWARE\Google\Chrome\Extensions\<id>
@xnumad
xnumad / list-file-compare.sh
Last active May 1, 2020 22:00
Check if files in list (TXT) do exist (and which files don't exist)
#!/bin/bash
input="$1" #The file to read from given as first argument
#File content looks like this:
#/a.txt
#/subdir/b.txt
#File needs to have a newline at the end to have the last line processed!
while IFS= read -r line #Repetitively read lines
do