<?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: sasakihir</title>
    <description>The latest articles on DEV Community by sasakihir (@sasakihir).</description>
    <link>https://dev.to/sasakihir</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%2F518091%2Ff866d705-c8b2-4655-a78f-b3dc53a983f7.png</url>
      <title>DEV Community: sasakihir</title>
      <link>https://dev.to/sasakihir</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sasakihir"/>
    <language>en</language>
    <item>
      <title>fix .eslint.js</title>
      <dc:creator>sasakihir</dc:creator>
      <pubDate>Thu, 03 Dec 2020 07:21:01 +0000</pubDate>
      <link>https://dev.to/sasakihir/fix-eslint-js-10e6</link>
      <guid>https://dev.to/sasakihir/fix-eslint-js-10e6</guid>
      <description>&lt;p&gt;I fixed .eslint.js as below.&lt;br&gt;
I also changed new linecode of .eslint.js from LF to CRLF (I'm using Windows) at the bottom botton.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;module.exports = {
  env: {
    browser: true,
    es2021: true,
    node: true
  },
  extends: [
    "standard"
  ],
  parserOptions: {
    ecmaVersion: 12
  },
  rules: {
    indent: [
      "error",
      2,
      { SwitchCase: 1 }
    ],
    "linebreak-style": [
      "error",
      "windows"
    ],
    quotes: [
      "error",
      "double"
    ],
    semi: [
      "error",
      "always"
    ],
    "no-unused-vars": [
      "error",
      {
        vars: "all",
        args: "none"
      }
    ],
    "no-console": [
      "off"
    ]
  }
};

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

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>ESLint setting</title>
      <dc:creator>sasakihir</dc:creator>
      <pubDate>Wed, 02 Dec 2020 07:17:20 +0000</pubDate>
      <link>https://dev.to/sasakihir/eslint-setting-fgh</link>
      <guid>https://dev.to/sasakihir/eslint-setting-fgh</guid>
      <description>&lt;p&gt;day2&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;PS C:\Projects\weblog&amp;gt; .\node_modules\.bin\eslint --init
√ How would you like to use ESLint? · style       
√ What type of modules does your project use? · none
√ Which framework does your project use? · none
√ Does your project use TypeScript? · No / Yes
√ Where does your code run? · browser, node
√ How would you like to define a style for your project? · guide
√ Which style guide do you want to follow? · standard
√ What format do you want your config file to be in? · JavaScript
Checking peerDependencies of eslint-config-standard@latest
The config that you've selected requires the following dependencies:

eslint-config-standard@latest eslint@^7.12.1 eslint-plugin-import@^2.22.1 eslint-plugin-node@^11.1.0 eslint-plugin-promise@^4.2.1
√ Would you like to install them now with npm? · No / Yes
Installing eslint-config-standard@latest, eslint@^7.12.1, eslint-plugin-import@^2.22.1, eslint-plugin-node@^11.1.0, eslint-plugin-promise@^4.2.1
npm WARN weblog@1.0.0 No description
npm WARN weblog@1.0.0 No repository field.

+ eslint@7.14.0
+ eslint-plugin-import@2.22.1
+ eslint-plugin-node@11.1.0
+ eslint-config-standard@16.0.2
+ eslint-plugin-promise@4.2.1
added 71 packages from 47 contributors, updated 1 package and audited 183 packages in 27.729s

22 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Successfully created .eslintrc.js file in C:\Projects\weblog
PS C:\Projects\weblog&amp;gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;.eslintrc.js was created as below.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;module.exports = {
  env: {
    browser: true,
    es2021: true,
    node: true
  },
  extends: [
    'standard'
  ],
  parserOptions: {
    ecmaVersion: 12
  },
  rules: {
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>node.js start</title>
      <dc:creator>sasakihir</dc:creator>
      <pubDate>Tue, 01 Dec 2020 11:53:36 +0000</pubDate>
      <link>https://dev.to/sasakihir/node-js-start-1gpo</link>
      <guid>https://dev.to/sasakihir/node-js-start-1gpo</guid>
      <description>&lt;p&gt;I bought the course to create web application by node.js and express (mejor application framework on node.js) course on Udemy.&lt;/p&gt;

&lt;p&gt;*Udemy had a discount sale called cyber friday.&lt;/p&gt;

&lt;p&gt;I started Node.js udemy course.&lt;br&gt;
I installed Visual Studio Code.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I had installed node.js yet. Because I had tried to create some web application for me. But I don't know how I can create it on node.js. So, I bought node.js and express course on udemy and started to learn it.
My goal is to create the typing application for me.&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>[19c Multitenant] Automatically launch an instance</title>
      <dc:creator>sasakihir</dc:creator>
      <pubDate>Fri, 20 Nov 2020 23:20:36 +0000</pubDate>
      <link>https://dev.to/sasakihir/19c-multitenant-automatically-launch-an-instance-5gpk</link>
      <guid>https://dev.to/sasakihir/19c-multitenant-automatically-launch-an-instance-5gpk</guid>
      <description>&lt;p&gt;Seems to be the first article about Oracle on dv.io&lt;br&gt;
Enable autostart with oratab&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# vi /etc/oratab
orclcdb:/opt/oracle/product/19c/dbhome_1:Y
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Create a unit definition file&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# cd /etc/systemd/system
# vi dbora.service
[Unit]
Description=Oracle Database Service
After=network.target

[Service]
Type=forking
User=oracle
Group=dba
ExecStart=/opt/oracle/product/19c/dbhome_1/bin/dbstart /opt/oracle/product/19c/dbhome_1
ExecStop=/opt/oracle/product/19c/dbhome_1/bin/dbstart /opt/oracle/product/19c/dbhome_1

[Install]
WantedBy=multi-user.target
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Reload the daemon and start the service&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; systemctl daemon-reload
# systemctl enable dbora
Created symlink from /etc/systemd/system/multi-user.target.wants/dbora.service to /etc/systemd/system/dbora.service.
# systemctl start dbora
#
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Oracle has started properly&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# su - oracle
#
# sqlplus / as sysdba
SQL&amp;gt; select instance_name, status from v$instance;

INSTANCE_NAME    STATUS
---------------- ------------
orclcdb          OPEN
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>oracle</category>
    </item>
  </channel>
</rss>
