<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Koji Toyota</title>
    <description>The latest articles on DEV Community by Koji Toyota (@toyotarone).</description>
    <link>https://dev.to/toyotarone</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F45189%2F64b731a3-079d-474e-a3c4-e581d4b2eed1.JPG</url>
      <title>DEV Community: Koji Toyota</title>
      <link>https://dev.to/toyotarone</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/toyotarone"/>
    <language>en</language>
    <item>
      <title>How to use SVG on Processing(p5)</title>
      <dc:creator>Koji Toyota</dc:creator>
      <pubDate>Fri, 01 Jun 2018 06:37:10 +0000</pubDate>
      <link>https://dev.to/toyotarone/how-to-use-svg-on-processingp5-1gj9</link>
      <guid>https://dev.to/toyotarone/how-to-use-svg-on-processingp5-1gj9</guid>
      <description>&lt;p&gt;First of all, my sample program is &lt;a href="https://github.com/toyotine/processing_graphics_test"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h1&gt;
  
  
  Prerequisites
&lt;/h1&gt;

&lt;p&gt;You've installed &lt;a href="https://processing.org/"&gt;Processing&lt;/a&gt; on your PC/Mac.&lt;br&gt;
Also please get a SVG file to show.&lt;/p&gt;
&lt;h1&gt;
  
  
  How to
&lt;/h1&gt;

&lt;p&gt;At first, you have to prepare &lt;code&gt;PShape&lt;/code&gt; object.&lt;br&gt;
After that, call the &lt;code&gt;loadShape&lt;/code&gt; method.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;PShape some_kind_of_shape;
some_kind_of_shape = loadShape("Some_Kind_of_Shape.svg");

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Actually, I defined PShape variable as static in my sample code for simplicity.&lt;/p&gt;

&lt;p&gt;After you've prepared the object properly, just calling &lt;code&gt;shape&lt;/code&gt; method in &lt;code&gt;draw&lt;/code&gt; method and you can see your svg.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void draw() {
  background(255);
  shape(some_kind_of_shape, position_x, position_y, shape_width, shape_height);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>processing</category>
      <category>p5</category>
      <category>java</category>
    </item>
    <item>
      <title>The way I installed Ruby on my mac</title>
      <dc:creator>Koji Toyota</dc:creator>
      <pubDate>Mon, 08 Jan 2018 08:14:03 +0000</pubDate>
      <link>https://dev.to/toyotarone/the-way-i-installed-ruby-on-my-mac-1lah</link>
      <guid>https://dev.to/toyotarone/the-way-i-installed-ruby-on-my-mac-1lah</guid>
      <description>&lt;h1&gt;
  
  
  Prerequisite
&lt;/h1&gt;

&lt;p&gt;Please install &lt;a href="https://docs.brew.sh/"&gt;Homebrew(official)&lt;/a&gt; on your mac.&lt;/p&gt;

&lt;h1&gt;
  
  
  Install rbenv and ruby-build
&lt;/h1&gt;

