Skip to content

Instantly share code, notes, and snippets.

View halllllll's full-sized avatar
🌴
On vacation

halK halllllll

🌴
On vacation
  • I say, NO JOB
  • seaside, Niigata pref.
View GitHub Profile
@halllllll
halllllll / html_practice.html
Last active June 8, 2025 06:38 — forked from machida/html_practice.html
HTMLの練習(このレシピにマークアップをしてみましょう)
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>カレーのレシピ</title>
</head>
<body>
@halllllll
halllllll / 0決め打ちダミーアカウント生成.gs
Last active November 4, 2021 10:15
Google Apps Script - generate dummy account on sheet
const sheet = SpreadsheetApp.getActiveSheet();
/**
* カスタムメニュー作成
*/
function onOpen(e) {
const ui = SpreadsheetApp.getUi();
const menu = ui.createMenu('GIG');
menu.addItem("ダミーアカウント追加", 'genDummyMenu_');
{"lastUpload":"2019-08-10T07:58:42.864Z","extensionVersion":"v3.4.1"}
@halllllll
halllllll / alphabet.go
Created March 29, 2018 12:03
さっき作ったgenerate_alphabet.go を利用してa-zのstring出すやつ
package main
import (
"fmt"
)
func craetea2z() string {
alphabet := make([]rune, 0)
for cur := []rune("a"); ; cur[0] += 1 {
alphabet = append(alphabet, cur[0])
@halllllll
halllllll / generate_alphabet.go
Created March 28, 2018 15:44
runeってかbyteだけどそれを利用してアルファベットをaから作るやつ
package main
import (
"fmt"
)
func main(){
fmt.Println("アルファベット文字列の辞書順について.")
// 要はrune(byte)なのでアルファベット全部生成できないか?
alp := "a"
for _, v := range alp{
@halllllll
halllllll / nihongo_sort_join.go
Created March 28, 2018 05:14
nihongo is muzukasii-
package main
import (
"fmt"
"sort"
"strings"
)
func main(){
message := "いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑいもせす"
lnh := len([]rune(message))
ms := make([]string, lnh)
@halllllll
halllllll / reposityorytest.txt
Created February 5, 2018 04:35
repository test
tes
@halllllll
halllllll / utility.go
Last active March 4, 2021 00:21
go utilities for competitive programming
package main
import (
"bufio"
"fmt"
"os"
"reflect"
"strconv"
)
@halllllll
halllllll / nomusicmolife
Last active December 31, 2017 02:52
「urlの羅列.txtを一行ずつ読んでscdlに渡す、同時に何行目かを出す」をシェルで
length=`wc -l < ファイルのパス`
cur=1
for line in `cat ファイルのパス `; do echo "${cur}/${length}"; cur=`expr ${cur} + 1`; scdl -l ${line} -c; done
@halllllll
halllllll / pygame_install_log.md
Created September 19, 2017 06:18
anacondaでpygame動かすまでクッソハマった

anaconda+VSCでpygameをやりたかった

のだが、結局はできなかったのでspyderでなら動かせたしこれでいいやってなった。 ちなみにphase1の時点でwindowsでは成功した。

phase1: pygameインストール出来ず

確か、まずは久しぶりにanacondaを使うってことで

conda update conda
conda update anacodna