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 base64 | |
| import datetime as dt | |
| import json | |
| import os | |
| import sys | |
| from pathlib import Path | |
| from typing import Dict, List, Optional | |
| import jwt # PyJWT |
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 | |
| DEVICES=$(adb devices | wc -l) | |
| if [ $DEVICES -le 2 ] | |
| then | |
| echo "No devices connected via adb." | |
| exit 1 | |
| fi |
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
| // | |
| // CircleText.swift | |
| // | |
| // Created by Cornelius Schiffer on 07.05.22. | |
| import SwiftUI | |
| extension String { | |
| func size(usingFont font: UIFont) -> CGSize { | |
| let attributes = [NSAttributedString.Key.font: font] |
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
| # Requirements: | |
| # homebrew - http://brew.sh/ | |
| # brew bundle - https://github.com/Homebrew/homebrew-bundle | |
| # cask - https://caskroom.github.io/ (installed automatically) | |
| # mas-cli - https://github.com/argon/mas | |
| cask_args appdir: '/Applications' | |
| tap 'caskroom/cask' | |
| tap 'caskroom/versions' | |
| brew 'bat' |
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
| Index: class.view.php | |
| =================================================================== | |
| --- class.view.php (revision 800373) | |
| +++ class.view.php (working copy) | |
| @@ -16,9 +16,13 @@ | |
| public | |
| function __construct($view) | |
| { | |
| - | |
| - if (file_exists(CSCF_PLUGIN_DIR . "/views/" . $view . ".view.php")) |