Skip to content

Instantly share code, notes, and snippets.

View omas-public's full-sized avatar

Omas Naohiko omas-public

View GitHub Profile

Chapter 5 Install

CentOS7のインストールをVirtualBox上で行う。

VirtualBox設定

Network

  • vboxnet(hostonly)設定を行う
  • NatNetwork設定を行う

CentOSにneovimをInstall

enviroment

  • CentosBox/Centos-7-v7.4-Minimal-CLI (on Vagrant)
  • gcc 4.8.5

Install

update

サーバ技術者養成講座(2024 Term I)

環境設定

  • virtualbox
  • vagrant
  • centos/7

仮想ネットワーク設定

# split_space = lambda s: [int(c) for c in s.split(' ')]
split_space = lambda s: list(map(int, s.split(' ')))
fn1 = lambda l, start, end: sum(l[start : end])
fn2 = lambda l, start, end: sum([n for index, n in enumerate(l) if start <= index <= end])
def fn4(l, start, end):
sum = 0
for index, value in enumerate(l):
if start <= index <= end:
sum += value
_not = lambda p: not p
_and = lambda p, q: p and q
_or = lambda p, q: p or q
_xor = lambda p, q: not(p and q) and (p or q)
comparator = lambda fn: lambda list: fn(*list)
bit = [True, False]
twobit = [
[False, False]
, [False, True]
, [True, False]
import { useState, useRef, useEffect } from 'react'
const Chat = () => {
const refInput = useRef('')
const [messages, setMessages] = useState(null)
useEffect(() => {
const json = localStorage.getItem('chat') ?? '[]'
setMessages(JSON.parse(json))
}, [])

AWS Practitioner

(AWS Cloud Adoption Framework(AWS CAF))[https://aws.amazon.com/jp/cloud-adoption-framework/]

ビジネス

クラウドへの投資がデジタルトランスフォーメーションの野望とビジネスアウトカムの加速を支援します。

  • 最高経営責任者 (CEO)
  • 最高財務責任者 (CFO)

0206.md

const data = JSON.stringify([{ id: 1, name: 'hoge' }])
localStorage.setItem('test1', data)
localStorage.test2 = data
const test1 = localStorage.getItem('test1')
const getAddress = id => {
const ss = SpreadsheetApp.openById(id)
const list = ss.getSheetByName('list').getDataRange().getValues()
const contents = ss.getSheetByName('contents').getDataRange().getValues()
return {
content: contents.at(0),
users: list.slice(1)
}
}