undo ^ü OR ^_
redo ^6
Archive for the ‘Nem kategorizált’ Category
JOE editor key control commands
Sunday, August 22nd, 2021create openssl hash link for certificate file
Monday, October 28th, 2013cd /etc/ssl/certs ln -s root_ca.crt $(openssl x509 -noout -hash -in root_ca.crt).0
Generating ECDSA key with gpg
Thursday, August 8th, 2013/usr/src/gnupg-2.1.0beta3# ./g10/gpg2 --gen-key --expert gpg (GnuPG) 2.1.0beta3; Copyright (C) 2011 Free Software Foundation, Inc. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. gpg: NOTE: THIS IS A DEVELOPMENT VERSION! gpg: It is only intended for test purposes and should NOT be gpg: used in a production environment or with production keys! Please select what kind of key you want: (1) RSA and RSA (default) (2) DSA and Elgamal (3) DSA (sign only) (4) RSA (sign only) (7) DSA (set your own capabilities) (8) RSA (set your own capabilities) (9) ECDSA and ECDH (10) ECDSA (sign only) (11) ECDSA (set your own capabilities) Your selection?
error: Incomplete maildomain | pine | alpine
Thursday, August 8th, 2013error: Incomplete maildomain
application: pine, alpine
resolution: You need to put an fqdn to your hostname in /etc/hosts file.
example, if your hostname is foo and you got this error:
[Incomplete maildomain "foo".]
you need to put an fqdn (foo.com in this example) to your hostname (foo) in your /etc/hosts file.
127.0.0.1 foo foo.com
How could I split mp3 to multiple tracks with ffmpeg?
Tuesday, August 6th, 2013ffmpeg -i in.mp3 -f segment -segment_time 1800 -map 0 -codec copy out%03d.mp3
segment_time: seconds
How to remove ANSI escape sequences
Monday, July 15th, 2013alias stresc='sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"'
record / save asf stream with mplayer
Sunday, July 7th, 2013mplayer -dumpstream mms://url?MSWMExt=.asf
android perl boilerplate
Saturday, July 6th, 2013
#!/data/data/com.android.perl/files/perl/perl
use strict;
use warnings;
use Android;
use Data::Dumper;
my $droid = Android->new();
#print Dumper $droid->wifiGetScanResults();
#print Dumper $droid->readPhoneState();
#print Dumper $droid->getDeviceId();
for my $f qw ( checkNetworkRoaming
getCellLocation
getDeviceId
getDeviceSoftwareVersion
getLine1Number
getNeighboringCellInfo
getNetworkOperator
getNetworkOperatorName
getNetworkType
getPhoneType
getSimCountryIso
getSimOperator
getSimOperatorName
getSimSerialNumber
getSimState
getSubscriberId
getVoiceMailAlphaTag
getVoiceMailNumber
prefGetAll
getScreenTimeout
) {
print "$f\n";
print Dumper $droid->$f;
}
cut/split mpeg2 files without re-encoding with ffmpeg
Sunday, June 9th, 2013ffmpeg.exe -i input.mpeg -c copy -ss 00:02 -to 24:32 output.vob
-ss time_off set the start time offset
-t duration record or transcode “duration” seconds of audio/video
-to time_stop record or transcode stop time
.vob extension is important because it forces stream container to MPEG v2 for output file.
Changing Android’s disk encryption password
Sunday, June 2nd, 2013$ su -c vdc cryptfs changepw newpass su -c vdc cryptfs changepw newpass 200 0 0