De | En |
---|---|
störrischer | stubborn |
bemühunngen | efforts |
vorübergehend | temporarily |
verdrangen | to displace |
Einschätzung | assessment |
fällig | due |
Gegenstand | object |
Reichweite | reach |
You will need to connect your phone first, using USB.
With the USB cable:
adb tcpip 5555
Find out the IP address of your phone
Setting up multiple user write permission to WWW directory
addgroup www-admin
adduser joe
adduser www-admin joe
setfacl -R -m g:www-admin:rwx /var/www
setfacl -R -m -d g:www-admin:rwx /var/www
chmod -R g+s /var/www
This little script resumes an interrupted dd
copy at a given offset.
Before resuming, it rolls back (the amount of roll-back is OVERLAP_SIZE
* CHUNK
) then calculate the checksum of the overlap on both files to make sure that they are valid images of each other.
The checksums have to be checked manually by the operator (todo: automate).
This
find -type f -exec mv {} ./ \;
turns this
/folder
This file contains hidden or 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 | |
# Import and organize into subfolders by date taken (YYYY/MM/DD) | |
scriptname=`basename "$0"` | |
if [[ $# -ne 2 ]]; then | |
echo "Usage: $scriptname /source/dir /archive/dir" | |
else | |
(cd "$2"; exiftool -progress -ext MTS -ext ARW -ext ORF -ext xmp -r -m -d %Y/%m/%d "-Directory<DateTimeOriginal" "$1") |
This file contains hidden or 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
let getElement, crawlDom, getCats, save, rowify; // functions | |
let urlBase, pages; // input data | |
// config | |
let waitInterval = 500; // how much to wait between fetching pages | |
// selectors | |
let catRe = /\{\s*productcategories\s*\:\s*(\[\s*\{[\s\S]*\}\s*\])\s*\}/m; | |
let selectors = { | |
'name' : '#showroomTopContentDiv .showroom-header h1', |
OlderNewer