Skip to content

Instantly share code, notes, and snippets.

View a-yasui's full-sized avatar
🐆
にゃおす

Atushi Jun Yasui a-yasui

🐆
にゃおす
View GitHub Profile
@a-yasui
a-yasui / LICENSE
Created July 18, 2026 05:16
日本語の要約スキル
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
@a-yasui
a-yasui / settings.json
Last active April 17, 2026 08:48
~/.claude/settings.json.tmpl
{
"env": {
"CLAUDE_CODE_MONITOR_GHOSTTY_ASKED": "1",
"CLAUDE_CODE_DISABLE_TERMINAL_TITLE": "1",
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1",
"teammateMode": "tmux",
"EDITOR": "emacs",
"VISUAL": "idea --wait -e"
},
"permissions": {
#!/usr/bin/env python3
# coding: -*- coding:utf_8 -*-
#
# whats this?
# this fetch the contents from wordpress using rest api and output to a article one by one to `output` directory.
# how to use?
# > mkdir output
# > curl -L https://example.com/wordpress_json > test.json
# > python3 json_to_markdown_converter.py test.json
@a-yasui
a-yasui / Dockerfile
Created March 10, 2025 06:48
Pandoc 3.6 から pandoc を自前の Docker に持ってくる方法
# pandoc import check
FROM pandoc/core:3.6.3-ubuntu AS pandoc
# 作成先
FROM ubuntu:24.04
COPY --from=pandoc /usr/local/bin/pandoc* /usr/local/bin/
COPY --from=pandoc /usr/local/lib/libffi* /usr/local/lib/
COPY --from=pandoc /usr/local/share /usr/local/share
@a-yasui
a-yasui / Dockerfile
Last active March 5, 2025 10:09
php/laravel and nodejs develop dockerfile
# PHP/Laravel + NodeJS
# same as : https://zenn.dev/at_yasu/scraps/1de9de2597fdb7
FROM node:23 as node
FROM composer:latest as composer
FROM php:8.3-apache
RUN apt-get update \
&& apt-get install -y \
git \
@a-yasui
a-yasui / tests.php
Created November 10, 2021 06:30
Dummy class to repository
<?php
namespace Main\Repository;
interface HogeRepository
{
public getVolumes(): int;
}
namespace Tests\Dummy;
@a-yasui
a-yasui / foo.php
Last active November 1, 2021 07:20
<?php
$accessLevel = 'foo';
echo ($accessLevel != "user‮ ⁦// Check if admin⁩ ⁦" ) ? '1' : 'nooo'
@a-yasui
a-yasui / ssl_check.sh
Last active June 6, 2021 23:28
SSL Certificate Display
#!/usr/bin/env bash
#
# ./ssl_check.sh <host>
#
# Via: https://serverfault.com/questions/661978/displaying-a-remote-ssl-certificate-details-using-cli-tools
host_name=$1
if [[ "X${host_name}" = "X" ]]; then
echo "./ssl_check.sh <host>"
@a-yasui
a-yasui / gitignore_global
Created March 23, 2021 04:09
Gitignore_Global at macOS
__pycache__
bzr-orphans
*.a
*.o
*.py[co]
*.so
*.sw[nop]
*~
.#*
[#]*#
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="atys php inspection" />
<inspection_tool class="ClassNameCollisionInspection" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="JSDuplicatedDeclaration" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="MethodCanBePrivateInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
<inspection_tool class="MethodShouldBeFinalInspection" enabled="false" level="WARNING" enabled_by_default="false" />
<inspection_tool class="MissingParameterTypeDeclarationInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
<inspection_tool class="MissingReturnTypeInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
<inspection_tool class="ToStringCallInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true" />