This script requires python3.7 or greater.
pip install bleak
pip install crcmod
python3 research_logger.py --scan
python3 research_logger.py --log a-log-file.log 00:11:22:33:44:55
This script requires python3.7 or greater.
pip install bleak
pip install crcmod
python3 research_logger.py --scan
python3 research_logger.py --log a-log-file.log 00:11:22:33:44:55
Hopefully you'll Live Long and Prosper, so I don't mean terminal as in "you gonna die". This is a somewhat opinionated article on configuring a macOS machine with:
Cheat Sheets are greate but they are not a substitute for learning the framework and reading the documentation as we most certainly have not covered every potential example here. Please refer to the Rails Command Line Docs for more information.
You can get all of this information on the command line.
rails generate
with no generator name will output a list of all available generators and some information about global options.
rails generate GENERATOR --help
will list the options that can be passed to the specified generator.
This is the list of exit codes for wget: | |
0 No problems occurred | |
1 Generic error code | |
2 Parse error — for instance, when parsing command-line options, the .wgetrc or .netrc… | |
3 File I/O error | |
4 Network failure | |
5 SSL verification failure | |
6 Username/password authentication failure | |
7 Protocol errors |
#!/usr/bin/env python | |
"""" | |
nexus-uploader.py | |
Allows mirroring local M2 repositories to a remote Nexus server with a single command. | |
Supports: | |
- uploading of common classifiers (sources, javadocs) if available | |
- using regex include pattern for artifactIds/groupIds | |
- recursively processing local repo, just point to the root |
curl -s https://api.github.com/users/milanboers/repos | grep \"clone_url\" | awk '{print $2}' | sed -e 's/"//g' -e 's/,//g' | xargs -n1 git clone |
#!/bin/bash | |
CF=~/.git-dprz.sh | |
function info { | |
cat <<- INFO | |
-- Script for downloading PRIVATE(!) git-repos as tar-archive on old systems (like Debian Etch) | |
-- That only have old git - binaries | |
-- |
// Run this with node and then run the output with sh | |
var Http = require('http') | |
var ChildProcess = require('child_process'); | |
Http.cat("http://github.com/api/v2/json/repos/show/creationix", function (err, json) { | |
if (err) throw err; | |
var data = JSON.parse(json); | |
data.repositories.forEach(function (repo) { | |
console.log("echo " + JSON.stringify(repo.name + " - " + repo.description)); | |
console.log("git clone --bare " + repo.url); | |
}); |
wget https://gnuwget.gitlab.io/wget2/wget2-latest.tar.gz | |
tar xf wget2-latest.tar.gz | |
cd wget2-* | |
brew install automake gettext lzip pkg-config xz gnutls | |
brew link --force gettext | |
./configure | |
make | |
make check | |
sudo make install |