openSUSE mini Summit 2018

openSUSE mini Summit 2018

I had a talk at the openSUSE mini Summit 2018 about my private cloud. I had build this for my personal testing. This cloud is enough for my use but it’s costy for running due to the electricity. So, I’m thinking to use more efficient machines like Raspberry Pi or something like that. I think NUC boxes are better but costy for the initial cost.. Happy Hacking!

2018-06-23 · 1 分 · Masayuki Igawa
Snapper

Snapper

I found that snapper of openSUSE is very useful! When I faced an update trouble, it worked very well without any trouble! Basically, we tend to forget to make a backup everyday every time by hand because it’s not necessary normally. However, the thing is happen all of a sudden! This is the first time to use that tool. It worked very well without any trouble. So, I think snapper is a very good feature. By default, openSUSE setups snapper on your root volume w/ btrfs. So you can use it like this, We can rollback where you want. To use snapper, it’s very easy. By default, snapper creates snapshots every zypper updates. So, if you want to rollback, you just need to select the option to rollback on the boot menu. Or you can specify a snapshot like this: ...

2018-02-09 · 1 分 · Masayuki Igawa
Keeping my contribution during a month

Keeping my contribution during a month

I have some feelings about keeping my contribution through a month on My GitHub profile. What’s the tricks? Have your own github repositories and contribute them. Dump out everything to the github repositories as possible. Forget the limitation. We can commit everything to github repositories even if your blog posts. What are the Positive/Negative/Action Items? Positive Almost green! Negtive Only white on Dec. 13 It was green for some days. But it was turned to white suddenly. This might be caused by this rule: https://help.github.com/articles/why-are-my-contributions-not-showing-up-on-my-profile/ Not only actual code but also issues and blog posts Action Keep it, anyway. Even if it’ll be a blog post or issue. Mixed contribution like issues, comments, push patches are better to avoid an accident. Try to write more code. Happy Hacking!

2017-12-25 · 1 分 · Masayuki Igawa
Simple HTTPServer in Python

Simple HTTPServer in Python

This is an article for 鰻 Advent Calendar 2017. Every time I’d like to use a http server in development such as checking generated HTML documentation files, I need to google how to do it. So I post a blog as a memorandum. Python2 $ python -m SimpleHTTPServer [PORT] # default port is 8000 Serving HTTP on 0.0.0.0 port 8000 ... Python3 $ python3 -m http.server [PORT] # default port is 8000 Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ... Happy Hacking!

2017-12-18 · 1 分 · Masayuki Igawa
Ubuntuでデフォルトのエディタをnanoからvimに変更

Ubuntuでデフォルトのエディタをnanoからvimに変更

Ubuntuのデフォルトエディタはnanoというやつですが、 操作方法がさっぱりわからんので、vimに変更します。 参考にしたサイトは、 「Ubuntu のデフォルトエディタを nano から vim に変更する方法」です。 まずは、vimのインストールから。 $ sudo apt-get install vim パッケージリストを読み込んでいます... 完了 依存関係ツリーを作成しています 状態情報を読み取っています... 完了 以下の特別パッケージがインストールされます: vim-runtime 提案パッケージ: ctags vim-doc vim-scripts 以下のパッケージが新たにインストールされます: vim vim-runtime アップグレード: 0 個、新規インストール: 2 個、削除: 0 個、保留: 10 個。 6,563kB のアーカイブを取得する必要があります。 この操作後に追加で 27.1MB のディスク容量が消費されます。 続行しますか [Y/n]? 取得:1 http://jp.archive.ubuntu.com/ubuntu/ maverick/main vim-runtime all 2:7.2.330-1ubuntu4 [5,707kB] 取得:2 http://jp.archive.ubuntu.com/ubuntu/ maverick/main vim i386 2:7.2.330-1ubuntu4 [856kB] 6,563kB を 4秒 で取得しました (1,315kB/s) 未選択パッケージ vim-runtime を選択しています。 (データベースを読み込んでいます ... 現在 153356 個のファイルとディレクトリがインストールされています。) (.../vim-runtime_2%3a7.2.330-1ubuntu4_all.deb から) vim-runtime を展開しています... Adding 'diversion of /usr/share/vim/vim72/doc/help.txt to /usr/share/vim/vim72/doc/help.txt.vim-tiny by vim-runtime' Adding 'diversion of /usr/share/vim/vim72/doc/tags to /usr/share/vim/vim72/doc/tags.vim-tiny by vim-runtime' 未選択パッケージ vim を選択しています。 (.../vim_2%3a7.2.330-1ubuntu4_i386.deb から) vim を展開しています... man-db のトリガを処理しています ... vim-runtime (2:7.2.330-1ubuntu4) を設定しています ... Processing /usr/share/vim/addons/doc vim (2:7.2.330-1ubuntu4) を設定しています ... update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode. そして、update-alternativesコマンドで変更。 ...

