Skip to content

Instantly share code, notes, and snippets.

const args = process.argv;
const numbers = args.filter((_e, i) => i != 0 && i != 1).map((n) => Number(n));
console.log('ソート前', numbers);
function bubble_sort(numbers: number[]): number[] {
let ordered_index: number | undefined = undefined;
let i = 0;
while (ordered_index != numbers.length) {
let current_index: number | undefined = undefined;
let y = 0;
@pistachiyoda
pistachiyoda / html_practice.html
Last active November 5, 2021 01:46 — forked from machida/html_practice.html
HTMLの練習(このレシピにマークアップをしてみましょう)
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>カレーのレシピ</title>
</head>
<body>
<article>
<h1>カレーのレシピ</h1>
<p> 誰でもできる、美味しいカレーの作り方です。旦那も息子もこのカレーが大好物。 ポイントは玉ねぎと人参はミキサーで細かくしてしまうところ。逆にコクのある美味しいカレーになります。 </p>
@pistachiyoda
pistachiyoda / index.html
Created April 11, 2020 16:22
js-primer(ajax)
<html lang="ja">
<head>
<meta charset="utf-8" />
<title>Ajax Example</title>
</head>
<body>
<h2>GitHub User Info</h2>
<input id="userId" type="text" value="js-primer-example" />
<button onclick="main();">Get user info</button>
<div id="result"></div>
import json
import urllib.parse
import boto3
import gzip
import csv
from datetime import datetime
from operator import itemgetter, attrgetter
def lambda_handler(event, context):
# 使用するバケット