Please run this commands on odroid-go advance machine with stock rom( ubuntu 18.04.3 es ).
- build-essential
- gcc
- cmake
- autogen
- autoconf
# https://github.com/Rakashazi/emu-ex-plus-alpha | |
#1. WSL中安装 ubuntu 20.04, 但make无法使用文件内的相对路径,所以需要手动添加include | |
# 如: imagine/bundle/all/src/boost/android-armv7.mk : | |
# ../../ -> include ../../ | |
#2. gradle无法识别相对路径,每个模拟器代码需要做如下变更: | |
# 如: GBA.emu/res/android/proguard.cfg内: | |
# ../../../EmuFramewor -> @<imagine.path>/../EmuFramework | |
#!/usr/local/bin/python3 | |
# -*- coding: utf-8 -*- | |
import sys, os, shutil, zipfile | |
import xml.etree.ElementTree as xmlDoc | |
from enum import Enum | |
ignoreFiles = ['R.txt', 'proguard.txt'] | |
def log(LEVEL, msg): |
Skip to content | |
Search… | |
All gists | |
Back to GitHub | |
@thilong | |
@gdavis gdavis/gist:6670468 | |
Last active 14 hours ago • Report abuse | |
372 | |
116 |
import UIKit | |
class Label: UILabel { | |
var contentInset: UIEdgeInsets = .zero { | |
didSet { | |
invalidateIntrinsicContentSize() | |
setNeedsLayout() | |
} | |
} |
Compile SDL2 from source | |
Christer Solskogen edited this page 21 days ago · 31 revisions | |
Note - If you are running on Raspbian Buster Desktop | |
The instructions below are no longer needed with the latest version of Raspbian Buster, if you are running under the full Desktop. You can just install the SDL2 packages from the official repository in that case, using the following: | |
sudo apt install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev | |
If you want to run the SDL2 version on the Raspberry Pi, you currently need to compile SDL2 from source in order to get support for launching full screen applications from the console. Unfortunately, the version bundled with Buster is not compiled with support for the "kmsdrm" backend, so it only works under X11 (which may be fine for you, but keep in mind that you'll might have some lower performance). | |
Important note: |
search for /usr/share/automake*/config.guess | |
check the latest version of automake | |
$ which automake | |
$ automake --version | |
find the appropriate automake folder in /usr/share/automake.*/config.guess | |
replace config.guess from your build tree with /usr/share/automake.*/config.guess |
var V2Ray = "SOCKS5 127.0.0.1:1081; SOCKS 127.0.0.1:1081; DIRECT;"; | |
var hostExps = [ | |
"redd*it*", | |
"s3.amazonaws*" | |
]; | |
var domains = [ | |
"github.com", | |
"live.com", | |
"s3.amazonaws.com", | |
"vpngate.net", |