&lt;p&gt;At first, I recommend you to install &lt;a href="https://github.com/rbenv/rbenv"&gt;rbenv&lt;/a&gt; and &lt;a href="https://github.com/rbenv/ruby-build"&gt;ruby-build&lt;/a&gt;. They enables you to control Ruby versions flexibly.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;brew install rbenv ruby-build
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Although I heard that this way tends to yield(don't catch up with the newest version of ruby), it is simple.&lt;/p&gt;

&lt;h1&gt;
  
  
  Initialize rbenv
&lt;/h1&gt;

&lt;p&gt;Just execute below&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;rbenv init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command will add &lt;code&gt;eval "$(rbenv init -)"&lt;/code&gt; to your &lt;code&gt;~/.bash_profile&lt;/code&gt;.&lt;br&gt;
Please check it like this&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;less ~/.bash_profile
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you can't find out the line &lt;code&gt;export PATH="$HOME/.rbenv/bin:$PATH"&lt;/code&gt; and &lt;code&gt;eval "$(rbenv init -)"&lt;/code&gt;, please add it by yourself.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After that, restart your terminal or reload your &lt;code&gt;.bash_profile&lt;/code&gt; with this command.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;source ~/.bash_profile
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And you can check you could install &lt;code&gt;rbenv&lt;/code&gt; or not by this command&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;rbenv -v
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command will return the version of &lt;code&gt;rbenv&lt;/code&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Choose the ruby version and install it.
&lt;/h1&gt;

&lt;p&gt;OK, now we can get the list of the versions of Ruby with below.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;rbenv install -l
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This time, I assume that we chose &lt;code&gt;2.5.0&lt;/code&gt; as the target.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;rbenv install 2.5.0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Many commands will be executed.&lt;br&gt;
After they are finished, try this.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;rbenv versions
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and you can get like this&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;* system
  2.5.0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This indicates you have &lt;code&gt;Ruby 2.5.0&lt;/code&gt; but you are using the pre-installed Ruby.&lt;br&gt;
So, let's change to the target ruby with below&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;rbenv global 2.5.0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Check your rbenv
&lt;/h1&gt;

&lt;p&gt;For now, your mac is ready to use the &lt;code&gt;Ruby 2.5.0&lt;/code&gt;, but I recommend you to check the status of your &lt;code&gt;rbenv&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will indicate the install status of rbenv.&lt;/p&gt;

</description>
      <category>ruby</category>
      <category>mac</category>
      <category>beginners</category>
    </item>
    <item>
      <title>How to install node.js on macOS with nodebrew.</title>
      <dc:creator>Koji Toyota</dc:creator>
      <pubDate>Thu, 28 Dec 2017 12:59:37 +0000</pubDate>
      <link>https://dev.to/toyotarone/how-to-install-nodejs-on-macos-with-nodebrew-4627</link>
      <guid>https://dev.to/toyotarone/how-to-install-nodejs-on-macos-with-nodebrew-4627</guid>
      <description>&lt;h1&gt;
  
  
  Install Homebrew
&lt;/h1&gt;

&lt;p&gt;See below:&lt;br&gt;
&lt;a href="https://brew.sh/"&gt;Homebrew(official)&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;
  
  
  Install nodebrew
&lt;/h1&gt;

&lt;p&gt;After you installed Homebrew, you should execute below&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;brew install nodebrew
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you want to check whether you could get it or not, please type this command.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;nodebrew -v
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and you can see the version of your nodebrew.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;nodebrew 0.9.8

Usage:
    nodebrew help                         Show this message
    nodebrew install &amp;lt;version&amp;gt;            Download and install &amp;lt;version&amp;gt; (compile from source)
    nodebrew install-binary &amp;lt;version&amp;gt;     Download and install &amp;lt;version&amp;gt; (binary file)
    nodebrew uninstall &amp;lt;version&amp;gt;          Uninstall &amp;lt;version&amp;gt;
    nodebrew use &amp;lt;version&amp;gt;                Use &amp;lt;version&amp;gt;
    nodebrew list                         List installed versions
    nodebrew ls                           Alias for `list`
    nodebrew ls-remote                    List remote versions
    nodebrew ls-all                       List remote and installed versions
    nodebrew alias &amp;lt;key&amp;gt; &amp;lt;value&amp;gt;          Set alias
    nodebrew unalias &amp;lt;key&amp;gt;                Remove alias
    nodebrew clean &amp;lt;version&amp;gt; | all        Remove source file
    nodebrew selfupdate                   Update nodebrew
    nodebrew migrate-package &amp;lt;version&amp;gt;    Install global NPM packages contained in &amp;lt;version&amp;gt; to current version
    nodebrew exec &amp;lt;version&amp;gt; -- &amp;lt;command&amp;gt;  Execute &amp;lt;command&amp;gt; using specified &amp;lt;version&amp;gt;

Example:
    # install from binary
    nodebrew install-binary v0.10.22

    # use a specific version number
    nodebrew use v0.10.22

    # io.js
    nodebrew install-binary io@v1.0.0
    nodebrew use io@v1.0.0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After you installed nodebrew, I recommend you to add the PATH of nodebrew to your &lt;code&gt;.bash_profile&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;echo 'export PATH=$PATH:$HOME/.nodebrew/current/bin' &amp;gt;&amp;gt; ~/.bash_profile
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Install node.js
&lt;/h1&gt;

&lt;p&gt;Before you install node.js, check the latest version of node.js on official website.&lt;br&gt;
&lt;a href="https://nodejs.org/en/"&gt;node.js official website&lt;/a&gt;&lt;br&gt;
You might find out 2 or more versions of node.js.&lt;br&gt;
I recommend you to install LTS(Long Term Support) version.&lt;/p&gt;

&lt;p&gt;If you decided the version, type below and you can see all versions you can install.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;nodebrew ls-remote
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Can you find out the version you want? O.K. Let's install it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;nodebrew install-binary &amp;lt;THE-VERSION-YOU-WANT&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Please replace the  to the version you want to install.&lt;/p&gt;

&lt;p&gt;If you get error like below,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Warning: Failed to create the file 
Warning: /Users/&amp;lt;YOUR-USER-NAME&amp;gt;/.nodebrew/src/v8.9.3/node-v8.9.3-darwin-x64.tar.gz: No 
Warning: such file or directory
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Make the folder which is needed with this command.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;mkdir -p ~/.nodebrew/src
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and retry &lt;code&gt;nodebrew install-binary &amp;lt;THE-VERSION-YOU-WANT&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Launch node.js
&lt;/h1&gt;

&lt;p&gt;Before launching node.js, check the nodebrew.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;nodebrew ls
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can get like below:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;v8.9.3

current: none
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is the list of node.js versions you have and current node.js version.&lt;br&gt;
The line &lt;code&gt;current: none&lt;/code&gt; means your system haven't set the node.js.&lt;br&gt;
So, type this&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;nodebrew use &amp;lt;THE-VERSION-YOU-WANT&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After that, please execute this&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;node -v
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you could set node.js appropriately, you can get the return about the node.js version like below.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;v8.9.3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's all! Now you can build amazing project with node.js!&lt;/p&gt;

</description>
      <category>node</category>
    </item>
    <item>
      <title>How to host your Hugo website on GitHub pages</title>
      <dc:creator>Koji Toyota</dc:creator>
      <pubDate>Wed, 27 Dec 2017 13:01:36 +0000</pubDate>
      <link>https://dev.to/toyotarone/how-to-host-your-hugo-website-on-github-pages-4aa2</link>
      <guid>https://dev.to/toyotarone/how-to-host-your-hugo-website-on-github-pages-4aa2</guid>
      <description>&lt;h1&gt;
  
  
  What is Hugo?
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://gohugo.io/"&gt;Official site&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Installing Hugo
&lt;/h1&gt;

&lt;p&gt;At first, Install Hugo.&lt;br&gt;
&lt;a href="https://gohugo.io/getting-started/installing/"&gt;Install Hugo (official)&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;
  
  
  Setup
&lt;/h1&gt;

&lt;p&gt;Follow the procedures below:&lt;br&gt;
&lt;a href="http://gohugo.io/getting-started/quick-start/"&gt;Quick start&lt;/a&gt;&lt;br&gt;
You can skip step1.&lt;/p&gt;

&lt;p&gt;About step3, some websites might explain using &lt;code&gt;git clone&lt;/code&gt; instead of &lt;code&gt;git submodule&lt;/code&gt;.&lt;br&gt;
You can choose either, but I recommend you to use &lt;code&gt;git submodule&lt;/code&gt; because using it enables you tracking the newest version of the theme.&lt;br&gt;
If you chose &lt;code&gt;git clone&lt;/code&gt;, You should add themes folder to .gitignore like below:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;echo 'themes/' &amp;gt;&amp;gt; .gitignore
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Add contents
&lt;/h1&gt;

&lt;p&gt;If you chose &lt;code&gt;gohugo-theme-ananke&lt;/code&gt; as your theme, you should see below:&lt;br&gt;
&lt;a href="https://themes.gohugo.io/gohugo-theme-ananke/#getting-started"&gt;Getting started(gohugo-theme-ananke)&lt;/a&gt;&lt;br&gt;
Of course you can add your first content with&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;hugo new posts/foobar.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;but I recommend you to copy the contents of &lt;code&gt;exampleSites&lt;/code&gt; from &lt;code&gt;gohugo-theme-ananke&lt;/code&gt; and tinker them.&lt;/p&gt;

&lt;h1&gt;
  
  
  Config your config.toml
&lt;/h1&gt;

&lt;p&gt;If you wanna upload the website to your GitHub Pages, you should modify &lt;code&gt;config.toml&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;baseURL = "https://&amp;lt;YOUR-USER-NAME&amp;gt;.github.io/"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The part &lt;code&gt;&amp;lt;YOUR-USER-NAME&amp;gt;&lt;/code&gt; should be your user name of github.&lt;/p&gt;

&lt;p&gt;And if you are tracking the &lt;a href="http://gohugo.io/getting-started/quick-start/"&gt;Quick start&lt;/a&gt; you should add the line below like official procedure:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;theme = "ananke"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Launch Hugo locally
&lt;/h1&gt;

&lt;p&gt;Execute below&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;hugo server
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and hugo starts soon.&lt;br&gt;
Let's access to &lt;code&gt;localhost:1313&lt;/code&gt; with your web browser.&lt;br&gt;
You can see the aesthetic of the website.&lt;/p&gt;
&lt;h1&gt;
  
  
  Build your website
&lt;/h1&gt;

&lt;p&gt;When you done your website, please execute&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;hugo
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Hugo builds your website under &lt;code&gt;public&lt;/code&gt; folder.&lt;/p&gt;

&lt;h1&gt;
  
  
  Upload your website
&lt;/h1&gt;

&lt;p&gt;Before you upload it, you should add &lt;code&gt;public&lt;/code&gt; to your &lt;code&gt;.gitignore&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;echo 'public/' &amp;gt;&amp;gt; .gitignore
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and move to public folder&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd public
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After that, &lt;code&gt;git push&lt;/code&gt; whole contents of the &lt;code&gt;public&lt;/code&gt; folder.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git init
git remote add origin https://github.com/&amp;lt;YOUR-USER-NAME&amp;gt;/&amp;lt;YOUR-USER-NAME&amp;gt;.github.io
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then, access your website &lt;code&gt;https://&amp;lt;YOUR-USER-NAME&amp;gt;.github.io&lt;/code&gt;&lt;/p&gt;

</description>
      <category>hugo</category>
    </item>
    <item>
      <title>How to get innodb_lock_wait_timeout with Ruby on Rails</title>
      <dc:creator>Koji Toyota</dc:creator>
      <pubDate>Thu, 21 Dec 2017 02:46:14 +0000</pubDate>
      <link>https://dev.to/toyotarone/how-to-get-innodblockwaittimeout-with-ruby-on-rails-28bl</link>
      <guid>https://dev.to/toyotarone/how-to-get-innodblockwaittimeout-with-ruby-on-rails-28bl</guid>
      <description>

&lt;p&gt;[Session]&lt;br&gt;
&lt;code&gt;ActiveRecord::Base.connection.select_all(“SELECT @@SESSION.innodb_lock_wait_timeout”).to_hash&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;[Global]&lt;br&gt;
&lt;code&gt;ActiveRecord::Base.connection.select_all(“SELECT @@GLOBAL.innodb_lock_wait_timeout”).to_hash&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;


</description>
      <category>rails</category>
      <category>mysql</category>
    </item>
  </channel>
</rss>
