Another Japan in the World

Jun Aruga's blog, who lived in Japan, Singapore, live in Czech Republic. Mainly about IT and travel.

IT

Install MongoDB 3.4.3 on Fedora 26

IT

Use the RPM packages. In case of Fedora MongoDB RPM Package, mongodb RPM includes the client commands "mongo". mongodb-server RPM includes the server files and the commands such as "mongod" and "mongos". Install Install is easy. Just type …

Visualization is a key for learning

I realized it recently. I am saving my memory's main structure as an image. It is something like the Tree trunk: saving as an image or sense. Small branches and leaves: saving as an text. To get information from my brain. Maybe I am access…

A picture of Machine Intelligence companies

IT

It's fun. The Current State of Machine Intelligence 3.0 www.shivonzilis.com

Install Docker on Mac 10.9

IT

I installed Docker on my Mac. The situation is the latest Docker does not support my old Mac. But by installing Docker toolbox including Docker, I could use Docker on Mac. To install the toolbox, see this page. https://store.docker.com/edi…

Python Best Practices & Cython

IT

This is a memo for Python’s Best Practices and C extension from Python. I have heard that from my colleague. Python’s Best Practices The Hitchhiker’s Guide to Python! — The Hitchhiker's Guide to Python : So far, this site is the best. PEP …

Python, Bio Tools and me

IT

My idea Needless to say, recently bio industry’s development is remarkable. After finishing first human genome’s full sequence, the investment by governments and big company, related services. I am a fascinated person for that. I have lots…

Install RPM from source on Fedora

IT

When I used Fedora 23, I was not able to build RPM due to errors. However today when I tried to do it on Fedora 25, I was able to build and install. Great. I will note the build success day here. Install $ git clone git@github.com:rpm-soft…

Upgrade Fedora 24 to 25

IT

Yesterday I upgraded Fedora 24 to 25 reading below article that I used last time. [1] Unfortunately I have faced several issues after that. I want to take note for that here. There are some articles about Upgrading Fedora [2][3]. Later I w…

Install Python 2.7.13 from source on Mac

IT

Continuing from previous article. $ cd ~/hg/cpython Check latest version in v2.x. v2.7.13 is latest version for that. $ hg tags | grep 'v2\.7' Below command hg update -r something is like a git checkout something. $ hg update -r v2.7.13 31…

Download cpytyon with Mercurial

IT

I wanted to compile python from source code, reading a document[1]. However I was failed to do it last time. [2] hg clone was failed because of the issue. It may be because of my PC’s poor memory environment. $ hg clone https://hg.python.o…

Mercurial training

IT

I started to use Mercurial that is another source code management (SCM) tool such as Git. Nowadays there are many SCM tools, such as CVS, SVN, VSS, Git, Mercurial. CVS, SVN, and VSS is central repository management tool. Those are already …

Git Tips

IT

I will summarize tips that I learned after reading a Git book. git describe Show the most recent tag that is reachable from a commit For example, we know a commit hash that a bug was fixed. And we can find fixed version base on the commit …

Think about the Python environment like Ruby Bundler

IT

Want to use Python environment like Ruby Bundler! Ruby Bundler is very convenient. Below process is so common before starting development for a RugyGem package. $ git clone GIT_URL/foo.git $ cd foo $ bundle install --path vendor/bundle $ b…

Install Python 3.5.2 from source on Mac

IT

Python Install latest stable version Python 3.5.2 on Mac. Seeing official site [1]. However as I was not able to download with Mercurial (hg command), that is on the official site, get the source from git mirror. [2] Install from Git sourc…

Install Ruby 2.3.3 from source on Mac

IT

Install Ruby 2.3.3 from source on Mac. Use git to get the source. $ cd ~/git/ruby $ git pull --tags $ git checkout v2_3_3 $ autoconf $ ./configure --prefix=/usr/local/ruby-2.3.3 \ --with-openssl-dir=`brew --prefix openssl` 2>&1 \ | tee -a …

Linux Conference in Berlin

This week I have been in Berlin for Linux Confernce Europe 2016. 15 years ago I attended Linux Confernce. I was a student. But the price for the ticket was still acceptable. But now it has been changed. It is expensive for them to buy it. …

