This howto is valid for Betanet on Ubuntu or Debian
You have to install some dependencies. In debian / ubuntu run:
#!/bin/bash | |
# A simple script to backup an organization's GitHub repositories. | |
# NOTE: if you have more than 100 repositories, you'll need to step thru the list of repos | |
# returned by GitHub one page at a time, as described at https://gist.github.com/darktim/5582423 | |
GHBU_BACKUP_DIR=${GHBU_BACKUP_DIR-"github-backups"} # where to place the backup files | |
GHBU_ORG=${GHBU_ORG-"<CHANGE-ME>"} # the GitHub organization whose repos will be backed up | |
# (if you're backing up a user's repos instead, this should be your GitHub username) | |
GHBU_UNAME=${GHBU_UNAME-"<CHANGE-ME>"} # the username of a GitHub account (to use with the GitHub API) |
#!/bin/bash | |
# | |
# 20210119 - Use the new --endpoint flag | |
# - Added verbose logging | |
# | |
# 20200608 - Updated to TzKt API | |
# | |
# 20191029 - Added /v3/network back in. | |
# Thanks to Baking-Bad and their Mystique API |
#!/bin/bash | |
if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF | |
appify v3.0.1 for Mac OS X - http://mths.be/appify | |
Creates the simplest possible Mac app from a shell script. | |
Appify takes a shell script as its first argument: | |
`basename "$0"` my-script.sh |
This is a very basic Docker credential helper that uses environment variables to authenticate to Docker. It's not as secure as the other credential helpers that Docker provides, but it can be very helpful in some circumstances (such as when using it with Jenkins).
To set this up, install the docker-credentials-env
script somewhere
in the Jenkins users path (it needs to be named docker-credential-env
),
then configure the Jenkins user's ~/.docker/config.json
file to use it:
"use strict"; | |
var hyperdb = require("hyperdb"); | |
var db = hyperdb("./historyStream.db", { valueEncoding: "utf-8" }); | |
function watchFeed() { | |
var stream = db.createHistoryStream({ live: true }); | |
stream.on("data", console.log); | |
stream.on("end", console.log); | |
stream.on("finish", console.log); |
const fixNewLine = require('./index.js') | |
const remark = require('remark') | |
text = "lol\nlol\n```\nlol\nlol\n```\n> lol\n> lol" | |
processed = remark() | |
.use(fixNewLine) | |
.processSync(text) | |
console.log(processed) |
I hereby claim:
To claim this, I am signing this object: