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

Trying something else by moving build web site

parent 1e601037
No preview for this file type
---
layout: layout
title: "Not Found"
---
<!DOCTYPE html>
<html lang="en">
<section class="content">
<h1>Not Found</h1>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<p>Sorry! Couldn't find that page. Bummer.</p>
</section>
\ No newline at end of file
<title>Neutron Imaging Tutorial</title>
<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="alternate" type="application/rss+xml" title="Neutron Imaging Tutorial" href="/feed.xml">
</head>
<body>
<header class="site-header" role="banner">
<div class="wrapper">
<a class="site-title" href="/">Neutron Imaging Tutorial</a>
<nav class="site-nav">
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
<label for="nav-trigger">
<span class="menu-icon">
<svg viewBox="0 0 18 15" width="18px" height="15px">
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
</svg>
</span>
</label>
<div class="trigger">
<a class="page-link" href="/about/">About Us</a>
</div>
</nav>
</div>
</header>
<main class="page-content" aria-label="Content">
<div class="wrapper">
<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>
<div class="container">
<h1>404</h1>
<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>
</div>
</main>
<footer class="site-footer">
<div class="wrapper">
<h2 class="footer-heading">Neutron Imaging Tutorial</h2>
<div class="footer-col-wrapper">
<div class="footer-col footer-col-1">
<ul class="contact-list">
<li>
Neutron Imaging Tutorial
</li>
<li><a href="mailto:bilheuxjm@ornl.gov">bilheuxjm@ornl.gov</a></li>
</ul>
</div>
<div class="footer-col footer-col-2">
<ul class="social-media-list">
<li>
<a href="https://github.com/jeanbilheux"><span class="icon icon--github"><svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/></svg>
</span><span class="username">jeanbilheux</span></a>
</li>
</ul>
</div>
<div class="footer-col footer-col-3">
<p>This web site will answer all your questions, but if you still can not find an answer to your problem, contact us.</p>
</div>
</div>
</div>
</footer>
</body>
</html>
source "https://rubygems.org/"
gem "json"
gem "json_pure"
gem "colorator"
gem "ffi"
gem "jekyll"
gem "jekyll-sass-converter"
gem "jekyll-watch"
gem "kramdown"
gem "liquid"
gem "mercenary"
gem "rouge"
gem "safe_yaml"
gem "sass"
gem "jekyll-sitemap"
gem "listen"
gem "rb-fsevent"
gem "rb-inotify"
GEM
remote: https://rubygems.org/
specs:
addressable (2.5.1)
public_suffix (~> 2.0, >= 2.0.2)
colorator (1.1.0)
ffi (1.9.18)
forwardable-extended (2.6.0)
jekyll (3.5.0)
addressable (~> 2.4)
colorator (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.3)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (~> 1.7)
safe_yaml (~> 1.0)
jekyll-sass-converter (1.5.0)
sass (~> 3.4)
jekyll-sitemap (1.1.1)
jekyll (~> 3.3)
jekyll-watch (1.5.0)
listen (~> 3.0, < 3.1)
json (2.0.2)
json_pure (1.8.3)
kramdown (1.13.2)
liquid (4.0.0)
listen (3.0.8)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
mercenary (0.3.6)
pathutil (0.14.0)
forwardable-extended (~> 2.6)
public_suffix (2.0.5)
rb-fsevent (0.9.8)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rouge (1.11.1)
safe_yaml (1.0.4)
sass (3.4.24)
PLATFORMS
ruby
DEPENDENCIES
colorator
ffi
jekyll
jekyll-sass-converter
jekyll-sitemap
jekyll-watch
json
json_pure
kramdown
liquid
listen
mercenary
rb-fsevent
rb-inotify
rouge
safe_yaml
sass
BUNDLED WITH
1.15.1
jekyll build
> jekyll build
> jekyll build --destination <destination>
to get preview
> jekyll serve
then go to http://localhost:4000/
#Name of the site
name: ORNL Enterprise Architecture Reference
#Short description
description: The reference site for ITSD Enterprise Architecture Documentation
markdown: kramdown
plugins:
- jekyll-sitemap
<ol class="breadcrumb">
<li><a href="{{ site.baseurl }}/">Home</a></li>
{% capture page_url_without_index_html %}{{ page.url | remove: "/index.html" }}{% endcapture %}
{% assign splitted_url_parts = page_url_without_index_html | split: '/' %}
{% capture forLoopMaxInt %}{{ splitted_url_parts.size | minus:1 }}{% endcapture %}
{% for i in (1..forLoopMaxInt) %}
{% capture current_breadcrumb_url %}{{next_prepender}}/{{ splitted_url_parts[i] }}/index.html{% endcapture %}
{% capture current_breadcrumb_md_url %}{{next_prepender}}/{{ splitted_url_parts[i] }}/{% endcapture %}
{% capture next_prepender %}{{next_prepender}}/{{ splitted_url_parts[i] }}{% endcapture %}
{% for breadcrumb_page in site.pages %}
{% if current_breadcrumb_url == breadcrumb_page.url or
current_breadcrumb_md_url == breadcrumb_page.url %}
{% capture breadcrumb_page_page_url_without_index_html %}{{ breadcrumb_page.url | remove: "index.html" }}{% endcapture %}
{% assign j = forLoopMaxInt | plus: 0 %}
<li {% if i == j %}class="active"{% endif %}>
<a href="{{ site.baseurl }}{{breadcrumb_page_page_url_without_index_html}}">{{breadcrumb_page.breadcrumb}}</a>
</li>
{% endif %}
{% endfor %}
{% endfor %}
</ol>
<section class="footer">
<ul class="menu">
<li><a href="https://www.ornl.gov/ornl/contact-us/Security--Privacy-Notice">Privacy</a></li>
<li><a href="https://www.ornl.gov/content/accessibility">Accessibility</a></li>
<li><a href="https://www.ornl.gov/content/contact-us">Contact Us</a></li>
<li><a href="https://www.ornl.gov">ORNL Home Page</a></li>
</ul>
<section class="infoclassification">
{{ site.data.ornlinfo.classification }}
<section>
<section class="pagestatus">
{{ page.pagestatus }}
</section>
</section>
<script src="{{ site.url }}/js/vendor/jquery.js"></script>
<script src="{{ site.url }}/js/vendor/what-input.js"></script>
<script src="{{ site.url }}/js/vendor/foundation.min.js"></script>
<script src="{{ site.url }}/js/app.js"></script>
<head>
<meta charset="utf-8">
<title>
{% if page.title %}
{{ page.title }} &ndash;
{% endif %}
{{ site.name }}
</title>
<link rel="alternate" type="application/rss+xml" href="/atom.xml" />
<link rel="stylesheet" href="{{ site.url }}/css/foundation.min.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="{{ site.url }}/css/app.css" type="text/css" media="screen, projection" />
<link media="only screen and (max-device-width: 480px)" href="{{ site.github.url }}/css/mobile.css" type="text/css" rel="stylesheet" />
<link media="only screen and (device-width: 768px)" href="{{ site.github.url }}/css/mobile.css" type="text/css" rel="stylesheet" />
<link rel="apple-touch-icon" href="{{ site.github.url }}/apple-touch-icon.png" />
<script type="text/javascript" src="{{ site.github.url }}/js/application.js"></script>
<link rel="stylesheet" href="{{ site.url }}/css/syntax.css" type="text/css" media="screen, projection" />
</head>
<div class="title-bar" data-responsive-toggle="example-menu" data-hide-for="medium">
<button class="menu-icon" type="button" data-toggle></button>
<div class="title-bar-title">Menu</div>
</div>
<div class="top-bar-left">
<a href="/" aria-label="Avatar">
<img src="/images/ornl-logo.png" height="105px" width="280px" class="avatar" />
</a>
</div>
<div class="top-bar" id="example-menu">
{% include navbar.html %}
</div>
<div class="top-bar-right">
<ul class="dropdown menu" data-dropdown-menu>
<!--<ul class="vertical medium-horizonal menu">-->
<!--<li><a href="/about.html">About</a></li>
<li><a href="/projects.html">Projects</a></li>
<li><a href="/blog.html">Blog</a></li>
<li><a href="/contact.html">Contact</a></li>-->
{% assign navigation_pages = site.html_pages | sort: 'navigation_weight' %}
{% for p in navigation_pages %}
{% if p.navigation_weight %}
<li>
<a href="{{ p.url }}" {% if p.url == page.url %}class="active"{% endif %}>
{{ p.title }}
</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
<section id="article">
<h3>Related Links</h3>
<ul>
<li><a href="#">Test link</a></li>
<li><a href="#">Related link</a></li>
<li><a href="#">Another type of link</a></li>
</ul>
</section>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
{% include head.html %}
<body>
<div class="container">
<div class="row expanded header-section">
<div class="medium-12 columns">
<div class="row align-justify align-middle">
{% include header.html %}
</div>
</div>
</div>
<div class="row">
<div class="medium-12 columns">
{% include breadcrumbs.html %}
</div>
</div>
</div>
<div class="row content-section">
<div class="small-12 medium-9 columns">
{{ content }}
</div>
<div class="medium-3 columns">
{% include sidebar.html %}
</div>
</div>
<div class="row expanded footer-section">
<div class="medium-12 columns">
<div class="row align-justify align-middle">
{% include footer.html %}
</div>
</div>
</div>
</div>
</body>
</html>
---
layout: layout
---
<section class="content">
<h1>{{ page.title }}
</h1>
{{ content }}
</section>
\ No newline at end of file
---
layout: layout
excerpt_separator: <!--more-->
---
<section class="content">
<h1>
<a href="{{ page.url }}">{{ page.title }}</a>
</h1>
<section class="byline">
{{ page.date | date: "%B %e, %Y" }}
</section>
{{ content }}
<!-- TODO: bio here -->
<section class="meta">
<h3>Discussion, links, and tweets</h3>
<section class="copy">
<a href="https://twitter.com/{{ site.twitter }}" target="_blank">
<img src="{{ site.github.owner_gravatar_url }}?s=142" height="50" width="50" />
</a>
<p>
I'm a developer at ORNL. <a href="https://twitter.com/{{ site.twitter }}" target="_blank">Follow me on Twitter</a>.
</p>
<a href="http://twitter.com/share" class="twitter-share-button" data-count="none" data-via="{{ site.twitter }}">Tweet</a>
<a href="http://twitter.com/{{ site.twitter }}" class="twitter-follow-button" data-show-count="false">Follow @{{ site.twitter }}</a>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
</section>
</section>
</section>
\ No newline at end of file
---
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Neutron Imaging Tutorial</title>
<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="http://localhost:4000/404.html">
<link rel="alternate" type="application/rss+xml" title="Neutron Imaging Tutorial" href="/feed.xml">
</head>
<body>
<header class="site-header" role="banner">
<div class="wrapper">
<a class="site-title" href="/">Neutron Imaging Tutorial</a>
<nav class="site-nav">
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
<label for="nav-trigger">
<span class="menu-icon">
<svg viewBox="0 0 18 15" width="18px" height="15px">
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
</svg>