/Applications/Docker.app/Contents/MacOS/com.docker.diagnose check
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
function resetForm() { | |
deleteAllFormResponses() | |
resetFormResponseDestination() | |
} | |
function resetFormResponseDestination() { | |
var form = FormApp.getActiveForm(); | |
var formResponsesSheetId = form.getDestinationId(); | |
var spreadsheet = SpreadsheetApp.openById(formResponsesSheetId); | |
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
import random | |
n = 36 | |
random.randint(pow(10, n - 1), pow(10, n) - 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
#!/bin/bash | |
# shellcheck disable=SC2104 | |
# The following script will setup the project for the first time for local dev | |
# To run the project after setup, use `docker compose up -d` | |
set -e | |
REPO_NAME="$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
import os | |
def main(): | |
makefile_path = os.path.join(os.getcwd(), "Makefile") | |
with open(makefile_path, "r") as makefile: | |
content = makefile.readlines() | |
new_content = "" |
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
import requests | |
class Event: | |
"""An Event that gets triggered when an HTTP event occurs.""" | |
def __init__(self): | |
self._event_handlers = [] | |
def __iadd__(self, handler): |
iMovie only works when run on a filesystem supported by Apple (APFS or macOS Extended). Your NAS most likely isn't running this file system for drives. Follow this guide to be able to run your iMovie library off a NAS.
- Open
Disk Utility
- File -> New Image -> Blank Image
- Use the following settings:
NewerOlder