Skip to content

Instantly share code, notes, and snippets.

View blutorange's full-sized avatar

Andre Wachsmuth blutorange

  • XIMA MEDIA GmbH
  • Germany, Saxony
View GitHub Profile
@blutorange
blutorange / core.clientwindow_class.js
Created January 21, 2025 01:53
PrimeFaces singleton -- class vs ESM
/**
* The object with functionality related to multiple window support in PrimeFaces applications.
*/
class ClientWindow {
/**
* The name of the URL parameter holding the client window ID.
* @type {string}
* @readonly
*/
static CLIENT_WINDOW_URL_PARAM = "jfwid";
@blutorange
blutorange / res_noun_2kanji.txt
Created April 1, 2015 17:31
Japanese homphpones and their relative frequencies
# number of different words with the same pronunciation (kana)
# entry_number kana averaged_number_of_different_words frequency_of_all_words number_of_different_words list-of-words
0 ショウネン 1.0000850412450037 11760 2 少年(11759) 正念(1)
1 ショウジョ 1.0001412030499859 21249 3 少女(21246) 陞叙(2) 昇叙(1)
2 キョウフ 1.0001717032967032 5825 2 恐怖(5824) 教父(1)
3 ヒツヨウ 1.000184026499816 16305 2 必要(16302) 必用(3)
4 シュウレイ 1.000230520977409 4339 2 秀麗(4338) 秋冷(1)
5 ホンキ 1.000278164116829 3596 2 本気(3595) 本木(1)
6 ソクド 1.0002824858757062 3541 2 速度(3540) 測度(1)
7 ツウシン 1.000337723741979 2962 2 通信(2961) 痛心(1)