Skip to content

Instantly share code, notes, and snippets.

View gWOLF3's full-sized avatar
🌊

glenn wolfe gWOLF3

🌊
View GitHub Profile
@gWOLF3
gWOLF3 / docker.md
Created October 21, 2021 19:31 — forked from FreddieOliveira/docker.md
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

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.


Summary

@gWOLF3
gWOLF3 / config.md
Created October 11, 2019 19:40 — forked from sykesm/config.md
Config Discussion

Fabric Configuration

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

@gWOLF3
gWOLF3 / refreash_helm.sh
Created May 18, 2019 01:59 — forked from naotookuda/refreash_helm.sh
How to refresh "helm" cache ?
# !/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.
@gWOLF3
gWOLF3 / UnixPipeActivity.java
Created February 24, 2019 01:11 — forked from rbochet/UnixPipeActivity.java
How to write in pipes for Android
package fr.stackr.android.upt;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
@gWOLF3
gWOLF3 / stuns
Created December 5, 2018 17:28 — forked from zziuni/stuns
STUN server list
# source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list
# A list of available STUN server.
stun.l.google.com:19302
stun1.l.google.com:19302
stun2.l.google.com:19302
stun3.l.google.com:19302
stun4.l.google.com:19302
stun01.sipphone.com
stun.ekiga.net
@gWOLF3
gWOLF3 / Android Pass Variable
Created December 5, 2018 06:08 — forked from uknowmeright/Android Pass Variable
How to pass variables to a new activity in Android (Android Studio)
//step 1:
import android.content.Intent;
//step 2: add to activity you want to sav variables from
Intent i = new Intent(getApplicationContext(), ActivityName.class);
i.putExtra("someVariable","variableValue");
startActivity(i);
//step 3: add to activity you want to pulll variables from
@gWOLF3
gWOLF3 / Android Studio .gitignore
Created November 18, 2018 05:25 — forked from iainconnor/Android Studio .gitignore
A .gitignore for use in Android Studio
# Built application files
/*/build/
# Crashlytics configuations
com_crashlytics_export_strings.xml
# Local configuration file (sdk path, etc)
local.properties
# Gradle generated files