This small script lets you start iLO Java-based console from shell.
- iLO 2/3 doesn't have HTML5 console
- Mounting local (from the client computer) ISOs is PAINFULLY slow via HTML5 client
If you just start it, it will ask you for everything:
#!/bin/sh | |
# needs openssl 1.1+ | |
# needs base64 and base32 utilities. | |
# On OpenWrt you may install coreutils-base64 and coreutils-base32. | |
# BusyBox can be compiled with them. | |
# On other systems try basenc or basez https://manpages.debian.org/testing/basez/base32hex.1.en.html | |
##### generate a key |
# Example Invocation: | |
# | |
# gcc test.c -o test -g | |
# TRACE_FUNCTIONS=fib TRACE_FILE=log gdb -x gdb_trace.py test | |
# cat log | |
# | |
# Log File Format: | |
# | |
# ('call', Parent Call ID, Call ID, Breakpoint Name, Symbol Name, Arguments) | |
# ('return', Call Id, Breakpoint Name, Return Value) |
Let's say you want to access the application shared preferences in /data/data/com.mypackage.
You could try to run adb shell
and then run-as com.mypackage
( or adb shell run-as com.mypackge ls /data/data/com.mypackage/shared_prefs
),
but on a production release app downloaded from an app store you're most likely to see:
run-as: Package 'com.mypackage' is not debuggable
#!/usr/bin/env python3 | |
# Export your Google Maps starred places from https://www.google.com/bookmarks/ | |
# Then pipe them through this script to get GeoJSON: | |
# ./gmaps_stars_to_geojson.py < GoogleBookmarks.html > features.json | |
# You could import the resulting GeoJSON file to a PostGIS database with: | |
# ogr2ogr -f PostgreSQL PG:"dbname=DBNAME user=USER password=PASSWORD host=HOST" features.json -nln TABLENAME -append | |
# Depends on 'geojson', 'lxml' and 'requests' from PyPI. |
# LVM Parser & Block Reader | |
# | |
# Copyright (C) 2016 Red Hat Inc | |
require 'optparse' | |
require 'ostruct' | |
require 'binary_struct' | |
### constants |