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
import argparse | |
import json | |
import os | |
from jinja2 import Environment, FileSystemLoader | |
def get_args(): | |
def is_file(value): | |
if os.path.isfile(value): return value | |
raise argparse.ArgumentTypeError('file not found') |
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
#!/bin/sh -ex | |
# Configure exercism | |
EXERCISM_DEFAULT_PATH=~/exercism | |
EXERCISM_CONFIG=$PWD/exercism_config | |
exercism --config $EXERCISM_CONFIG configure --silent --dir $PWD | |
exercism --config $EXERCISM_CONFIG configure --silent --key $EXERCISM_API_KEY | |
# Test all exercises |
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
#!/bin/sh -e | |
# desktop | |
osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/Library/Desktop Pictures/Solid Colors/Solid Aqua Blue.png"' | |
defaults write com.apple.screensaver idleTime Never | |
# finder | |
defaults write NSGlobalDomain AppleShowAllExtensions -bool true | |
defaults write com.apple.finder AppleShowAllFiles -bool true | |
defaults write com.apple.finder ShowPathbar -bool true |
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
version = 3.7.4 | |
runner.dialect = scala3 |