Skip to content

Instantly share code, notes, and snippets.

View lulichn's full-sized avatar

Daisuke Higashi lulichn

  • Tokyo, Japan
View GitHub Profile
@lulichn
lulichn / provision.sh
Last active February 27, 2024 02:40
provision.sh
#!/bin/bash
set -e
TERRAFORM_VERSION=1.7.4
ECSPRESSO_VERSION=2.3.2
get_arch() {
local arch=$(uname -m)
if [ "$arch" = "x86_64" ]; then
$x('//section[@class="booklist clear"]//article').forEach(x => {if (!x.textContent.match(/特価/)) { x.style.display = 'none' } })
@lulichn
lulichn / _summary.md
Last active December 1, 2021 02:25
MySQL on Docker

SysBench

CPU 種別 イベント数
Intel Native 4260
Intel Docker Desktop 487
Intel Docker on Lima 171
M1 Native 9027
M1 Docker Desktop 56
@lulichn
lulichn / 01-users1.md
Last active December 23, 2021 03:13
practice

ユーザー情報の一覧を取得する

GET /users
@lulichn
lulichn / README.md
Last active June 24, 2021 02:30
Cloud9 - python

環境構築

Python 3.8.x のインストール

Poetryのインストール

poetry は requirements.txtの 出力のみに利用する

$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -
@lulichn
lulichn / OffsetDateTime.java
Created February 6, 2020 03:27
OffsetDateTime
OffsetDateTime.of(
OffsetDateTime
.now(ZoneId.of("Asia/Tokyo"))
.atZoneSameInstant(ZoneId.of("UTC"))
.toLocalDateTime(),
ZoneOffset.UTC)
.atZoneSameInstant(ZoneId.of("Asia/Tokyo"));
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="Hello, world!">
<Require feature="opensocial-0.8" />
</ModulePrefs>
<Content type="html">
<![CDATA[
<div>Token: <input type="text" id="token" /></div>
<div>Token: <input type="text" id="player" /></div>
@lulichn
lulichn / statements.md
Last active October 10, 2019 04:07
Tagamis statements
  • 泣く蟻 (令和元年九月二十七日 オフィスにて)
    クライアント
@lulichn
lulichn / init.ps1
Last active September 3, 2019 16:53
Install-PackageProvider -Force ChocolateyGet
$packageList = @(
'GoogleChrome',
'VisualStudioCode',
'jetbrainstoolbox',
'slack',
'google-drive-file-stream',
'SourceTree',
'yarn',