- Shut down your Mac, then press and hold the power button until "Loading startup options" appear.
- Select "Options"
- In the menu on top of the screen, choose "Utilities" -> "Startup Security Utility".
- Click "Security Policy"
- Select "Reduced Security" and check "Allow user management of kernel extensions from identified developers".
- Reboot
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
# | |
# Testovací cesty jsou nadefinované od řádku 18. | |
# Úplně dole je pak výstup výpočtu | |
# | |
from fare import Trip | |
from fare.calculator.fare_calculator import calculate_best_fare | |
from fare.fare_rules.pid.tickets import tickets | |
start_time="10:00"; |
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
magick mogrify -verbose -format heic -quality 60 *.tif | |
exiftool -tagsfromfile "${JPG_DIR}/%f.jpg" -ext heic . |
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
class Monty { | |
constructor() { | |
this.rightDoor = Math.floor(Math.random()*3); | |
} | |
pickDoor() { | |
this.pickedDoor = Math.floor(Math.random()*3); | |
} | |
revealGoat() { | |
this.revealedDoor = [0,1,2].filter(n => n!=this.rightDoor && n!=this.pickedDoor).reduce((prev, curr) => prev == -1 ? curr : [prev, curr][Math.round(Math.random())], -1); | |
} |
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
# coding: utf-8 | |
# In[1]: | |
import numpy as np | |
from sacred.stflow import LogFileWriter | |
from sacred import Experiment | |
# In[2]: |