git clone https://github.com/osfans/trime --recursive
cd trime
git checkout 436c8fc42af638fdd8744533beec03567ec03c6c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma version(1) | |
#pragma rs java_package_name(com.liewjuntung.image) | |
rs_allocation inImage; | |
int inWidth; | |
int inHeight; | |
float rotation = 0.0f; |
Mailcow is a easy to set up Mailserver running in Docker.
Unfortunately, most ISPs block port 25. In addition to that, residential IP addresses are generally blacklisted, making it impossible to self-host a mailserver at home. Mailcow by itself requires at least 6GB of RAM, which makes hosting it on a VPS rather expensive.
The solution: Running Mailcow at home and tunneling it's traffic through a cheap VPS.
The final setup will look like this:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2020 Eugene Berdnikov | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: | |
# | |
# The above copyright notice and this permission notice shall be included in all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Converts a legacy framework into an xcframework. | |
# Usage: convert-framework.sh input_framework output_xcframework | |
set -euo pipefail | |
E_BADARGS=85 | |
if [ $# -ne 2 ]; then | |
echo "Usage: $(basename $0) framework xcframework" |
Here are the mods I recommend. These are all compatible with the latest versions of SMAPI and Stardew Valley on Linux/macOS/Windows. See the player's guide to using mods if you're interested.
- Content Patcher
The base framework used by over 50% of Stardew Valley mods. - Central Station
Reach many other mods' locations. - Generic Mod Config Menu
Edit mod options in-game without needing to manually editconfig.json
files, for the many mods which support it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Singleton class for default executor supplier | |
*/ | |
public class DefaultExecutorSupplier{ | |
/* | |
* Number of cores to decide the number of threads | |
*/ | |
public static final int NUMBER_OF_CORES = Runtime.getRuntime().availableProcessors(); | |
/* |
-
下载 Nginx 源码包
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NOTE: Easier way is the X86 way, described on https://www.genymotion.com/help/desktop/faq/#google-play-services | |
Download the following ZIPs: | |
ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links) | |
Download the correct GApps for your Android version: | |
Google Apps for Android 6.0 (https://www.androidfilehost.com/?fid=24052804347835438 - benzo-gapps-M-20151011-signed-chroma-r3.zip) | |
Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161891406 - gapps-L-4-21-15.zip) | |
Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip) |