Skip to content

Instantly share code, notes, and snippets.

View hikariru's full-sized avatar
:octocat:
Fine than you think

Uchiru hikariru

:octocat:
Fine than you think
View GitHub Profile
@hikariru
hikariru / coffee.md
Last active March 30, 2024 08:34
好きなコーヒー
  • ひたすら甘い
@hikariru
hikariru / Curriculum-Vitae.md
Last active January 13, 2024 12:03
職務経歴書(全年齢向けバージョン)(2024-01-01現在)

職務経歴書

基本情報

項目
氏名 H.U
最寄り駅 JR中央線 国分寺駅(栃木県宇都宮市に転居予定あり)
GitHub hikariru
Connpass hikariru
@hikariru
hikariru / gist:35ce611d752462d9e96a22467ac70ea6
Last active January 9, 2024 10:03
ほしい本リスト(買ったら消す)
@hikariru
hikariru / .zshrc
Last active November 22, 2020 05:53
.zshrc
setopt auto_cd
setopt share_history
alias ls='gls'
alias l='ls'
alias ll='ls -l'
alias la='ls -A'
alias la='ls -a'
alias cp='cp -i'
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
*://*.sejuku.net/*
*://*.stackoverrun.com/*
*://*.i-harness.com/*
*://*.codeday.me/*
*://*.voidcc.com/*
*://*.techacademy.jp/*
*://www.it-mure.jp.net/*
*://*.it-swarm-ja.com/*
*://*.it-swarm-ja.net/*
*://*.codeflow.site/*
public function generateSiteMap(): \DOMDocument
{
$sitemap = new \DOMDocument("1.0", "UTF-8");
// PHP公式ドキュメントに書いてあったなんかきれいにするやつ。なくてもGoogle先生は平気。
$sitemap->preserveWhiteSpace = false;
$sitemap->formatOutput = true;
$urlset = $this->sitemap->createElement('urlset');
$urlset->setAttribute('xmlns', 'http://www.sitemaps.org/schemas/sitemap/0.9');
@hikariru
hikariru / pre-commit
Created December 21, 2016 05:00
grumphpのフック書換え隊
#!/bin/sh
#
# Run the hook command.
# Note: this will be replaced by the real command during copy.
#
# Fetch the GIT diff and format it as command input:
DIFF=$(git diff -r -p -m -M --full-index --staged | cat)
parameters:
stop_on_failure: true
process_timeout: null
ascii:
failed: ~
succeeded: ~
tasks:
git_conflict: ~
phpcsfixer:
config_file: .php_cs