Disable puppet-lint class inheriting from params class

I normally use Vim to edit Puppet modules and manifests codes. However, recently I just found out about Atom editor, and quite like it. Out of the box, Atom supports many programming languages by providing syntax highlight. There are hundreds of Packages available which provide more functionalities such as make Atom to behave like a Vi editor, support Puppet codes, etc. As mentioned earlier, Atom provides syntax highlighting for various programming languages; well except Puppet. So we need to manually install a package that fills that requirement: language-puppet. I also suggest that you additionally install linter and linter-puppet packages. ...

June 18, 2015 · 1 min · 186 words · kenno

ការបញ្ចូល git ក្នុង Raspberry Pi ដើរ​ FreeBSD 11

ដោយ​សារ​ពុំមាន​ កញ្ចប់បាយនារី (binary package) នៃ​​ git យើង​​ត្រូវ​បញ្ចូល​ git​ពីសោះ​ខូត ដូច​ខាងក្រោម៖ # cd /usr/ports/devel/git # make install clean សង្ឃឹម​ថា​ថ្ងៃ​ក្រោយ​ឆាប់ៗ កញ្ចប់​បាយនារី នឹង​បាន​បង្កើត​ឡើង​ ព្រោះខំផាយ​ពី សោះខូត​យើត​ណាស់ ជាពិសេស​ពេល​ខំផាយ​វា​លើ​ រ៉ាស់​ប៊ែរី​ផាយ។

May 29, 2015 · 1 min · 23 words · kenno

របៀបលុបណូត​ចេញ​ពី Puppet master

នៅ​កន្លែង​ធ្វើ​ការ​ ខ្ញុំ​ប្រើ​ Puppet ដើម្បី​គ្រប់​គ្រង​ ម៉ាស៊ីន​ជា​ច្រើន។ ជួនកាល​ខ្ញុំ​ត្រូ​វការលុប​ម៉ាស៊ីន​ចេញ ពី Puppet master ដោយ​សារ​ម៉ាស៊ីន​នោះ​លែង​ត្រូវ​ការហើយ។ នេះ​ជា​ជំហាន​ដែល​ត្រូវ​ធ្វើ៖ ១. លុបមាស៊ីន​ ឬ ណូត​នោះ​ពី puppet dashboard ២. លុប certificate របស់ម៉ាស៊ីននោះ​ចេញពី puppet master ដោយវាយ ខំម៉ាន # puppet cert clean node123.example.com ៣. ដោយសារ​ខ្ញុំ​ប្រើ PuppetDB ខ្ញុំ​ត្រូវ​លុប​ ណូត​នោះ ចេញ​ពី PuppetDB ដែរ # puppet node deactivate node123.example.com ខ្ញុំ​សរសេរ អត្ថបទ​នេះ ដើម្បី​រំលឹក​ខ្លួន​ឯង​ពេល​ខ្ញុំ​ត្រូវ​ការ​ធ្វើ​វា​ម្តង​ទៀត។ បើ​សិន​ជា​លោកអ្នក​ មាន​សំណូម​ពរ​ ឬ​សំណួរ​ទាក់ទង​នឹង​ ការប្រើប្រាស់ Puppet អាចសួរ​ខ្ញុំ​បាន៕

May 22, 2015 · 1 min · 52 words · kenno

R-tip: List installed R packages

> rownames(installed.packages()) [1] "bitops" "manipulate" "RCurl" "rgl" "rstudio" [6] "scrapeR" "XML" "base" "boot" "class" [11] "cluster" "codetools" "compiler" "datasets" "foreign" [16] "graphics" "grDevices" "grid" "KernSmooth" "lattice" [21] "MASS" "Matrix" "methods" "mgcv" "nlme" [26] "nnet" "parallel" "rpart" "spatial" "splines" [31] "stats" "stats4" "survival" "tcltk" "tools" [36] "utils" >

April 29, 2015 · 1 min · 47 words · kenno

Fixing “Starting version 219” bug in Kubuntu 15.04 Beta

After restarting my laptop which run Kubuntu 15.04 beta, it got stuck at a black screen with a message: Starting version 219. I tried to reboot it a few times, and it always displayed the same message. Fortunately, I found a solution from this page which fixed the problem. Here’s a recap on how to do it. When you see the above message, hit Ctrl + Alt + F2 Run sudo systemctl enable sddm.service -f ...

March 27, 2015 · 1 min · 94 words · kenno