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
def format_time(minutes): | |
hours = minutes // 60 | |
mins = minutes % 60 | |
if hours > 0 and mins > 0: | |
return f"{hours}h{mins}m" | |
elif hours > 0: | |
return f"{hours}h" | |
else: | |
return f"{mins}m" |
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
{ | |
"compilerOptions": { | |
"baseUrl": ".", | |
"outDir": "dist", | |
"target": "ESNext", | |
"useDefineForClassFields": true, | |
"lib": ["DOM", "DOM.Iterable", "ESNext"], | |
"allowJs": true, | |
"skipLibCheck": false, | |
"module": "NodeNext", |
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
{ | |
configFile: '/Users/.../blog-template/tsconfig.server.json', | |
baseUrl: '.', | |
outDir: '/Users/.../blog-template/dist/server', | |
configDir: '/Users/.../blog-template', | |
outPath: '/Users/.../blog-template/dist/server', | |
confDirParentFolderName: 'blog-template', | |
hasExtraModule: false, | |
configDirInOutPath: null, | |
relConfDirPathInOutPath: null, |
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
DISCLAIMER: | |
THIS SOLUTIONS ARE FOR SANE DUDES | |
THOSE WHO STUCK ON MAKEFILES SHOULD IGNORE | |
my solutions: | |
error: use of undeclared identifier 'EINVAL' | |
#include <cerrno> | |
error: use of undeclared identifier 'strerror' |
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
==================== | |
2018-04-07 | |
==================== | |
* device/xiaomi/chiron | |
a6c3d14 chiron: configs: update from MIUI 8.3.29 [Demon Singur] | |
* device/xiaomi/kenzo | |
218d799 kenzo: Guard XiaomiDoze and XiaomiParts packages [Wight554] | |
6c8525c camera: Properly include headers for new HALs' pathmap [Wight554] |