This file contains 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 | |
# The display of the device needs to be turned on during the backup: | |
# System > Advanced > Developer options > Stay awake | |
# We require the position of the "Backup my data" button, find it with | |
# System > Advanced > Developer options > Input: Show taps + Pointer location | |
# and a manual data backup triggered by something like | |
# export APP=$(adb shell cmd package list packages -3 | tail -1) | |
# adb backup -f /tmp/to_be_removed ${APP:8} |
This file contains 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
#!/usr/bin/env python2 | |
# ================ settings ============ | |
disable_touchpads = False | |
blacklist = [ | |
# this is a keyboard, not a pointer | |
'Wacom Pen and multitouch sensor Pen', | |
] | |
# ====================================== |
This file contains 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
#!/usr/bin/env python | |
from subprocess import CalledProcessError, DEVNULL, PIPE, run | |
import sys | |
import time | |
from watchdog.observers import Observer | |
from watchdog.events import FileSystemEventHandler | |
def notify(msg): |
This file contains 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
template< class GridViewImp, class RangeImp, class SourceImp = RangeImp, class FieldImp = typename RangeImp::RangeFieldType > | |
class LocalizableProductBase | |
: public LocalizableProductInterface< GridViewImp, RangeImp, SourceImp, FieldImp > | |
{ | |
// not all types and methods shown ... | |
public: | |
LocalizableProductBase(GridViewType grid_view, const RangeType& range, const SourceType& source) | |
: BaseType(grid_view) | |
, range_(range) | |
, source_(source) |
This file contains 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
template< class GridViewImp, class RangeImp, class SourceImp = RangeImp, class FieldImp = typename RangeImp::RangeFieldType > | |
class LocalizableProductInterface | |
: public Stuff::Grid::Walker< GridViewImp > | |
{ | |
// not all methods an types shown ... | |
public: | |
LocalizableProductInterface(GridViewType grd_vw) | |
: BaseType(grd_vw) | |
{} |
This file contains 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
```c++ | |
template< class R, int rT, int rCT, int rA, int rCA > | |
static size_t order(const LocalfunctionTupleType& localFunctionsEntity, | |
const LocalfunctionTupleType& localFunctionsNeighbor, | |
const Stuff::LocalfunctionSetInterface< EntityType, DomainFieldType, dimDomain | |
, R, rT, rCT >& testBaseEntity, | |
const Stuff::LocalfunctionSetInterface< EntityType, DomainFieldType, dimDomain | |
, R, rA, rCA >& ansatzBaseEntity, | |
const Stuff::LocalfunctionSetInterface< EntityType, DomainFieldType, dimDomain | |
, R, rT, rCT >& testBaseNeighbor, |