https://github.com/wimpysworld/desktopify https://www.youtube.com/watch?v=umtZuUJOU38 @13:33
These instructions describe how to use a Joulescope with a Raspberry Pi 4 B with 8GB RAM.
| # Copyright 2022 Jetperch LLC | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # Created for https://forum.joulescope.com/t/nans-during-10-minutes-recordings/408 | |
| # Parts provided by user Andersbg, copyright unknown | |
| # Progress: Copyright 2016 Vladimir Ignatev, MIT license (see below) | |
| # Remainder Copyright 2021 Jetperch LLC | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # |
| # Created for https://forum.joulescope.com/t/nans-during-10-minutes-recordings/408 | |
| # Parts provided by user Andersbg, copyright unknown | |
| # Progress: Copyright 2016 Vladimir Ignatev, MIT license (see below) | |
| # Remainder Copyright 2021 Jetperch LLC | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # |
| /* | |
| * Copyright 2021 Jetperch LLC | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
https://github.com/wimpysworld/desktopify https://www.youtube.com/watch?v=umtZuUJOU38 @13:33
These instructions describe how to use a Joulescope with a Raspberry Pi 4 B with 8GB RAM.
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| # Copyright 2019 Jetperch LLC | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| from flask.ext.sqlalchemy import SQLAlchemy | |
| db = SQLAlchemy() | |
| def db_model_repr(self): | |
| """Create a automatic meaningful repr for db.Model classes | |
| Usage example: | |
| class MyClass(db.Model): | |
| __repr__ = db_model_repr | |
| """ |