Commit 1e601037 authored by Bilheux, Jean-Christophe's avatar Bilheux, Jean-Christophe
Browse files

Trying our web site. Moved everything to the root

parent f9722885
jekyll build
> jekyll build
> jekyll build --destination <destination>
to get preview
> jekyll serve
then go to http://localhost:4000/
---
layout: post
title: "Welcome to the ORNL Neutron Imaging FAQ!"
date: 2017-10-03
categories: general
---
Using this web site, we are planning on making your life easier before, during and after your beam time at one of our 'CG1D' instrument.
We are trying to answer the most general questions but if you still can not find how to resolve your problem, feel free to contact us and we will
get back to you very quickly.
[jekyll-docs]: https://jekyllrb.com/docs/home
[jekyll-gh]: https://github.com/jekyll/jekyll
[jekyll-talk]: https://talk.jekyllrb.com/
---
layout: post
title: "How to log in to the CG1D analysis computer"
date: 2017-10-27
categories: software
---
Using your favorite browser, go to the following page
> https://cg1d-analysis2.ornl.gov
![ThinLinc Welcome Page](/assets/how_to_connect_to_our_analysis_computer/thinlinc_welcome_page.png)
Then enter your **ucams** and your **password** and hit ENTER.
At this point, if you already started a session in the past, you may have to enter your password again in the
screensaver window showing up
![ThinLink Screensaver](/assets/how_to_connect_to_our_analysis_computer/thinlinc_screensaver.png)
otherwise, you will directly reach your desktop of our analysis computer.
![Your Desktop](/assets/how_to_connect_to_our_analysis_computer/desktop_cg1d_analysis2.png)
\ No newline at end of file
---
layout: post
title: How to launch the jupyter notebooks
date: 2017-10-27
categories: software
tags: notebook
---
You will first need to connect to our analysis computer (check post in this web site)
Start a terminal session. You may already see the **terminal** icon at the top, or bottom of your screen
![launch terminal](/assets/how_to_launch_python_notebook/click_terminal.png)
or, if you don't see the icon, launch it via the list of programs
![launch terminal](/assets/how_to_launch_python_notebook/start_terminal.png)
Then, in the terminal window, type the following command
> /SNS/users/j35/bin/start_jupyter
This will perform the following processes:
- configure the system to run the right python environment
- bring all the notebooks into your environment
- move to the notebook location
- start the jupyter notebook session
![top folder of jupyter notebook](/assets/how_to_launch_python_notebook/start_jupyter_session.png)
To test your system, start any of the notebook (files ending by *pynb*) by clicking its name
![click notebook](/assets/how_to_launch_python_notebook/click_notebook.png)
and make sure the **kernel** is named **Python [default]**
![default kernel](/assets/how_to_launch_python_notebook/python_kernel_default.png)
If the kernel is NOT **Python [default]**, you need to change it by going to
*Kernel > Change kernel > Python [default]*
![new kernel](/assets/how_to_launch_python_notebook/change_kernel.png)
\ No newline at end of file
---
layout: post
title: Jupyter notebook 101
categories: software
date: 2017-10-28
tags: notebook
---
[![video tutorial](/assets/jupyter_notebook_101/video_tutorial.png)](https://www.youtube.com/watch?v=6KPK3KcwvT0)
Takeaways
=========
- Run each cell from top to bottom using **SHFIT + ENTER**
- Run one cell at a time. Make sure the cell is done processing before executing the next cell.
- top right closed circle means the notebook is running
![close circle](/assets/jupyter_notebook_101/progress.png)
- or background of cell is green
![green cell](/assets/jupyter_notebook_101/notebook_green_cell.png)
- You may encounter **widgets** inside the notebook. Make sure you interact with the widgets but do not run the cell again!
![widgets](/assets/jupyter_notebook_101/widgets.png)
- You will also have the option to select files or folders using an embedded file selector. Here how it works
- to move up one folder, click the **dot (..)** and click **Enter directory**
![file selector](/assets/jupyter_notebook_101/fileselectorpanel.png)
- once you reacht the right folder or files, click the **Select** button
- if you have the option to select several files, **left click** all the files, or **CTRL Click** each individual file.
\ No newline at end of file
......@@ -10,7 +10,7 @@
<meta name="description" content="This web site will answer all your questions, but if you still can not find an answer to your problem, contact us.">
<link rel="stylesheet" href="/assets/main.css">
<link rel="canonical" href="/404.html">
<link rel="canonical" href="http://localhost:4000/404.html">
<link rel="alternate" type="application/rss+xml" title="Neutron Imaging Tutorial" href="/feed.xml">
......
jekyll build
> jekyll build
> jekyll build --destination <destination>
to get preview
> jekyll serve
then go to http://localhost:4000/
......@@ -10,7 +10,7 @@
<meta name="description" content="This web site will answer all your questions, but if you still can not find an answer to your problem, contact us.">
<link rel="stylesheet" href="/assets/main.css">
<link rel="canonical" href="/about/">
<link rel="canonical" href="http://localhost:4000/about/">
<link rel="alternate" type="application/rss+xml" title="Neutron Imaging Tutorial" href="/feed.xml">
......
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.6.0">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2017-10-27T14:15:42-04:00</updated><id>/</id><title type="html">Neutron Imaging Tutorial</title><subtitle>This web site will answer all your questions, but if you still can not find an answer to your problem, contact us.</subtitle><entry><title type="html">Jupyter notebook 101</title><link href="/software/2017/10/27/jupyter-notebook-101.html" rel="alternate" type="text/html" title="Jupyter notebook 101" /><published>2017-10-27T00:00:00-04:00</published><updated>2017-10-27T00:00:00-04:00</updated><id>/software/2017/10/27/jupyter-notebook-101</id><content type="html" xml:base="/software/2017/10/27/jupyter-notebook-101.html">&lt;p&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=6KPK3KcwvT0&quot;&gt;&lt;img src=&quot;/assets/jupyter_notebook_101/video_tutorial.png&quot; alt=&quot;video tutorial&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.6.0">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2017-10-31T10:16:20-04:00</updated><id>http://localhost:4000/</id><title type="html">Neutron Imaging Tutorial</title><subtitle>This web site will answer all your questions, but if you still can not find an answer to your problem, contact us.</subtitle><entry><title type="html">Jupyter notebook 101</title><link href="http://localhost:4000/software/2017/10/28/jupyter-notebook-101.html" rel="alternate" type="text/html" title="Jupyter notebook 101" /><published>2017-10-28T00:00:00-04:00</published><updated>2017-10-28T00:00:00-04:00</updated><id>http://localhost:4000/software/2017/10/28/jupyter-notebook-101</id><content type="html" xml:base="http://localhost:4000/software/2017/10/28/jupyter-notebook-101.html">&lt;p&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=6KPK3KcwvT0&quot;&gt;&lt;img src=&quot;/assets/jupyter_notebook_101/video_tutorial.png&quot; alt=&quot;video tutorial&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1 id=&quot;takeaways&quot;&gt;Takeaways&lt;/h1&gt;
......@@ -22,7 +22,7 @@
&lt;li&gt;if you have the option to select several files, &lt;strong&gt;left click&lt;/strong&gt; all the files, or &lt;strong&gt;CTRL Click&lt;/strong&gt; each individual file.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</content><author><name></name></author><category term="notebook" /><summary type="html"></summary></entry><entry><title type="html">How to launch the jupyter notebooks</title><link href="/software/2017/10/27/how-to-launch-python-notebook.html" rel="alternate" type="text/html" title="How to launch the jupyter notebooks" /><published>2017-10-27T00:00:00-04:00</published><updated>2017-10-27T00:00:00-04:00</updated><id>/software/2017/10/27/how-to-launch-python-notebook</id><content type="html" xml:base="/software/2017/10/27/how-to-launch-python-notebook.html">&lt;p&gt;You will first need to connect to our analysis computer (check post in this web site)&lt;/p&gt;
&lt;/ul&gt;</content><author><name></name></author><category term="notebook" /><summary type="html"></summary></entry><entry><title type="html">How to launch the jupyter notebooks</title><link href="http://localhost:4000/software/2017/10/27/how-to-launch-python-notebook.html" rel="alternate" type="text/html" title="How to launch the jupyter notebooks" /><published>2017-10-27T00:00:00-04:00</published><updated>2017-10-27T00:00:00-04:00</updated><id>http://localhost:4000/software/2017/10/27/how-to-launch-python-notebook</id><content type="html" xml:base="http://localhost:4000/software/2017/10/27/how-to-launch-python-notebook.html">&lt;p&gt;You will first need to connect to our analysis computer (check post in this web site)&lt;/p&gt;
&lt;p&gt;Start a terminal session. You may already see the &lt;strong&gt;terminal&lt;/strong&gt; icon at the top, or bottom of your screen&lt;/p&gt;
......@@ -35,7 +35,7 @@
&lt;p&gt;Then, in the terminal window, type the following command&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;/SNS/users/j35/bin/start_jupyter notebooks&lt;/p&gt;
&lt;p&gt;/SNS/users/j35/bin/start_jupyter&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This will perform the following processes:&lt;/p&gt;
......@@ -60,7 +60,7 @@
&lt;p&gt;&lt;em&gt;Kernel &amp;gt; Change kernel &amp;gt; Python [default]&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/assets/how_to_launch_python_notebook/change_kernel.png&quot; alt=&quot;new kernel&quot; /&gt;&lt;/p&gt;</content><author><name></name></author><category term="notebook" /><summary type="html">You will first need to connect to our analysis computer (check post in this web site)</summary></entry><entry><title type="html">How to log in to the CG1D analysis computer</title><link href="/software/2017/10/27/how-to-connect-to-our-analysis-computer.html" rel="alternate" type="text/html" title="How to log in to the CG1D analysis computer" /><published>2017-10-27T00:00:00-04:00</published><updated>2017-10-27T00:00:00-04:00</updated><id>/software/2017/10/27/how-to-connect-to-our-analysis-computer</id><content type="html" xml:base="/software/2017/10/27/how-to-connect-to-our-analysis-computer.html">&lt;p&gt;Using your favorite browser, go to the following page&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/assets/how_to_launch_python_notebook/change_kernel.png&quot; alt=&quot;new kernel&quot; /&gt;&lt;/p&gt;</content><author><name></name></author><category term="notebook" /><summary type="html">You will first need to connect to our analysis computer (check post in this web site)</summary></entry><entry><title type="html">How to log in to the CG1D analysis computer</title><link href="http://localhost:4000/software/2017/10/27/how-to-connect-to-our-analysis-computer.html" rel="alternate" type="text/html" title="How to log in to the CG1D analysis computer" /><published>2017-10-27T00:00:00-04:00</published><updated>2017-10-27T00:00:00-04:00</updated><id>http://localhost:4000/software/2017/10/27/how-to-connect-to-our-analysis-computer</id><content type="html" xml:base="http://localhost:4000/software/2017/10/27/how-to-connect-to-our-analysis-computer.html">&lt;p&gt;Using your favorite browser, go to the following page&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;https://cg1d-analysis2.ornl.gov&lt;/p&gt;
......@@ -77,7 +77,7 @@ screensaver window showing up&lt;/p&gt;
&lt;p&gt;otherwise, you will directly reach your desktop of our analysis computer.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/assets/how_to_connect_to_our_analysis_computer/desktop_cg1d_analysis2.png&quot; alt=&quot;Your Desktop&quot; /&gt;&lt;/p&gt;</content><author><name></name></author><summary type="html">Using your favorite browser, go to the following page</summary></entry><entry><title type="html">Welcome to the ORNL Neutron Imaging FAQ!</title><link href="/general/2017/10/03/welcome-to-ORNL-neutron-imagingl.html" rel="alternate" type="text/html" title="Welcome to the ORNL Neutron Imaging FAQ!" /><published>2017-10-03T00:00:00-04:00</published><updated>2017-10-03T00:00:00-04:00</updated><id>/general/2017/10/03/welcome-to-ORNL-neutron-imagingl</id><content type="html" xml:base="/general/2017/10/03/welcome-to-ORNL-neutron-imagingl.html">&lt;p&gt;Using this web site, we are planning on making your life easier before, during and after your beam time at one of our ‘CG1D’ instrument.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/assets/how_to_connect_to_our_analysis_computer/desktop_cg1d_analysis2.png&quot; alt=&quot;Your Desktop&quot; /&gt;&lt;/p&gt;</content><author><name></name></author><summary type="html">Using your favorite browser, go to the following page</summary></entry><entry><title type="html">Welcome to the ORNL Neutron Imaging FAQ!</title><link href="http://localhost:4000/general/2017/10/03/welcome-to-ORNL-neutron-imagingl.html" rel="alternate" type="text/html" title="Welcome to the ORNL Neutron Imaging FAQ!" /><published>2017-10-03T00:00:00-04:00</published><updated>2017-10-03T00:00:00-04:00</updated><id>http://localhost:4000/general/2017/10/03/welcome-to-ORNL-neutron-imagingl</id><content type="html" xml:base="http://localhost:4000/general/2017/10/03/welcome-to-ORNL-neutron-imagingl.html">&lt;p&gt;Using this web site, we are planning on making your life easier before, during and after your beam time at one of our ‘CG1D’ instrument.&lt;/p&gt;
&lt;p&gt;We are trying to answer the most general questions but if you still can not find how to resolve your problem, feel free to contact us and we will
get back to you very quickly.&lt;/p&gt;</content><author><name></name></author><summary type="html">Using this web site, we are planning on making your life easier before, during and after your beam time at one of our ‘CG1D’ instrument.</summary></entry></feed>
\ No newline at end of file
......@@ -10,7 +10,7 @@
<meta name="description" content="Using this web site, we are planning on making your life easier before, during and after your beam time at one of our ‘CG1D’ instrument.">
<link rel="stylesheet" href="/assets/main.css">
<link rel="canonical" href="/general/2017/10/03/welcome-to-ORNL-neutron-imagingl.html">
<link rel="canonical" href="http://localhost:4000/general/2017/10/03/welcome-to-ORNL-neutron-imagingl.html">
<link rel="alternate" type="application/rss+xml" title="Neutron Imaging Tutorial" href="/feed.xml">
......
......@@ -10,7 +10,7 @@
<meta name="description" content="This web site will answer all your questions, but if you still can not find an answer to your problem, contact us.">
<link rel="stylesheet" href="/assets/main.css">
<link rel="canonical" href="/">
<link rel="canonical" href="http://localhost:4000/">
<link rel="alternate" type="application/rss+xml" title="Neutron Imaging Tutorial" href="/feed.xml">
......@@ -78,10 +78,10 @@
<li>
<span class="post-meta">Oct 27, 2017</span>
<span class="post-meta">Oct 28, 2017</span>
<h2>
<a class="post-link" href="/software/2017/10/27/jupyter-notebook-101.html">Jupyter notebook 101</a>
<a class="post-link" href="/software/2017/10/28/jupyter-notebook-101.html">Jupyter notebook 101</a>
</h2>
</li>
......
......@@ -10,7 +10,7 @@
<meta name="description" content="Using your favorite browser, go to the following page">
<link rel="stylesheet" href="/assets/main.css">
<link rel="canonical" href="/software/2017/10/27/how-to-connect-to-our-analysis-computer.html">
<link rel="canonical" href="http://localhost:4000/software/2017/10/27/how-to-connect-to-our-analysis-computer.html">
<link rel="alternate" type="application/rss+xml" title="Neutron Imaging Tutorial" href="/feed.xml">
......
......@@ -10,7 +10,7 @@
<meta name="description" content="You will first need to connect to our analysis computer (check post in this web site)">
<link rel="stylesheet" href="/assets/main.css">
<link rel="canonical" href="/software/2017/10/27/how-to-launch-python-notebook.html">
<link rel="canonical" href="http://localhost:4000/software/2017/10/27/how-to-launch-python-notebook.html">
<link rel="alternate" type="application/rss+xml" title="Neutron Imaging Tutorial" href="/feed.xml">
......@@ -93,7 +93,7 @@
<p>Then, in the terminal window, type the following command</p>
<blockquote>
<p>/SNS/users/j35/bin/start_jupyter notebooks</p>
<p>/SNS/users/j35/bin/start_jupyter</p>
</blockquote>
<p>This will perform the following processes:</p>
......
......@@ -10,7 +10,7 @@
<meta name="description" content="">
<link rel="stylesheet" href="/assets/main.css">
<link rel="canonical" href="/software/2017/10/27/jupyter-notebook-101.html">
<link rel="canonical" href="http://localhost:4000/software/2017/10/28/jupyter-notebook-101.html">
<link rel="alternate" type="application/rss+xml" title="Neutron Imaging Tutorial" href="/feed.xml">
......@@ -72,9 +72,9 @@
<header class="post-header">
<h1 class="post-title" itemprop="name headline">Jupyter notebook 101</h1>
<p class="post-meta">
<time datetime="2017-10-27T00:00:00-04:00" itemprop="datePublished">
<time datetime="2017-10-28T00:00:00-04:00" itemprop="datePublished">
Oct 27, 2017
Oct 28, 2017
</time>
</p>
</header>
......
---
layout: page
title: About Us
permalink: /about/
---
**Hassina Bilheux**: Instrument Scientist - h2b@ornl.gov
**Lou Santodonato**: Instrument Scientist
**Jiao Lin**: computer scientist
**Jean Bilheux**: computer scientist - j35@ornl.gov
---
layout: page
title: Gitlab Pages Demo
category: pages
navigation_weight: 1
# You don't need to edit this file, it's empty on purpose.
# Edit theme's home layout instead if you wanna make some changes
# See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults
layout: home
---
**Summary**: This page is an example of what a site might look like if it was created using the ORNL Pages automated static site service. This service leverages Git, Docker, Gitlab CI Runners, and Jekyll to allow users to maintain their own sites in Markdown or HTML through ORNL's internal GitLab services and publish those sites internally or externally. Additionally, users can choose between no authenication, XCAMS, UCAMS, or UCAMS + RSA for their sites.
Let's test some code:
{% highlight html linenos %}
<!-- News card -->
<div class="research-card-wrapper">
<div class="news-card">
<h3>News</h3>
<p>Teaser goes here.
</p>
<a href="" class="button">Read</a>
</div>
</div>
{% endhighlight %}
{% highlight css linenos %}
footer {
background-color: #006699;
}
{% endhighlight %}
**Links**:
* [GitLab: How to Create a Project](https://docs.gitlab.com/ee/gitlab-basics/create-project.html)
* [What is Docker?](https://www.docker.com/what-docker)
* [Kramdown Syntax](https://kramdown.gettalong.org/syntax.html)
* [How to Use Jekyll](https://jekyllrb.com/docs/home/)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment