All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker
. This will install the whole docker suite, left only Tini to be compiled manually.
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
FAIL FAST | |
---------------------------- | |
ok, so lets do one thing. i know its well intentioned, but i want you to remove ALL "failsafes" from the code we just did. i want the code to HARD error if something isn't set properly. | |
bandaid fixes create ghost problems, and id rather jsut know someting is wrong. | |
for example we should never use the "||" to set a default size if it doesnt exist. we should error and crash if it doesnt exist as expected. |
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
scat() { | |
local dir="${1:-.}" | |
find "$dir" \ | |
-type d -exec echo -e "Directory: {}\n" \; -o \ | |
-type f \ | |
\( -name "*.js" -o -name "*.json" -o -name "*.html" -o -name "*.css" -o -name "*.md" -o -name "*.txt" \) \ | |
-exec echo -e "\n=== File: {} ===\n" \; \ | |
-exec cat {} \; \ | |
-exec echo -e "\n--- End of File ---\n" \; | |
} |
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 | |
# script credit: github user @dodotree | |
version=$1 | |
text=$2 | |
branch=$(git rev-parse --abbrev-ref HEAD) | |
repo_full_name=$(git config --get remote.origin.url | sed 's/.*:\/\/github.com\///;s/.git$//') | |
token=$(git config --global github.token) |
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
instead of copying in .npmrc template from repo, just create it in the Dockerfile to simplify things... | |
/// | |
ARG NPM_TOKEN | |
RUN echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc && \ | |
npm i && \ | |
rm -f .npmrc | |
/// |
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
AT&T: [email protected] (SMS), [email protected] (MMS) | |
T-Mobile: [email protected] (SMS & MMS) | |
Verizon: [email protected] (SMS), [email protected] (MMS) | |
Sprint: [email protected] (SMS), [email protected] (MMS) | |
Xfinity Mobile: [email protected] (SMS), [email protected] (MMS) | |
Virgin Mobile: [email protected] (SMS), [email protected] (MMS) | |
Tracfone: [email protected] (MMS) | |
Simple Mobile: [email protected] (SMS) | |
Mint Mobile: [email protected] (SMS) | |
Red Pocket: [email protected] (SMS) |
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
1. certbot -d <domain> --manual --preferred-challenges dns certonly | |
2. add TXT record | |
3. check with `dig <my-domain>` TXT | |
4. wait. once you see the record, continue. | |
Fabric configuration is currently implemented around a configuration library called [viper][viper]. Viper reads configuration from files, environment variables, and flags, and exposes an API that uses dot qualified keys to reference the configuration values (think System Properties on steroids).
When configuration is read from files, the segments of the configuration key are used to walk config file stanzas to the data. Values read from the configuration file can be overridden by setting an environment variable that
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 | |
# Remove all files in these directories. | |
rm -rf ~/.helm/cache/archive/* | |
rm -rf ~/.helm/repository/cache/* | |
# Refreash repository configurations | |
helm repo update | |
#That's all. | |
#If you "helm search" next time, you can find newest stable charts in repository. |
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
# Created By: glenn wolfe | |
# Email: [email protected] | |
This gist pertains to some idiosyncracies of bootrapping your RHEL 7 server instance with a single or multi-cluster kubernetes network. | |
The goal here was to simply aggregate the documentations resources you will need (including debugging) that will be required to get started. | |
RHEL 7 - kubernetes startup | |
Installing docker: |
NewerOlder