Skip to content

Instantly share code, notes, and snippets.

View mouyase's full-sized avatar
💻
Working

某亚瑟 mouyase

💻
Working
View GitHub Profile
@mouyase
mouyase / mame-roms1.md
Created January 20, 2024 16:03 — forked from vmartins/mame-roms1.md
MAME download all roms arcade (1/2)
@mouyase
mouyase / Logcat颜色配置.icls
Last active July 31, 2023 13:45
AndroidStudio Logcat颜色配置
<scheme name="Darcula Logcat" version="142" parent_scheme="Darcula">
<metaInfo>
<property name="created">2023-07-31T21:45:04</property>
<property name="ide">AndroidStudio</property>
<property name="ideVersion">2022.3.1.18</property>
<property name="modified">2023-07-31T21:45:07</property>
<property name="originalScheme">Darcula Logcat</property>
</metaInfo>
<attributes>
<option name="LOGCAT_ASSERT_OUTPUT">
@mouyase
mouyase / fix i.pximg.net connect error
Created February 13, 2020 15:14
fix i.pximg.net connect error
Interceptor httpInterceptor = chain -> {
Request request = chain.request();
Response response = chain.proceed(request);
if (response.request().url().toString().contains("https://app-api.pixiv.net")) {
String jsonString = response.body().string();
jsonString = jsonString.replace("https:\\/\\/i.pximg.net", "http:\\/\\/i.pximg.net");
ResponseBody newBody = ResponseBody.create(response.body().contentType(), jsonString);
return response.newBuilder().body(newBody).build();
}
return chain.proceed(request);
@mouyase
mouyase / supervisord.service
Last active February 1, 2020 06:28
supervisord.service put in /usr/lib/systemd/system/
[Unit]
Description=Supervisord Daemon
After=rc-local.service nss-user-lookup.target
[Service]
Type=forking
ExecStart=/usr/bin/supervisord -c /etc/supervisord.conf
[Install]
WantedBy=multi-user.target
@mouyase
mouyase / AndroidQ无法存储文件.md
Last active October 24, 2019 08:39
Android开发踩坑集

AndroidManifest内添加

android:requestLegacyExternalStorage="true"