This modem is also sold as a MegaFon M150-2 USB dongle
Install the needed packages via opkg
tool
opkg update
docker run -d --name=pastebinit -e PASTEBINIT_USERNAME=foo -e PASTEBINIT_PASS=aceme -p 8081:8081 bjoern/pastebinit -b http://demo.fiteagle.org:8081/ -p 8081 | |
echo 'for cleanup run: docker exec -it pastebinit sh -c "find /files/ -mtime +10 | xargs echo rm"' |
import datetime, sys | |
if len(sys.argv) != 3: | |
print "usage: ", sys.argv[0], "<in> <out>" | |
exit() | |
instr="00:01:57.640" | |
instr=sys.argv[1] | |
ints=datetime.datetime.strptime(instr, "%H:%M:%S.%f") |
#!/bin/sh | |
set -e | |
docker pull quay.io/letsencrypt/letsencrypt:latest | |
docker rm -f letsencrypt || true | |
for DOMAIN in foobar.de aceme.com ; do | |
docker run --rm --name letsencrypt \ | |
-v "/data/nginx/static:/webroot" \ | |
-v "/etc/letsencrypt:/etc/letsencrypt" \ |
#!/bin/bash | |
echo "About to remove the following images:" | |
docker images | awk '/^<none>/ {print}' | |
echo "press <ctrl+c> to abort! <enter> to continue" | |
read foo | |
docker images | awk '/^<none>/ {print $3}' | xargs --no-run-if-empty docker rmi |
public class trimShell | |
{ | |
public static void doShowTrim(String s, String regex) { | |
System.out.println("in: '"+s+"' out: '" +s.replaceAll(regex,"_").toLowerCase()); | |
} | |
public static void main (String[] args) | |
{ | |
String regex = "[^A-Za-z0-9_]"; | |
System.out.println("Regex used: '"+regex+"'"); |
docker run -it --name=qt5 -v $(pwd):/quassel ubuntu:14.04 | |
1 apt-get install libssl-dev | |
2 mkdir qt5 | |
3 cd qt5/ | |
4 apt-key update && apt-get update && apt-get install -y build-essential perl python git | |
5 cd .. | |
6 cd qt5/ | |
7 git clone git://code.qt.io/qt/qt5.git | |
8 cd qt5/ |
import logging | |
import os | |
import sys | |
from django.core.wsgi import get_wsgi_application | |
from django.conf import settings | |
from wsgiref.simple_server import make_server | |
from werkzeug.wsgi import SharedDataMiddleware,DispatcherMiddleware | |
from werkzeug.exceptions import NotFound | |
from werkzeug.utils import redirect |
#!/bin/sh | |
# Author: bri | |
# Will add all interfaces in state DOWN to /etc/network/interfaces.d/auto.cfg | |
# with option dhcp | |
## for iface in `ls /sys/class/net/`; do | |
/sbin/ip -br l | awk '/DOWN/{print $1}' | | |
while read dev | |
do |