Search this site

Thursday, May 31, 2018

Install Jupyter in windows 10

As my previous diary is about jupyter here

so now I will make a note how to install jupyter in windows 10 (my current OS)
I assume you already have anaconda installed

To install jupyter we need to do this step
python  -m pip install jupyter

I think it will be the same in linux, but I haven't try it yet

pip install jupyter
And done


Then after that you can run it by type
jupyter notebook
on you command prompt

It will open http://localhost:8888/ in your browser

Jupyter python

So I started to use python 1 year ago,
usually I just write the code in notepad++ (really?)
yeah it is notepad++
not because I don't need any IDE, but just because I am too lazy to install it
and notepad++ is enough for me (I just need the colors things - for now)

Then I saw some of my friend use jupyter, so I will try to use it
why?
because I curious about ipython, i from internet maybe, I am not sure
but maybe it will be fun

It is for debugging perline/cell and make a beautiful doc in your doc

I already put how to install jupyter in windows 10 here

Tuesday, February 4, 2014

Enable login in phpmyadmin

Now I want to enable login in my phpmyadmin

First change root password (both) using phpmyadmin
Then after you change it, it will send you an error message
Open this file
C:\xampp\phpMyAdmin\config.inc.php
Change the line 19
$cfg['Servers'][$i]['auth_type'] = 'config';
To
$cfg['Servers'][$i]['auth_type'] = 'cookie';
And also line 23
$cfg['Servers'][$i]['AllowNoPassword'] = true;
To
$cfg['Servers'][$i]['AllowNoPassword'] = false;
After that restart you apache
Done
 

Change phpmyadmin's URL in XAMPP windows

I just setting my phpmyadmin in windows
I installed it using XAMPP

And I want to change the phpmyadmin's URL
default: 127.0.0.1/phpmyadmin and I want to change it to 127.0.0.1/myownlink

It's not hard
just open this file
C:\xampp\apache\conf\extra\httpd-xampp.conf
 In line 99
Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
Change it to
 Alias /myownlink "C:/xampp/phpMyAdmin/"

And don't forget to restart your apache in XAMPP
Done

Wednesday, January 29, 2014

Power Saver in Ubuntu

After I move to ubuntu 13.10 from windows 7
I have some problem
one of them is power saver in ubuntu
If my windows can stay 3 hour with battery only then my ubuntu only 1 hour

One of my friends tell me to install power top
it is a software for linux to save your power

sudo apt-get install powertop

And run in terminal

sudo powertop

you can choose which process you want to save