Future of Fedora

IT

Current Technology https://fedoraproject.org/wiki/Releases Check ChangeSet about Fedora 23, 24. https://fedoraproject.org/wiki/Releases/23/ChangeSet https://fedoraproject.org/wiki/Releases/24/ChangeSet Culture See those great presentations…

Upgrading Fedora 23 to Fedora 24

IT

Recently I upgraded Fedora 23 to 24. GUI did not work for me. But below CUI commands worked. Upgrading Fedora 23 Workstation to Fedora 24 - Fedora Magazine

Vim tips

IT

Help :h :h command such :h gU :h text_file_name. Insert long line 80 x "=" string : 80 i = Esc Insert one indent for one range ma (scroll) >`a Convert a word to upper case, lower case. Convert the word to upper case: gUaw Convert the word …

Github: Pull-request & Rebase

IT

Today I will take note for one tips of pull-request.For example, imagine this scenario.1. Fork from upstream repository. upstream: https://github.com/foo/bar.git forked: https://github.com/junaruga/bar.git 2. Git clone from forked own repo…

Ruby Bundler

IT

Bundler is Ruby's gem package management tool.This time I will write a note about this tool. Install $ gem install bundle Basic $ bundle --help $ bundle help [command] $ bundle --version Help See: http://bundler.io/v1.11/man/bundle.1.html …

Gem command

IT

Gem - It is package manager for Ruby, not to mention.Check "gem" command tightly now. Basic Help $ gem -h Display version $ gem -v 2.5.1 Update gem itself. $ gem update --system ... Display change log. ... $ gem -v 2.6.2 Environment variab…

Debugger in Ruby

IT

ruby -rdebug It is good to use it without any additional gem. $ ruby -rdebug your_ruby.rb (rdb:1) h Debugger help v.-0.002b Commands b[reak] [file:|class:]<line|method> b[reak] [class.]<line|method> set breakpoint to some position wat[ch] <expression> set watchpoint to some ex</expression></line|method></line|method>…

Bash - pushd, popd, dirs

IT

At first, "cd -" may be popular feature for bash's cd. "cd -" make your directory to go back to the previous directory. $ cd /tmp $ cd /etc $ pwd /etc $ cd - /tmp $ pwd /tmp So, how about pushd, popd, dirs? These are bash build-in commands…

Vim command cheat list

IT

My Vim ManualSorry Vim. I have used you many times, for a long time. But I did not understand you deeply. Now it is time to do it. Help Basic: :help About Normal Mode: :help x About Visual Mode: :help v_u Grep: :helpgrep word File open/clo…

Install tmux

IT

Install and use tmux which is multi window tool in the terminal.Tmux official page: tmuxEnvironment: Host OS: Mac, Guest OS: Fedora23 Install tmux Check the list of current installed dnf packages. tmux is not installed. $ dnf list installe…

sudo settings

IT

sudo setings to use any command without password.Not to forget it.Environment: Host OS: Mac, Guest OS: Fedora 23 # visudo %your_name ALL=(ALL) NOPASSWD: ALL $ sudo your_any_command

Static Analysis Tools for Ruby on Mac

IT

Summary Try below Ruby static analysis tools. Rubocop: Check Ruby code by Rudy Style Guide. Reek: The tool which find bad smell that may (but not necessarily do) indicate a deeper problem. Brakeman: A vulnerability scanner for Ruby and Rai…

Static Analysis Tools for C language on Mac

IT

Try to use static analysis tools for C language on Mac, such as Perl's Perl::Critic, PHP's phpcs.Tried Clang Static Analyzer, and Splint. Clang Static Analyzer A lint tool for Mac, and UNIX platform. Install Download checker-NNN.tar.bz2 fi…

Boot processes on Fedora Linux 23

IT

Fedora 23 is using GRUB2 as boot loader, and systemd that was replaced from SysV Init Script.Maybe because of systemd, the Linux's boot is very faster than past Fedora Linux (Fedora Core 2 or 3) that I used past time.Today I want to write …