Skip to content

Instantly share code, notes, and snippets.

Avatar

ʞ-uɐʇsıɹʇ tristan-k

View GitHub Profile
@tristan-k
tristan-k / opencore-2020-05-15-204552.txt
Last active May 15, 2020
opencore-2020-05-15-204552.txt
View opencore-2020-05-15-204552.txt
00:000 00:000 OC: OpenCore DBG-058-2020-05-04 is loading in Optional mode (0/0)...
00:021 00:021 OC: Boot timestamp - 2020.05.15 20:45:52
00:042 00:020 OCCPU: MP services threads 8 (enabled 8) - Success
00:063 00:020 OCCPU: MP services Pkg 1 Cores 4 Threads 2 - Success
00:083 00:020 OCCPU: Found Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
00:104 00:020 OCCPU: Signature 506E3 Stepping 3 Model 5E Family 6 Type 0 ExtModel 5 ExtFamily 0 uCode A6
00:146 00:041 OCCPU: Detected Apple Processor Type: 07 -> 0705
00:167 00:021 OCCPU: Ratio Min 8 Max 40 Current 40 Turbo 42 42 42 42
00:190 00:023 OCCPU: TSC Adjust 0
00:211 00:020 OCCPU: Known Model Core Crystal Clock Frequency 24000000Hz
@tristan-k
tristan-k / config.plist
Created May 14, 2020
OpenCore config.plist
View config.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ACPI</key>
<dict>
<key>Add</key>
<array>
<dict>
<key>Comment</key>
View opencore-2020-05-14-194547.txt
00:000 00:000 OC: OpenCore DBG-058-2020-05-04 is loading in Optional mode (0/0)...
00:015 00:015 OC: Boot timestamp - 2020.05.14 19:45:47
00:031 00:015 OCCPU: MP services threads 8 (enabled 8) - Success
00:046 00:015 OCCPU: MP services Pkg 1 Cores 4 Threads 2 - Success
00:061 00:015 OCCPU: Found Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
00:077 00:015 OCCPU: Signature 506E3 Stepping 3 Model 5E Family 6 Type 0 ExtModel 5 ExtFamily 0 uCode A6
00:092 00:015 OCCPU: Detected Apple Processor Type: 07 -> 0705
00:107 00:015 OCCPU: Ratio Min 8 Max 40 Current 40 Turbo 42 42 42 42
00:123 00:015 OCCPU: TSC Adjust 0
00:138 00:015 OCCPU: Known Model Core Crystal Clock Frequency 24000000Hz
@tristan-k
tristan-k / boltctl monitor
Created Apr 24, 2020
thunderbolt 3 issues on x570 with titan ridge aic
View boltctl monitor
$ boltctl monitor
Bolt Version : 0.7
Daemon API : 1
Client API : 1
Security Level: user
Auth Mode : enabled
Ready
DeviceRemoved: /org/freedesktop/bolt/devices/cd010000_0070_7c1e_03fc_5a114cf26121
DeviceAdded: /org/freedesktop/bolt/devices/cd010000_0070_7c1e_03fc_5a114cf26121
DeviceRemoved: /org/freedesktop/bolt/devices/cd010000_0070_7c1e_03fc_5a114cf26121
@tristan-k
tristan-k / EncryptedHomeFolder.md
Created Aug 13, 2019 — forked from chetstone/EncryptedHomeFolder.md
Encrypted APFS Home Folder on Mac OSX
View EncryptedHomeFolder.md

Encrypted APFS Home Folder on Mac OSX

Note: This is an update of Will Haley's excellent post to use APFS instead of CoreStorage.

I'll add to Will's warning below that this is a complex process on MacOS because the OS has a lot of assumptions on where things are. I

View gerbera.io.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>Label</key>
<string>gerbera.io</string>
<key>ProgramArguments</key>
<array>
View dev.py
from .base import *
# WEB SITE URL
THIS_BOOKTYPE_SERVER = '85.214.38.3'
BOOKTYPE_URL = 'http://85.214.38.3'
# BOOKTYPE_URL = 'http://{}'.format(THIS_BOOKTYPE_SERVER)
STATIC_URL = '{}/static/'.format(BOOKTYPE_URL)
DATA_URL = '{}/data/'.format(BOOKTYPE_URL)
@tristan-k
tristan-k / base.py
Last active Jan 24, 2017
cat base.py
View base.py
# -*- coding: utf-8 -*-
import os
from unipath import Path
import djcelery
djcelery.setup_loader()
# DJANGO ADMIN
ADMINS = (
# ('censored', 'censored@censored.de'),
@tristan-k
tristan-k / error.log
Created Jan 24, 2017
cat /var/log/apache2/error.log
View error.log
$ cat /var/log/apache2/error.log
[Tue Jan 24 12:03:28.565032 2017] [mpm_event:notice] [pid 16834:tid 139748292564864] AH00489: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Tue Jan 24 12:03:28.565138 2017] [core:notice] [pid 16834:tid 139748292564864] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jan 24 12:03:30.824836 2017] [mpm_event:notice] [pid 16834:tid 139748292564864] AH00491: caught SIGTERM, shutting down
[Tue Jan 24 12:03:32.156095 2017] [wsgi:warn] [pid 17024:tid 140183461709696] mod_wsgi: Compiled for Python/2.7.8.
[Tue Jan 24 12:03:32.156171 2017] [wsgi:warn] [pid 17024:tid 140183461709696] mod_wsgi: Runtime using Python/2.7.9.
[Tue Jan 24 12:03:32.157446 2017] [mpm_event:notice] [pid 17024:tid 140183461709696] AH00489: Apache/2.4.10 (Debian) mod_wsgi/4.3.0 Python/2.7.9 configured -- resuming normal operations
[Tue Jan 24 12:03:32.157469 2017] [core:notice] [pid 17024:tid 140183461709696] AH00094: Command line: '/usr/sbin/apache2'
@tristan-k
tristan-k / update_permissions.log
Created Jan 24, 2017
./manage.py update_permissions
View update_permissions.log
$ ./manage.py update_permissions
/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py:345: RemovedInDjango110Warning: OptionParser usage for Django management commands is deprecated, use ArgumentParser instead
self.fetch_command(subcommand).run_from_argv(self.argv)
System check identified some issues:
WARNINGS:
?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You must put the values of the following settings into your default TEMPLATES dict: TEMPLATE_DIRS, TEMPLATE_DEBUG.
core.BookRole.members: (fields.W340) null has no effect on ManyToManyField.
core.Role.permissions: (fields.W340) null has no effect on ManyToManyField.