# HG changeset patch # User Oleksandr Gavenko # Date 1420572223 -7200 # Node ID d5779eaaf875ec8b1e1338b6ff36b3ccca222af5 # Parent 71e627dc8b8c5de01334a0935909e4aa458fc78f# Parent f361c89e693f5121fa3362f31a6ce3d3f074d6e5 merged diff -r f361c89e693f -r d5779eaaf875 audio.rst --- a/audio.rst Sat Jan 03 15:19:58 2015 +0200 +++ b/audio.rst Tue Jan 06 21:23:43 2015 +0200 @@ -42,6 +42,18 @@ $ play -n synth sin 440 vol -40dB $ play -n synth 10 square 100-10000 synth sin fmod 100 vol -40dB +Check HDA params. +================= +:: + + $ sudo apt-get install alsa-tools-gui + $ hdajackretask + +See also: + + http://www.alsa-project.org/main/index.php/HDA_Analyzer + provides a graphical interface to access the raw HD-audio control + Suitable convertors? ==================== :: diff -r f361c89e693f -r d5779eaaf875 cs.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cs.rst Tue Jan 06 21:23:43 2015 +0200 @@ -0,0 +1,13 @@ +.. -*- coding: utf-8; -*- +.. include:: HEADER.rst + +=========== + .NET, CS. +=========== +.. conents:: + +Decompiler. +=========== + + * https://www.jetbrains.com/decompiler/ + diff -r f361c89e693f -r d5779eaaf875 hg.rst --- a/hg.rst Sat Jan 03 15:19:58 2015 +0200 +++ b/hg.rst Tue Jan 06 21:23:43 2015 +0200 @@ -56,6 +56,13 @@ [defaults] log = -f +Show supported/loaded plugin. +============================= +:: + + $ hg help extensions + $ hg showconfig extensions + Useful extension. ================= @@ -383,13 +390,6 @@ $ hg qpop -a $ for patch in `hg qser`; do hg qrm $patch; done -Show supported/loaded plugin. -============================= -:: - - $ hg help extensions - $ hg showconfig extensions - Proxy. ====== :: @@ -430,6 +430,18 @@ http://mercurial.selenic.com/wiki/TipsAndTricks#Merge_or_rebase_with_uncommitted_changes http://mercurial.selenic.com/wiki/ShelveExtension +Rebase. +======= + +SVN like update:: + + $ hg pull --rebase + +Rebase draft (unpublished) changes over public changes:: + + $ hg rebase -s 'draft()' -d 'public()' + $ hg up # it possible that you isn't on a tip + Find greatest common ancestor of changesets. ============================================ :: diff -r f361c89e693f -r d5779eaaf875 java.rst --- a/java.rst Sat Jan 03 15:19:58 2015 +0200 +++ b/java.rst Tue Jan 06 21:23:43 2015 +0200 @@ -201,6 +201,32 @@ http://mvnrepository.com/search.html?query=PKG http://www.jarfinder.com +Import SSL certificate. +======================= + +Get cert with:: + + $ openssl s_client -connect promin-test.it.loc:433 + + -----BEGIN CERTIFICATE----- + ... + -----END CERTIFICATE----- + +or by opening URL in broswer and exporting in "Page info" ==> "Security" menu. + +Call import utility with default ``changeit`` password:: + + $ keytool -importcert -file $YOUR.crt -keystore $JAVA_HOME/jre/lib/security/cacert -alias $ANY -storepass changeit + $ keytool -list -v -keystore $JAVA_HOME/jre/lib/security/cacert -storepass changeit + +Import certificate system wide in Debian by (note, ``.crt`` extention is +mandatory):: + + $ sudo mkdir /usr/share/ca-certificates/$ANY/ # don't mess with other certs + $ sudo cp /tmp/$YOUR.crt /usr/share/ca-certificates/$ANY/ + $ sudo dpkg-reconfigure --force ca-certificates # check your cert in curses GUI! + $ sudo update-ca-certificates --fresh --verbose + Java EE versions. =================