BAT 脚本:根据 EXIF 信息分类照片
本脚本会扫描当前目录下的 JPG/HEIF 照片,根据 EXIF 信息将它们分类到不同的目录:
1 | @echo off |
喜马拉雅 xm 文件解密逆向分析 [Electron]
本文搬运自:https://www.aynakeya.com/articles/ctf/xi-ma-la-ya-xm-wen-jian-jie-mi-ni-xiang-fen-xi
前言
说点前言,但是我又不知道说啥了。
由于最近突然喜欢在做事情的时候开个有声小说,于是我就把喜马拉雅这个软件重新下载了下来,并小冲了一个会员。
我注意到喜马拉雅这个客户端同时具有下载的功能,小小的尝试了一下,发现下载下来的文件为.xm文件格式。这个格式属于一种加密的格式,除了喜马拉雅客户端之外都不能播放。
什么,加密的?这怎么能忍。
仅限于学习交流使用,本文作者不负任何其他责任
Disclaimer: Only used for educational purpose.
动态分析
Electron自带的参数可以很好的帮助我们对electron程序进行动态分析。
electron在运行的时候一般会有两个process。一个为main process,另外一个为render process
在调试这个程序的时候,主要需要调试的main process。 所以我们可以加上--enable-logging来显示main process中console.log的内容。
同时,我们也可以用--inspect=9000 + chrome v8 debugger 的方式进行调试。
Unity 2022.3.62f2
Manual installs
Operating systems
Other installs
Unity 6000.3.17f1
Manual installs
Operating systems
+
Other installs
Rich Text, TextMesh Pro Documentation
Rich Text
You can use rich text tags to alter the appearance and layout of your text. These tags work like HTML or XML tags, but have less strict syntax.
A tag looks like <tag>. Many tags operate on a scope, which you can end with </tag>. Such scopes can be nested, and you don’t have to close them in the same order that you started them.
Some tags have values and attributes, like <tag=value> and <tag attribute=value>. These arguments are either names or numeric values. Numbers are either regular decimal numbers, pixels like 1px, percentages like 80%, font units like 1.2em, or hexadecimal color values like #FF. Names can be either with or without double quotes, but if there are more attributes, it’s best to use quotes.
Tags plus their attributes can be up to 128 characters long. This limitation shouldn’t be an issue, unless you’re using very long string attributes.
Tag Overview
| Tags | Summary |
|---|---|
| align | Text alignment. |
| alpha, color | Color and opacity. |
| b, i | Bold and italic style. |
| cspace | Character spacing. |
| font | Font and material selection. |
| indent | Indentation. |
| line-height | Line height. |
| line-indent | Line indentation. |
| link | Text metadata. |
| lowercase, uppercase, smallcaps | Capitalization. |
| margin | Text margins. |
| mark | Marking text. |
| mspace | Monospacing. |
| noparse | Prevent parsing. |
| nobr | Non-breaking spaces. |
| page | Page break. |
| pos | Horizontal caret position. |
| size | Font size. |
| space | Horizontal space. |
| sprite | Insert sprites. |
| s, u | Strikethrough and underline. |
| style | Custom styles. |
| sub, sup | Subscript and superscript. |
| voffset | Baseline offset. |
| width | Text width. |
adb 命令笔记
adb 命令
adb devices
列出当前链接adb的设备1
2
3$ adb devices
List of devices attached
emulator-5558 deviceadb pair {ip}:{port}
配对指定ip和端口的adb设备,使用connect前需要先执行pair
手机端需要打开 开发者选项 / 无线调试 / 使用配对码配对设备1
2
3$ adb pair 172.16.12.140:38617
Enter pairing code: ******
Successfully paired to 172.16.12.140:38617 [guid=adb-********-******]adb connect {ip}:{port}
连接指定ip和端口的adb设备1
2$ adb connect 172.16.12.140:43357
connected to 172.16.12.140:43357adb disconnect
断开所有连接adb的设备1
2$ adb disconnect
disconnected everything
Unity Hub 跳过登录
Singleton - Unify Community Wiki
Singleton
[TOC]
Alternatives
Scriptable Objects
One excellent alternative to the singleton pattern in Unity is the use of ScriptableObjects as a type of global variable. Ryan Hipple from Schell Games gave a presentation at Unite Austin 2017 titled Game Architecture with Scriptable Objects that explains how to implement them and the many advantages over singletons.
Toolbox
The “Toolbox“ concept improves upon the singleton pattern further by offering a different approach that makes them more modular and improves testability.
Aseprite 白嫖编译指南
本文参考:Aseprite终极白嫖教程
0. 前言
叠甲:以下会有一大段介绍(其实就是废话时间)。如果前期准备都完成了,想直接看编译指南的话可以跳转到编译部分,本文仅包含Windows的编译(别问,问就是买不起Mac)。

Aseprite是一种专有的,源可用的图像编辑器,主要用于像素画图和动画。它可以在Windows,macOS和Linux上运行,并具有用于图像和动画编辑的不同工具,例如图层,框架,tilemap支持,命令行界面,Lua脚本等。
原文来自:Aseprite 维基百科
- 使用Aseprite可以更便捷的做出像素风格的图片及Gif

根据官方推荐软件在Windows平台运行至少要120MB内存和40MB的存储空间(都2202年了我不信有电脑跑步起来🤣)。
当然作为种花家的白嫖党们,肯定希望能够白嫖获得如此好用的软件。官方很贴切的提供了开源代码,方便学生党、白嫖党以及经济能力不足人来使用
Aseprite。并且官方贴心地还在其FAQ中特地指出,即使是自行编译的版本(就是下面要介绍的白嫖版本)所产出的作品都可以用于个人或商业使用。原文:Yes, you can use your own creations (sprites, animations, graphics, assets, etc.) in any product (personal or commercial) you want. Even with compiled versions of Aseprite you can create art for your personal/commercial purposes.
所以白嫖党们可以放心使用。如果很喜欢这个软件,并且想支持一下开发者,完全可以先上车后补票。