Androidの無料アプリ「iPP Podcast Player」が秀逸で素晴らしい。

私は、幾つかの、Podcastのプレーヤーを試してみたが、これが一番見栄えも良いし、使い勝手も良い。

更には、無料で何時までも使える物です。

Podcastプレーヤーの中には、途中まで無料で使えるが、数週間使ったら、突然使えなくなって、

使い続けたければ、アプリにお金を払って下さいという、お決まりの物もあって(;´Д`)、

いやぁ、極力お金を使いたくないから。という方は、これをお勧めしたいですね。

 

アプリの画面は、スタイリッシュだし、素晴らしく使っていて楽しくなるような、画面です。

是非、お使いになって見て下さい。

そして、お気に入りのPodcastが見つかるように、お祈りしております。

banner_gp

2014-04-29 01.19.16

2014-04-29 01.11.25

 

 

 

elementary OSで自動で壁紙をダウンロードして、変更するアプリケーション。

el-1717見晴らしのいい街並みや・・・、

Screenshot-elementaryosオサレな、壁紙に・・・、

elお兄さん好みの、壁紙まで、色々とDownloadされて、適用されます♪

[crayon]

$ sudo add-apt-repository ppa:peterlevi/ppa
$ sudo apt-get update
$ sudo apt-get install variety

[/crayon]

時計も載せられます。

そして、名言格言も載せられますよ。

とっても、ラクラク♪ 素敵な壁紙をお楽しみ下さい!

参照:http://ubuntu.firebird.jp/archives/4465

elementary OSの終了時と、起動時にシェルを実行する方法。

システム終了時(再起動時)に、シェルを自動実行する方法は、下記のように設定する。
[crayon]

# vi /etc/init.d/rc
——————————————————————————————
#! /bin/sh
#
# rc
#
# Starts/stops services on runlevel changes.
#
# Optimization: A start script is not run when the service was already
# configured to run in the previous runlevel.  A stop script is not run
# when the the service was already configured not to run in the previous
# runlevel.
#
# Authors:
#       Miquel van Smoorenburg <miquels@cistron.nl>
#       Bruce Perens <Bruce@Pixar.com>
##################################################
# 下記の例のように、このシェルの頭のところあたりに、下記の三行を追加する。
if test x$RUNLEVEL = x0 -o x$RUNLEVEL = x6 ; then
su -c “/root/stop-reboot.sh”
fi
##################################################
PATH=/sbin:/usr/sbin:/bin:/usr/bin
export PATH

# Un-comment the following for interactive debugging. Do not un-comment
….
….
….
[/crayon]
システム起動時に、シェルを自動実行する方法は、下記のように設定する。

[crayon]

# vi /etc/rc.local
——————————————————————————————

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will “exit 0” on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
##############################################
# 下記の”exit 0″の前に、シェルなどを書き足せばおk。
su -c “/root/start.sh”
##############################################
exit 0
[/crayon]

参照:http://wikiwiki.jp/disklessfun/?exec-cmd

Linux Mint 16 Petraでeclipseを使用し、C言語開発する為の、準備。

[crayon]
# apt-get install eclipse pleiades eclipse-cdt build-essential
(インストール時間は結構長めです!)
# vi /etc/eclipse.ini
##### 末尾に下記を追加する。 (一行で書く。)#####
-javaagent:/usr/lib/eclipse/plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar
###########################################
# exit
$ eclipse -clean
(初回の起動だけこれを実行する。二回目以降は、普通にアイコンから起動する。)
[/crayon]

で、おk。

私は、最初、eclipseがインストールできたはいいものの、その次の、コンパイルの時点で、”stdio.hが見つからない”というような、エラーメッセージが出てきて、コンパイルができなかったのですよね。
調べたら、”build-essential”をインストールすれば、いいと書いてあったので、やってみたら、上手く行きました!
これから、私も、Linux Mintで、C言語開発者だ! (まだ早いか?(^_^;) 一個くらい、大きなプログラム組んでからだよね。)

参照:http://untakanta.blogspot.jp/2013/01/ubuntu-1210-eclipse-38-cdt-81-pleiades.html
参照:http://mstssk.blogspot.jp/2008/08/ubuntucbuild-essential.html

C言語 演習6-1

[crayon]
/*
============================================================================
Name : ensyuu6-1.c
Author :
Version :
Copyright : Your copyright notice
Description : Hello World in C, Ansi-style
============================================================================
*/

#include

int minof(int x, int y)
{
int i;
i = (x > y) ? y : x;
return(i);
}

int main(void)
{
int na, nb;

puts(“二つの整数を入力して下さい。”);
printf(“整数1:”); fflush(0); scanf(“%d”, &na);
printf(“整数2:”); fflush(0); scanf(“%d”, &nb);

printf(“小さい方の値は%dです。\n”, minof(na, nb));

return(0);
}
[/crayon]

elementary OSで、CGI(Perl)を、public_html配下で動かす方法。

[crayon]
# which perl

/usr/bin/perl

# ln -s /usr/bin/perl /usr/local/bin/perl

# apt-get install apache2

# a2enmod userdir

# vi /etc/apache2/mods-enabled/userdir.conf

UserDir public_html
UserDir disabled root


AllowOverride All (変更する。)
Options ExecCGI FollowSymLinks (変更する。)

Order allow,deny
Allow from all


Order deny,allow
Deny from all


# vi /etc/apache2/httpd.conf
AddHandler cgi-script .cgi .pl
ServerName localhost
DirectoryIndex index.html index.htm index.cgi

DocumentRoot /home/USERNAME/public_html/html/hogehoge1
ServerName hoge1.gedatsu.jp


DocumentRoot /home/USERNAME/public_html/html/hogehoge2
ServerName hoge2.gedatsu.jp

# /etc/init.d/apache2 restart
[/crayon]
ここで、Web Patioという、掲示板を試験的にインストールします。

http://www.kent-web.com/bbs/patio.html
から、各自ダウンロードしてください。

このCGIは、FFFTPか、WinSCPなどで、サーバー側に解凍した物をASCII形式でUPLOADしないと、後で、CGIをブラウザで閲覧したら、”Internal Server Error”が表示されます。

お気を付け下さい。

※chmod,chownを適切に行なって下さい。(重要です)
パーミッション”755″にしたい場合には、次のように打ちます。
[crayon]# chmod 755 patio.cgi[/crayon]

“patio”フォルダ以下のファイル所有者を”USERNAME”に設定する場合には、次のように打ちます。
[crayon]# chown -R USERNAME. /home/USERNAME/public_html/html/hogehoge1/patio[/crayon]

“init.cgi”を、各々説明に従って、設定して下さい。
そして、自宅サーバーの場合には、Hosts Fileを変更する。
Hosts Fileの置き場所は、Windows 8.1では、下記の通りです。

[crayon]C:\Windows\System32\Drivers\etc\hosts[/crayon]

LinuxのHosts Fileの置き場所は、[crayon]/etc/hosts[/crayon]です。

[crayon]192.168.0.100 hoge1.gedatsu.jp hoge2.gedatsu.jp[/crayon]
さて、ここまで設定したら、ブラウザで、次のように打って、CGIが表示されるか、確かめましょう。
(例1)http://hoge1.gedatsu.jp/patio/patio.cgi
(例2)http://hoge2.gedatsu.jp/patio/patio.cgi

DistroWatch、ページヒットランキング、Last 7 daysで、elementary OSがナント4位! スンバラシイです!!

elementaryoselementary OSが、DistroWatch、ページヒットランキング、Last 7 daysで、4位になっております。

まぁ、期間が短い間のランキングですから、ご参考までにということですが、

しかしながら、短期間でありますが、4位になるのは、とても素晴らしいです。

私は、このまま突っ走って下さい! と思いました。

シンプル イズ ベストという考えは、好きですよ。

基礎の基礎しか、インストールしないで、後はご自由にどうぞ! という感じのLinux OSなので、

私はもっと上を目指して行ってくださいと願っております!(^ω^)

Elementary OSのclamavのWarningが消えて、0.98.1にバージョンアップがなされました。

[crayon]
# freshclam -v
Current working dir is /var/lib/clamav
Max retries == 5
ClamAV update process started at Sat Apr  5 14:20:41 2014
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 1221
Software version from DNS: 0.98.1
main.cvd version from DNS: 55
main.cvd is up to date (version: 55, sigs: 2424225, f-level: 60, builder: neo)
daily.cvd version from DNS: 18742
daily.cld is up to date (version: 18742, sigs: 869678, f-level: 63, builder: neo)
bytecode.cvd version from DNS: 236
bytecode.cld is up to date (version: 236, sigs: 43, f-level: 63, builder: dgoddard)
[/crayon]

となって、バージョンは、0.98.1に上がった模様ですね。ホッとしました♪