2011-01-26 · 2 分 · Masayuki Igawa
Ubuntu(10.10)で最新Kernelビルド

Ubuntu(10.10)で最新Kernelビルド

UbuntuでKernelをビルドしたくなり、そのときのメモ。 http://dogmap.jp/2009/06/19/rebuild-kernel/ を、参考に(ほぼそのままですが)しました。 /*** カーネル再構築に必要なパッケージをインストール ***/ $ sudo apt-get install build-essential $ sudo apt-get install kernel-package libncurses5-dev libqt3-mt-dev $ sudo apt-get install git git-core $ sudo apt-get install fakeroot /*** カーネルソースをインストールして展開 ***/ $ mkdir ~/src; cd src $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git /*** .config ファイルの作成 ***/ $ cd linux-2.6 $ cp /boot/config-2.6.35-xx-generic .config /*** 好きなconfigをONにする。今回は、LGUESTと 例のミラクルパッチwをONにしてみた http://gihyo.jp/admin/clip/01/linux_dt/201011/18 ***/ $ make menuconfig /*** カーネルのリビルド ***/ $ fakeroot make-kpkg clean $ fakeroot make-kpkg --initrd --revision=.20110121 kernel_image kernel_headers 今はここまで。これが終わったら、以下を実行予定。 /*** .deb ができるので dpkg でインストール ***/ $ cd .. $ dpkg -i linux-image-2.6.38.xx_20110121_x86.deb # スクリプト化しよう。。 (2011/01/30追記)だったが、うまくいかなかった。。が、 試行錯誤し、以下のようなパッチをあててなんとかできるようになった。 --- /usr/share/kernel-package/ruleset/kernel_version.mk.orig 2008-05-02 07:06:28.000000000 +0200 +++ /usr/share/kernel-package/ruleset/kernel_version.mk 2010-07-08 00:02:45.316669641 +0200 @@ -62,7 +62,7 @@ @echo "$(strip $(EXTRAVERSION))" debian_LOCALVERSION: - @echo $(if $(strip $(localver-full)),"$(strip $(localver-full))", "$(strip $(LOCALVERSION))") + @./scripts/setlocalversion debian_TOPDIR: # 2.6 kernels declared TOPDIR obsolete, so use srctree if it exists 参考サイト:http://d.hatena.ne.jp/kinneko/20110111/p53

2011-01-22 · 1 分 · Masayuki Igawa
picture

Simple Massager v1.1.1 released!

Simple Massager v1.1.1をリリースしました。 v1.1.1: 画面表示をよりシンプルにわかりやすくしたつもりです。 もし、バグを見つけたり、ご意見などありましたら、 下記のgithub ウェブサイトでその問題点等の書き込みをしてくれると嬉しいです♪ http://github.com/masayukig/Simple-Massager/issues ダウンロードは、以下を読み取っても可能です。

2010-10-29 · 1 分 · Masayuki Igawa
Androidアプリを作って公開してみた - Simple Massager

Androidアプリを作って公開してみた - Simple Massager

初めて、Androidアプリを作って公開してみた。 “Simple Massager” というアプリです。 機能は非常に単純で、 振動開始・停止 ランダム振動・連続振動の選択 が出来るのみです。 最大の欠点は、 「デバイスの振動が弱すぎてほとんど使いものにならない」 というところですw 次のアプリのアイデアもあるので、それの開発に着手したいと思います。 なお、ソースコードは、以下で公開しています。 http://github.com/masayukig/Simple-Massager 英語版ブログはhttp://blog.orzlabs.org/

2010-10-13 · 1 分 · Masayuki Igawa
Vimから投稿するテスト

Vimから投稿するテスト

http://mattn.kaoriya.net/software/vim/20070831122307.htm の記事を参考に、vimから投稿してみます。

2009-11-21 · 1 分 · Masayuki Igawa
Ubuntu(8.10)上のFirefoxで日本語フォントがおかしい(中国語フォント?)

Ubuntu(8.10)上のFirefoxで日本語フォントがおかしい(中国語フォント?)

Ubuntu(8.10)上のFirefoxで日本語フォントがおかしい(中国語フォント?)と言う現象に遭遇したので、 解決するためのメモ。 http://forum.ubuntulinux.jp/viewtopic.php?id=3124 https://bugs.launchpad.net/ubuntu-jp-improvement/+bug/272387 を参考に(というかそのままだがw)、 $ sudo ln -s /etc/fonts/conf.avail/69-language-selector-ja-jp.conf /etc/fonts/conf.d/ を、実行。ブラウザリロード(not リスタート)で、即解決。

2008-12-13 · 1 分 · Masayuki Igawa