Putty – export sessions data from Registry

Sometimes you can forgot, that Putty store sessions data not in configuration file, but in MS Windows Registry. So, to keep your sessions after OS reinstall or if you want move sessions data to another PC, we need move that data. How it can be done?

Open MS Windows Registry:
regedit
found branch:
HKEY_CURRENT_USER\Software\Simontatham

putty export sessions data from regedit
putty export sessions data from regedit

Click right mouse button and select export.
After this, on other PC run exported reg file and sessions data will be added to Registry.

sources of information
source visit date
How to Transfer PuTTY Sessions To Another Windows Machine 2012.09.05

About learning japanese language

This is time to write about Japanese language. Many people talked about it, for example Tae Kim or Khatzumoto. More detailed information about learning Japanese you can read on these sites.

I will only summarize.

  1. Japanese language not hard, you need to know only more than two thousand hieroglyphs (so called kanji) and more than fifteen thousand words, then reading and listening will be quite easy – you will can understand more then 80% of information. However, it depends on data, If you will read only science fiction and then began to read detective story – you will be surprised by big amount of new words.
  2. To learn how to read Japanese you must read Japanese. First it will be very slow and difficult, but with time your vocabulary will grow and reading will be simpler. Besides books, also recommend to play in Japanese games, many of them have voiceover and there you can gain many words and kanji, moreover you will know their pronunciation.
  3. For understanding Japanese speaking you must watch Japanese movies, anime ot news, but you must like what you do. At first it will be impossible to understand them, but do not despair, the essentials is listen foreign speech. At first you will hear only gibberish, but with time you will recognize familiar words. Do you must use dictionary when meet new word? If you wish – do it, if not – you can skip it and turn to dictionary only when meet word several times.
  4. In the beginning of learning don’t need to concentrate on grammar. You can gain basic grammar in any book and rest you gain while reading or listening.

Some advices:

  • Encountered words you can write to note, but better write it in text file (at least you will be able read it later), and then transfer them in program for words learning, for example anki. If your goal is to learn as faster as possible read and understand speech, then handwriting will slow down you in learning words and kanji, the slower you increase your vocabulary, so much the worse you understand text and speech. You can do handwriting only when decide to take 漢字検定, or if you like it.
  • search by key at jisho.orgYou can search new kanji by pronunciation (if you heard it, or understand it pronunciation) or search by keys. Search by keys is contains in many e-dictinoary, for example jisho.org, you must select keys, which is part of your kanji, and you get list of kanji that contains these keys, then you select your kanji from the list.

ls how to show folders first

For a long time with Linux and Windows i gathered enough notes, which, perhaps, might be usefull for some people.

There are times when we need that ls show folders first, then files. Let’s see how it can be done.

ls -1 --color -h --group-directories-first

‐1 – list one file per line
‐‐color – colorize the output
‐‐group‐directories‐first – group directories before files

 

sources of information
source visit date
unix-ls-how-to-sort-first-directories-then-files-etc 2015.08.11

Cycling-Workout

Beforehand should say sorry for my mistakes – english is not my native language. Please, feel free to correct my mistakes – it will be usefull for me.

First post must be usefull (as an others). So I decided make some usefull, fortunately I have some usefull home project.

Summarizing, programmers, usually, have a confining job, and begin gain weight. To defend from it, they need go to sport gym, but not all from as doing so. For this reason I decide to create little usefull program, which help  with intencive workout (at least fife-ten minutes we can spare for our health) and with it help we can keep trim. For this conditions best fit Cycling-Workout – for shor period of time we intencively perform several exercises (this several exercises is set), and then repeat set several times (between sets you can add short rest).

I thought, that usefull step away from PC and perform severals sets and then again return to work. But PC can give us some advice – what you need to do and how much time left. First version of program was ready in evening, but with it you can perform only one set (some time ago I called it base). On the next day, I thought, it will be good if I can easely add new sets and perform it,  also why not translate it in several languages? Let foreigners possibility to use it. I never before make a localization, so think out one method I implemented it. It works, maybe it not ideal and I need use something else, something that already exists, but when you invented a bicycle – it is fun for first time.

So – there is source code and releases. If you want direct link on archive- here it is. You need only unpack zip archive and run exe file.

Lets see, how program works.

On image 1 shown exercise select.

select exercise
Image 1 Exercise select

On image 2 shown main fields of program:

1 – How long time you perform this Cycle

2 – How much time is left for current exercise

3 – How many sets was completed from its total count

4 – Current Cycle name

5 Current exercise name

main fields
Image 2 Main fields

On image 3 shown create workout dialog.

Create Workout
Image 3 Create Workout

Best regards, Tchernopyatov Alexey.

Date: 2016.02.21