This file contains 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
[misc] | |
display_opt = SHOW_TOWN_NAMES|SHOW_STATION_NAMES|FULL_ANIMATION|FULL_DETAIL|WAYPOINTS|SHOW_COMPETITOR_SIGNS | |
news_ticker_sound = true | |
fullscreen = false | |
graphicsset = "original_windows" | |
soundsset = "NoSound" | |
musicset = "NoMusic" | |
videodriver = | |
sounddriver = |
This file contains 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
BasedOnStyle: LLVM | |
AccessModifierOffset: -8 | |
AlignEscapedNewlinesLeft: true | |
#AllowShortCaseLabelsOnASingleLine: true | |
AllowShortFunctionsOnASingleLine: Empty | |
AllowShortIfStatementsOnASingleLine: true | |
AllowShortLoopsOnASingleLine: true | |
AlwaysBreakTemplateDeclarations: true | |
BreakBeforeBraces: WebKit | |
BreakBeforeBinaryOperators: All |
This file contains 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
# fmt: off | |
properties = [ | |
# Feature 0x00 - Trains | |
{ | |
**general_veh_props, | |
"track_type": {"size": 1, "num": 0x05}, | |
"ai_special_flag": {"size": 1, "num": 0x08}, | |
"speed": {"size": 2, "num": 0x09, "unit_type": "speed", "unit_conversion": (5000, 1397), "adjust_value": lambda val, unit: ottd_display_speed(val, 1, 1, unit)}, | |
# 09 doesn"t exist | |
"power": {"size": 2, "num": 0x0B, "unit_type": "power"}, |
This file contains 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
null | |
Discard all samples (playback) or generate zero samples (capture) | |
pipewire | |
PipeWire Sound Server | |
hdmi:CARD=HDMI,DEV=0 | |
HDA Intel HDMI, HDMI 0 | |
HDMI Audio Output | |
hdmi:CARD=HDMI,DEV=1 | |
HDA Intel HDMI, HDMI 1 | |
HDMI Audio Output |
This file contains 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
diff --git a/src/cmd_helper.h b/src/cmd_helper.h | |
index 115b0e1cff..e994c0e91e 100644 | |
--- a/src/cmd_helper.h | |
+++ b/src/cmd_helper.h | |
@@ -9,7 +9,7 @@ | |
template<uint N> static inline void ExtractValid(); | |
-template<> static inline void ExtractValid<1>() {} | |
+template<> inline void ExtractValid<1>() {} |
This file contains 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
let output = loop { | |
let res = mach.run(); | |
if res != Some(0) { | |
break res; | |
} | |
}; |
This file contains 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 python3 | |
import os | |
from setuptools import Extension, find_packages | |
if os.name == 'nt': | |
from cx_Freeze import setup, Executable | |
else: | |
from setuptools import setup |
This file contains 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
drwxr-xr-x lordaro/lordaro 0 2019-10-19 21:59 ./ | |
drwxr-xr-x lordaro/lordaro 0 2019-10-19 21:59 ./usr/ | |
drwxr-xr-x lordaro/lordaro 0 2019-10-19 21:59 ./usr/lib/ | |
drwxr-xr-x lordaro/lordaro 0 2019-10-19 21:59 ./usr/lib/python3.7/ | |
drwxr-xr-x lordaro/lordaro 0 2019-10-19 21:59 ./usr/lib/python3.7/site-packages/ | |
drwxr-xr-x lordaro/lordaro 0 2019-10-19 21:59 ./usr/lib/python3.7/site-packages/nml/ | |
-rw-r--r-- lordaro/lordaro 675 2019-10-19 21:38 ./usr/lib/python3.7/site-packages/nml/__init__.py | |
drwxr-xr-x lordaro/lordaro 0 2019-10-19 21:59 ./usr/lib/python3.7/site-packages/nml/__pycache__/ | |
-rw-r--r-- lordaro/lordaro 807 2019-10-19 21:59 ./usr/lib/python3.7/site-packages/nml/__pycache__/__init__.cpython-37.pyc | |
-rw-r--r-- lordaro/lordaro 171 2019-10-19 21:59 ./usr/lib/python3.7/site-packages/nml/__pycache__/__version__.cpython-37.pyc |
This file contains 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
drwxr-xr-x lordaro/lordaro 0 2019-10-19 21:55 ./ | |
drwxr-xr-x lordaro/lordaro 0 2019-10-19 21:55 ./usr/ | |
drwxr-xr-x lordaro/lordaro 0 2019-10-19 21:55 ./usr/bin/ | |
lrwxrwxrwx lordaro/lordaro 0 2019-10-19 21:55 ./usr/bin/nmlc -> ../lib/nml-2019-10-19-g58a34844M/nmlc | |
drwxr-xr-x lordaro/lordaro 0 2019-10-19 21:55 ./usr/lib/ | |
drwxr-xr-x lordaro/lordaro 0 2019-10-19 21:55 ./usr/lib/nml-2019-10-19-g58a34844M/ | |
drwxr-xr-x lordaro/lordaro 0 2019-10-19 21:55 ./usr/lib/nml-2019-10-19-g58a34844M/lib/ | |
drwxr-xr-x lordaro/lordaro 0 2019-10-19 21:55 ./usr/lib/nml-2019-10-19-g58a34844M/lib/PIL/ | |
-rw-r--r-- lordaro/lordaro 2349 2019-10-19 21:55 ./usr/lib/nml-2019-10-19-g58a34844M/lib/PIL/BdfFontFile.pyc | |
-rw-r--r-- lordaro/lordaro 10432 2019-10-19 21:55 ./usr/lib/nml-2019-10-19-g58a34844M/lib/PIL/BlpImagePlugin.pyc |
This file contains 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
<?php | |
use \MediaWiki\Auth\AuthManager; | |
class URYAuthenticator extends PluggableAuth { | |
const API_KEY = '<snip>'; | |
const API_ROOT = 'https://ury.org.uk/api/'; | |
private function myradioAPIRequest($path, $params = [], $method = 'GET') { |
NewerOlder