Skip to content

Instantly share code, notes, and snippets.

View gWOLF3's full-sized avatar
🌊

glenn wolfe gWOLF3

🌊
View GitHub Profile
@rbochet
rbochet / UnixPipeActivity.java
Created May 18, 2011 03:45
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;
@zziuni
zziuni / stuns
Created September 18, 2012 08:05
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
@iainconnor
iainconnor / Android Studio .gitignore
Created January 24, 2014 20:20
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
@uknowmeright
uknowmeright / Android Pass Variable
Created April 15, 2014 20:27
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
@garystafford
garystafford / helpful-docker-commands.sh
Last active July 1, 2024 06:57
My list of helpful docker commands
###############################################################################
# Helpful Docker commands and code snippets
###############################################################################
### CONTAINERS ###
docker stop $(docker ps -a -q) #stop ALL containers
docker rm -f $(docker ps -a -q) # remove ALL containers
docker rm -f $(sudo docker ps --before="container_id_here" -q) # can also filter
# exec into container

Live Transcoding

This is a collection of working commandline examples to show how one could use FFMpeg and VLC for live transcoding of video streams. All examples have been tested on OSX 10.7.5 with FFMPeg 1.1.3 and VLC 2.0.5 in early 2013.

Documentation links

kubectl get pods | grep Evicted | awk '{print $1}' | xargs kubectl delete pod
@edsiper
edsiper / kubernetes_commands.md
Last active July 11, 2024 07:42
Kubernetes Useful Commands
@naotookuda
naotookuda / refreash_helm.sh
Created November 17, 2017 00:53
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 / 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