cd /Library/Preferences
sudo rm com.sophos.sav.plist
cd /Library/Application\ Support/Sophos/cloud/Installer.app/Contents/MacOS/tools/
sudo ./InstallationDeployer —force_remove
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <selector xmlns:android="http://schemas.android.com/apk/res/android"> | |
| <item android:state_enabled="false" | |
| android:color="@color/flat_disabled_text"/> | |
| <item android:color="@color/flat_normal_text"/> | |
| </selector> |
I screwed up using git ("git checkout --" on the wrong file) and managed to delete the code I had just written... but it was still running in a process in a docker container. Here's how I got it back, using https://pypi.python.org/pypi/pyrasite/ and https://pypi.python.org/pypi/uncompyle6
apt-get update && apt-get install gdb
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
| CONTENTS | |
| 100 Decisive Battles | |
| Beth-horon (66) | |
| Milvian Bridge (312) | |
| Adrianople (378) | |
| Châlons (451) | |
| Tricameron (533) | |
| Badr (624) | |
| Constantinople (717–718) |
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
| class TenantAwareManager(Manager): | |
| def get_queryset(self): | |
| tenant_id = current_tenant_id() | |
| # If the manager was built from a queryset using | |
| # SomeQuerySet.as_manager() or SomeManager.from_queryset(), | |
| # we want to use that queryset instead of TenantAwareQuerySet. | |
| if self._queryset_class != QuerySet: | |
| return super().get_queryset().filter(tenant__id=tenant_id) |
OlderNewer