Author: kabouik but all credits to g7
Known issues related to dual-booting, as of 2023-09-10:
- Switching from Droidian to SailfishOS can be done directly on the phone, but from SailfishOS to Droidian requires a computer.
- Nothing else so far, yay.
I have been installing Windows for a long time. Does it get easier? I want to say it gets easier, but it seems like there's always some new wrinkle! These instructions are as much a note to my future self as they may be useful to anyone else.
For me, I was not able to get any exfat-based installs, or even any of the GUI helpers to make this process any more straightforward. Maybe on your target Windows / host OS those helpers will work, but the below process (as of current year) is consistent, and not overly complicated.
Overview:
tar xf wget-1.15.tar.xzbb10_compile from this gist to source folder| #!/usr/bin/env python | |
| ## Tiny Syslog Server in Python. | |
| ## | |
| ## This is a tiny syslog server that is able to receive UDP based syslog | |
| ## entries on a specified port and save them to a file. | |
| ## That's it... it does nothing else... | |
| ## There are a few configuration parameters. | |
| LOG_FILE = 'youlogfile.log' |
| # found this from Armin R. on Twitter, what a beautiful gem ;) | |
| import ctypes | |
| from types import DictProxyType, MethodType | |
| # figure out side of _Py_ssize_t | |
| if hasattr(ctypes.pythonapi, 'Py_InitModule4_64'): | |
| _Py_ssize_t = ctypes.c_int64 | |
| else: | |
| _Py_ssize_t = ctypes.c_int |
| import subprocess | |
| import select | |
| from logging import DEBUG, ERROR | |
| def call(popenargs, logger, stdout_log_level=DEBUG, stderr_log_level=ERROR, **kwargs): | |
| """ | |
| Variant of subprocess.call that accepts a logger instead of stdout/stderr, | |
| and logs stdout messages via logger.debug and stderr messages via | |
| logger.error. |
git branch -m master legacy git branch -m dev master
Set default branch in admin not master.
Delete the remote master branch on GitHub.
git push origin :master
| /* The API controller | |
| Exports 3 methods: | |
| * post - Creates a new thread | |
| * list - Returns a list of threads | |
| * show - Displays a thread and its posts | |
| */ | |
| var Thread = require('../models/thread.js'); | |
| var Post = require('../models/post.js'); |