- Add the font file as an asset to all platforms.
- Find the names of the icons you want to use at https://fortawesome.github.io/Font-Awesome/icons/
- Use them with inline XAML or DataBinding - A corresponding mapping for FontAwesome 4.5 icons is attached (FontAwesomeMapping.cs) as well as a python script to generate this mapping from the FontAwesome css file (create_unicode_mapping.py).
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
{"error_message": "int() argument must be a string or a number, not 'list'", "traceback": "Traceback (most recent call last): | |
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/tastypie/resources.py", line 178, in wrapper | |
response = callback(request, *args, **kwargs) | |
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/tastypie/resources.py", line 379, in dispatch_list | |
return self.dispatch('list', request, **kwargs) | |
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/tastypie/resources.py", line 409, in dispatch | |
response = method(request, **kwargs) |
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
## Do this on each swarm-node | |
# store containers attached to the bridge | |
$ gwbridge_users=$(docker network inspect --format '{{range $key, $val := .Containers}} {{$key}}{{end}}' docker_gwbridge | \ | |
$ xargs -d' ' -I {} -n1 docker ps --format {{.Names}} -f id={}) | |
# stop all containers | |
# if you have stacks that restart automatically, remove them via docker stack <stackName> rm | |
$ echo "$gwbridge_users" | xargs docker stop | |
$ docker network rm docker_gwbridge | |
$ docker network disconnect -f docker_gwbridge gateway_ingress-sbox |
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
2019-01-07 19:54:51,558 - octoprint.startup - INFO - ****************************************************************************** | |
2019-01-07 19:54:51,561 - octoprint.startup - INFO - Starting OctoPrint 1.3.10 | |
2019-01-07 19:54:51,563 - octoprint.startup - INFO - ****************************************************************************** | |
2019-01-07 19:54:51,714 - octoprint.plugin.core - INFO - Loading plugins from /usr/local/lib/python2.7/dist-packages/OctoPrint-1.3.10-py2.7.egg/octoprint/plugins, /data/octorpint-data/plugins and installed plugin packages... | |
2019-01-07 19:54:54,705 - octoprint.plugins.discovery - INFO - pybonjour is not installed, Zeroconf Discovery won't be available | |
2019-01-07 19:54:54,720 - octoprint.plugin.core - INFO - Found 23 plugin(s) providing 23 mixin implementations, 33 hook handlers | |
2019-01-07 19:54:54,725 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval | |
2019-01-07 19:54:55,233 - octoprint.server - INFO - Intermediary server started | |
2019-01-07 19 |
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
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/id_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/github_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/mozilla_rsa |
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
#!/bin/bash | |
# requires cputhrottle and pidof | |
# $ sudo port intall cputhrottle pidof | |
# or | |
# $ brew install cputhrottle pidof | |
# Run cputhrottle for a list of applications in order to limit their CPU usage. | |
# This script needs `pidof` and `cputhrottle` installed, which can be installed from homebrew. |
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
#!/bin/bash | |
# PlantUML has "a lot of issues" with graphviz greater 2.38.0 (screwed up layouts and more, check the official PlantUML site) | |
# so we need to get the old port file | |
# I tested this with Mac OS 10.15.6 | |
# the update to 2.40.1 was done by this commit https://github.com/macports/macports-ports/commit/937422eaee9e592a79b631ee20cecdbbe33a7375, so the parent on the master is c11df6b3e4867171fff9438ba499e20f31b449e8 | |
# uninstall the current version first - note this might break other things ;-) | |
sudo port uninstall graphviz |
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
#!/bin/bash | |
MS_TEAMS_PATH="/Applications/Microsoft\ Teams.app" | |
echo "Going to remove the MS teams signature from MS teams to allow detection by the MS Teams CoreMediaIO plugin ..." | |
echo "See https://answers.microsoft.com/en-us/msteams/forum/msteams_tfb-msteams_tfmac/microsoft-teams-mac-os-client-is-not-recognizing/d9e863be-d9a4-4d03-a4b8-1b5c7df58828 for details." | |
echo "Expecting xcode-select --install has been executed after the latest major MacOS update ..." | |
sudo codesign --remove-signature "/Applications/Microsoft Teams.app" &&\ | |
sudo codesign --remove-signature "/Applications/Microsoft Teams.app/Contents/Frameworks/Microsoft Teams Helper.app" &&\ |
This is a minimal sql query to extract the most important information of the FilamentManager OctoPrint Plugin's sqlite datbase file to a SpoolManager importable CSV file.
Steps:
- The FilamentManager database file can be extracted from an OctoPrint backup (zip-)file. The path in the backup file shoud be
basedir/data/filamentmanager/filament.db
. - Use a tool like (DB Browser for SQLite)[https://sqlitebrowser.org/dl/] (or similar) to open the FilamentManager database file
- Execute
convert_filamentmanager_db_to_spoolmanager.sql
and export the result as CSV. - Use the SpoolManager import function with the exported CSV (From OctoPrint settings).
Broadcasts are messages that the Android system and Android apps send when events occur that might affect the functionality of other apps. For example, the Android system sends an event when the system boots up, when power is connected or disconnected, and when headphones are connected or disconnected. Your Android app can also broadcast events, for example when new data is downloaded.
In general, broadcasts are messaging components used for communicating across apps when events of interest occur. There are two types of broadcasts:
- System broadcasts are delivered by the system.