Overwriting existing binding of keysym ã®è¦åããéãã話
Kinesis Advanced ã«ãããããããããã£ã¨ä»¥ä¸ã®è¦åã journald ã«åºã¦ã¦ãã¼å ¥åãé 延ãã¦å°ã£ã¦ã¦
gnome-shell[492029]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b). gnome-shell[492029]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d). gnome-shell[492029]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e). gnome-shell[492029]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f). gnome-shell[492029]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c). gnome-shell[492029]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10). gnome-shell[492029]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12). gnome-shell[492029]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11). gnome-shell[492029]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12). gnome-shell[492029]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
å¤å以ä¸ã®ãããã¨åãåå ã ãããªã¨ã¯æã£ã¦ããã ãã©ããã£ã¨æ¾ç½®ãã¦ã¦
- https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/1718
- https://gitlab.gnome.org/GNOME/mutter/-/issues/606
- https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/1858
ãããã«è¾ããªã£ã¦ãããã以ä¸ã«ãããé 延ã¯ãªããªã£ãã
gsettings reset org.gnome.libgnomekbd.keyboard options gsettings reset org.gnome.desktop.input-sources xkb-options
ãã®è¦åãåºãã¦ãã®ã¯ https://gitlab.gnome.org/GNOME/mutter/-/blob/master/src/core/keybindings.c#L593 ã®ãããã
ãã®å
Kinesis 使ã£ã¦ãéãã¯ãã¼ãªãããã¼ãªãã¦ãè¯ãã®ã ãã©ãã©ãããããã®ãã¼ãã¼ãã使ãã¨ãã¨ãã«ã¡ãã£ã¨å°ããxkeysnail 㯠X11 ä¾åããã£ã¦ wayland ã ã¨åããªãããã¾ã豪è¯ãªãã¼ãªãããã¼ã¯å人çã«ã¯ãããªãã®ã§ãuinput ã使ã£ã¦ããã£ã½ãåãã®ãä½ãã°ããã®ããªã¨æã£ã¦ãããhttps://github.com/zhanghai/pykeymacs ããããåèã«ãªããããããã㯠libinput ãããã¯ãã https://github.com/buzztaiki/scroll-emulation ã®æ¹åæ§ã
追è¨
ããããåãã¦ãªãã¦ãè¨å®ãªãã«ã㦠gnome-shell ã restart ããã¨ãã°ããã¯é 延ããªããªãã ãã£ã½ãã£ããåå ããããã
ããã«è¿½è¨
fcitx-skk ããã㦠fcitx-mozc ã«å¤ãããè¦åãã§ãªããªã£ããfcitx-skk ã«ä½ãããã
ã¨ãããã
Hatena Blog ã¸ã®ç§»è¡ DONEã6å¹´ã¶ãããã
Git 㧠Jenkins ã®ããã¯ã¢ããããã¦ã¿ã
å
æ¥çªç¶ä¼ç¤¾ã§ä½¿ã£ã¦ã Jenkins ãèµ·åããªããªã£ã¦ãã¾ãã¾ããããããã«ããäºåº¦ã¨ãããªæãã¯ããããªãã®ã§ãããã¯ã¢ãããåããã¨ã«ãã¾ããã
Backup Plugin - Jenkins - Jenkins Wiki ã使ã£ã¦ããããã§ãããgit 使ãã°å·®åããã¯ã¢ããã«ãªããã好ããªæç¹ã«æ»ãã¦ç´ æµãªããããªããã¨æã£ã¦ git ã使ã£ã¦ããã¯ã¢ãããåããã¨ã«ãã¦ã¿ã¾ããã
ãã®è¨äºã¯ãã®æã®ã¡ã¢ã¿ãããªãã®ã§ãã
ãªãã¸ããªã®ä½æ
ã¾ã㯠git ã®ãªãã¸ããªãä½ãã¾ãããã£ãããªã®ã§ã¹ã¯ãªããã³ã³ã½ã¼ã«ã使ã£ã¦ã¿ã¾ããã¹ã¯ãªããã³ã³ã½ã¼ã«ãéãã¦ã以ä¸ãå®è¡ãã¾ãã
dir = System.properties["JENKINS_HOME"] def git = { Object[] cmd -> println new ProcessBuilder(["git"] + cmd.toList() as String[]).directory(new File(dir)).start().text } git "init" git "config", "user.name", "Jenkins Backup" git "config", "user.email", "jenkins@${InetAddress.localHost.hostName}" new File("${dir}/.gitignore").text = """\ *.log *.log.? *.log.?? jobs/*/workspace jobs/*/builds """ git "add", "--all" git "commit", "-m", "Initial commit"
ãã㧠/var/lib/jenkins ã« git ã®ãªãã¸ããªãã§ãã¾ããé¤å¤å¯¾è±¡ã¯ workspace, builds ã¨ãã°ãã¡ã¤ã«ã«ãã¾ããã
ããã¯ã¢ããã®è¨å®
次㫠Hudson環境のバックアップ - ふぞろいのGENGOたち ãåèã«ãã¦ãExclusive Execution Plugin ãå ¥ã㦠backup job ãä½ãã¾ããjob ã¯ä»¥ä¸ã®ããã«è¨å®ãã¾ãã
- ã½ã¼ã¹ã³ã¼ã管çã·ã¹ãã : ãªã
- ãã«ãããªã¬: å®æçã«å®è¡
- ã¹ã±ã¸ã¥ã¼ã«: @daily
- ãã«ãç°å¢:
- ãã«ããæä»çã«å®è¡: ON
- ãã«ã:
- ã·ã§ã«ã®å®è¡:
#!/bin/sh cd $JENKINS_HOME git add --all && git commit -m "$BUILD_TAG" git gc
以ä¸ã§æºåå®äºã§ãããã¨ã¯ãããã«ãã«ãå®è¡ããã¦ã¿ã¦ãéããªãã°ãã§ãããã§ããã§ãã
ç´æ¥ git ãæä½ããã¨ã
Jenkins ãããã±ã¼ã¸ã§å ¥ãã¦ããå ´åãå¤åJenkins 㯠jenkins ã¦ã¼ã¶ã®ãã®ã«ãªã£ã¦ããã¨æãã¾ããã¹ã¯ãªããã³ã³ã½ã¼ã«ã§ä½ã£ããªãã¸ããªã jenkins ã¦ã¼ã¶ã¼ã§ä½ããã¦ããã®ã§ã以ä¸ã®ããã«ãsudo ã§ã¦ã¼ã¶ãæå®ãã¦ãããã°å¤§ä¸å¤«ã ã¨æãã¾ãã
sudo -u jenkins git ...
æå¾ã«
ç»é²ãèªååããããã° jenkins-cli ã使ã£ã¦ groovy, install-plugin, create-job ã³ãã³ããããã使ãã°ã§ããã¯ãã§ãã
commit ããã ãã§ã¯ãªãã¦ãã©ããå¥ã®ãµã¼ãã« push ã¨ãããã°ããã©ã¼ãªã³ã°ãã§ãã¦å®ç§ã§ããã
Emacs23 ã® VC 㧠svn1.7 ã使ããããã«ãã¦ã¿ã
svn1.7 ãå»å¹´ã®æ®ããããã«åºã¾ãããå¤åç®ç㯠WC-NG ã§ããsvn status ã¨ããããã®ãããã§ããªãéããªãã¾ããã
ãã㪠svn1.7 ãªãã§ãããEmacs23 ã® vc-svn ã対å¿ãã¦ã¾ãããWorking Copy ãå¥ãã®ã«ãªã£ã¦ãã¾ã£ãã®ã§ããã¾ãåãã¦ãããªãã®ã§ããEmacs24 ãªã対å¿ãã¦ããã§ãããã¾ã ã¡ã¤ã³ã§ä½¿ã£ã¦ãã®ã¯ Emacs23 ã§ãã
ã¨ãããã㧠Emacs23 ã® vc-svn ã svn1.7 ã«å¯¾å¿ããã vc-svn17.el ãä½ã£ã¦ã¿ã¾ãããEmacs24 ã§ä½¿ã£ã¦ãå½±é¿ããªãããã«ãªã£ã¦ã¾ãã
使ãæ¹ã¯ https://raw.github.com/buzztaiki/vc-svn17-el/master/vc-svn17.el ãã vc-svn17.el ãã¤ã³ã¹ãã¼ã«ãã¦ãrequire ããã ãã§ãã
svn1.7 ã使ã£ã¦ããå¥ç¹ãªäººã¯ä½¿ã£ã¦ã¿ã¦ãã ããã
Emacsãã¡ãã£ã¨ã ãèªåè²ã«æãã (Emacs Advent Calendar jp: 2011)
ãã®è¨äºã¯ Emacs Advent Calendar jp: 2011 : ATND ã®ï¼æ¥ç®ã§ããé
ããªã£ã¦ããããªããï¼
å»å¹´ã«ã²ãç¶ãã¦æ¨æºã§å°ãEmacsã便å©ã«ããå°æãã
Emacsã使ã£ã¦ã¦æ®æ®µä½¿ã£ã¦ãmodeã«ã¡ãã£ã¨ã ãè²ã足ãããã¨ãæããã¨ã¯ãªãã§ããï¼ãããªã¨ã㯠font-lock-add-keywords ã使ãã°å¥½ããªè²ã足ããã¨ãã§ãã¡ããã¾ãã
使ãæ¹ã¯ç°¡åãä¾ãã°ãããªé¢¨ã«ããã¨
(font-lock-add-keywords 'c-mode '(("!" . font-lock-warning-face)))
c-modeã§ã!ãã赤ããªãã¾ããæ°åã«ãè²ãä»ãã¦ãhogeããã¼ã¯ã¼ãã®è²ã«ããããã°ãããªé¢¨ã«ã
(font-lock-add-keywords 'c-mode '(("!" . font-lock-warning-face) ("hoge" . font-lock-keyword-face) ("[0-9]+" . font-lock-constant-face)))
ããããã¨ãããªãã¾ãã
ãã ãã® font-lock-add-keywords ã«ã¯å¼±ç¹ããã£ã¦ãééã£ãè¨å®ã¨ãã«ãã¦ãã¾ãã¨ããã¤ã©ã¤ããå£ãã¦å ã«æ»ããªããªã£ã¦ãã¾ãã®ã§ãã
ã¨ããããã§ãfont-lock-user-keywords ã¨ãããã®ãä½ã£ã¦ä½¿ã£ã¦ã¾ãããã®åãªãå£ããã¨ãã«ãç°¡åã«æ»ããã¨ãã§ããããå®å¿ã§ãã
(defun font-lock-user-keywords (mode &optional keywords) "Add user highlighting to KEYWORDS to MODE. See `font-lock-add-keywords' and `font-lock-defaults'." (unless mode (error "mode should be non-nil ")) (font-lock-remove-keywords mode (get mode 'font-lock-user-keywords)) (font-lock-add-keywords mode keywords) (put mode 'font-lock-user-keywords keywords))
è¨å®ããã¨ã㯠font-lock-add-keywords ã¨åãããã«ä½¿ãã ãããªã»ããããã¨ã㯠(font-lock-user-keywords 'c-mode) ã¨ãã¦å¼ãã§ãããã°å ã«æ»ã£ã¦ããã¾ãããã ãfont-lock-add-keywords ã§è¶³ãããã®ã¯æ»ããªãã®ã§ããã¯æ³¨æãã¦ä½¿ã£ã¦ãã ãããã
ææ¥ã¯ [twitter:@ta2_o2p] ããã§ããããã§ã¯ã
Arielã¨Amazon
ãAriel Advent Calendar 2011ãï¼æ¥ç®ã§ããæ¨æ¥ã¯ [twitter:@kiris] ã® ãありえるえりあ勉強会の開き方 | ありえるえりあã ã§ãããEmacsçªé·ã¨ãæ¸ãã¦ãã£ããã©ãããæå³ãããããªãã§ãã
æè¿ããããã¨ã«æ°ã¥ãã¾ããã
Arielã¨Amazonã®ãã´ã£ã¦ãã£ããã§ãã
ãããAriel
ãããAmazon
ãªãã¹ã¦ã¿ã¾ãããã£ããã§ããï¼
ãã®ã¸ãããã£ããã§ãï¼
å
¥ãæ¿ãã¦ãå
¨ç¶éåæãªãã§ããã
両æ¹ã¨ãAã®åãå
¥ã£ã¦ãã®ããã¤ã³ãé«ãã¨æãã¾ãã
ãã¨Nikeãããã¨ãä¼¼ã¦ããããã¦ã¾ããNikeã¨ã¯Eã®åãä¸è´ãã¦ãã®ãããã§ããããã©ã¾ã 試ãã¦ã¾ãããã ãã試ãã¦ãã ããã
ææ¥ã¯ã¯ã¦ãªã® [twitter:@nitro_idiot] ãä½ãæ¸ãã¦ãããããã§ãã
ã¤ããããã®ããã°ã¯ã§ãã¾ã調ã«ãªãã¾ãã
ã§ãããªãã¨ãªããããã ãã