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
| [gammu] | |
| port = /dev/tty.HUAWEIMobile-Modem | |
| connection = at19200 | |
| model = at | |
| synchronizetime = yes | |
| logfile = /Users/me/.gammu/log | |
| logformat = errorsdate | |
| gammucoding = utf8 | |
| [smsd] |
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 python | |
| """ | |
| A script to query the Amazon Web Services usage reports programmatically. | |
| Ideally this wouldn't exist, and Amazon would provide an API we can use | |
| instead, but hey - that's life. | |
| Basically takes your AWS account username and password, logs into the | |
| website as you, and grabs the data out. Always gets the 'All Usage Types' |
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 python | |
| """ | |
| Synchronise block devices over the network | |
| Copyright 2006-2008 Justin Azoff <justin@bouncybouncy.net> | |
| Copyright 2011 Robert Coup <robert@coup.net.nz> | |
| License: GPL | |
| Getting started: | |
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 | |
| set -e | |
| # Usage: | |
| # rsync_parallel.sh [--parallel=N] [rsync args...] | |
| # | |
| # Options: | |
| # --parallel=N Use N parallel processes for transfer. Defaults to 10. | |
| # | |
| # Notes: |
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
| /proj | |
| /proj-build | |
| /sqlite | |
| /sqlite-amalgamation-*.zip | |
| /one-native | |
| /one-native.dSYM | |
| /one.data | |
| /one.html | |
| /one.js | |
| /one.wasm |
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 | |
| set -euo pipefail | |
| # simple repo cloc report | |
| # * ignores submodules | |
| GIT_REMOTE="git@github.com:myorg" | |
| REPOS=( | |
| myfirstrepo | |
| mysecondrepo |
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
| """ | |
| Tests for VSI-File | |
| Copyright Koordinates Limited | |
| License MIT | |
| """ | |
| import io | |
| import logging | |
| import os |
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 | |
| set -eu | |
| command -v eu-elflint >/dev/null || (echo "eu-elflint not found, install elfutils"; exit 1) | |
| command -v scanelf >/dev/null || (echo "scanelf not found, install pax-utils"; exit 1) | |
| BINARIES=$(scanelf -EET_EXEC -RBF %F "${1-.}") | |
| ERRS=0 | |
| for BINARY in $BINARIES; do |
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 contextlib | |
| import io | |
| import warnings | |
| import pytest | |
| from click.testing import CliRunner | |
| """ | |
| In your tests: |
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
| # Usage | |
| # | |
| # To build: | |
| # $ docker build --build-arg SWIG_VERSION=3.0.10 -t swig . | |
| # | |
| # To run: | |
| # host$ docker run --rm -it -v $(pwd):/src swig | |
| # cont$ swig ... | |
| # | |
| # For SWIG 4.x use bullseye, for 3.x use buster |
NewerOlder