-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
232 changed files
with
7,231 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Deploy to GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout your repository using git | ||
uses: actions/checkout@v4 | ||
- name: Install, build, and upload your site | ||
uses: withastro/action@v1 | ||
|
||
deploy: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# build output | ||
/dist/ | ||
|
||
# generated types | ||
.astro/ | ||
|
||
# dependencies | ||
node_modules/ | ||
|
||
# logs | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
# environment variables | ||
.env | ||
.env.production | ||
|
||
# macOS-specific files | ||
.DS_Store | ||
|
||
# jetbrains setting folder | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"extends": "stylelint-config-standard", | ||
"rules": { | ||
"alpha-value-notation": null, | ||
"custom-property-pattern": null, | ||
"declaration-block-no-redundant-longhand-properties": null, | ||
"no-descending-specificity": null, | ||
"no-empty-source": null, | ||
"property-no-vendor-prefix": null, | ||
"selector-class-pattern": null, | ||
"selector-id-pattern": null, | ||
"rule-empty-line-before": null, | ||
"selector-attribute-quotes": null, | ||
"value-keyword-case": null | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"recommendations": ["astro-build.astro-vscode"], | ||
"unwantedRecommendations": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"command": "./node_modules/.bin/astro dev", | ||
"name": "Development server", | ||
"request": "launch", | ||
"type": "node-terminal" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,48 @@ | ||
<script src="https://lavoscore.org/analytics.js"></script> | ||
# Astro Starter Kit: Basics | ||
|
||
- Author: [@debiru_R](https://twitter.com/debiru_R) (debiru) / coeurl | ||
- GitHub: [https://github.com/debiru/](https://github.com/debiru/) | ||
- Blog: [http://debiru.hatenablog.com/](http://debiru.hatenablog.com/) | ||
- Website: | ||
- [https://lavoscore.org/](https://lavoscore.org/) | ||
- [https://debiru.net/](https://debiru.net/) | ||
```sh | ||
npm create astro@latest -- --template basics | ||
``` | ||
|
||
## Contents | ||
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics) | ||
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/basics) | ||
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/basics/devcontainer.json) | ||
|
||
- 2015-08-30 | ||
- [お前は table-cell に position: relative できなかった人の数を覚えているのか - @debiru](https://debiru.net/slide/20150830/table-relative/) | ||
- 2016-04-07 | ||
- [VALUE-DOMAIN に存在していたアカウント乗っ取り可能な CSRF 脆弱性について - debiruはてなメモ](https://debiru.hatenablog.com/entry/20160407/value-domain-csrf) | ||
- 2020-07-02 | ||
- [『人月の神話』新人エンジニアにオススメする技術書 \| IIJ Engineers Blog](https://eng-blog.iij.ad.jp/archives/6144) | ||
- 2020-12-01 | ||
- [Webの誕生とブラウザの歴史(PDF - 21MB)](https://lavoscore.org/assets/file/history-of-web-and-browser.pdf) | ||
- 2022-01-29 | ||
- [2022年1月26日 Let's Encrypt の TLS-ALPN-01 チャレンジによる証明書取り消しの状況調査(\*.jp ドメイン名)](https://alpn20220126.lavoscore.org/) | ||
- [OCSP Checker](https://ssl.lavoscore.org/api/sslcert-expires/ocsp-checker/?q=lavoscore.org) | ||
- 2022-02-10 | ||
- [失効証明書とOCSPの不思議な関係 - debiruはてなメモ](https://debiru.hatenablog.com/entry/20220210/ocsp) | ||
- 2022-02-13 | ||
- [POJ-1082をショートコーディングしてみたよ! - debiruはてなメモ](https://debiru.hatenablog.com/entry/20220213/poj1082) | ||
- 2022-02-21 | ||
- [MDN翻訳ステータス一覧](https://mdn.lavoscore.org/) | ||
- 2022-04-12 | ||
- [VALUE-DOMAIN に存在していた2種類のドメインハイジャック脆弱性について - debiruはてなメモ](https://debiru.hatenablog.com/entry/20220412/value-domain-hijack) | ||
- 2023-12-25 | ||
- [Ubuntu サーバ構築手順書](https://server.lavoscore.org/) | ||
- 2023-12-30 | ||
- [DNS浸透いうな - それは言葉狩りじゃなくて](https://dns.lavoscore.org/) | ||
- 2024-07-05 | ||
- [クールな URL の心得 - Knowledge of Cool URLs](https://url.lavoscore.org/) | ||
- 2024-07-19 | ||
- [Figma Plugin API を用いた Local Variables Export/Import プラグインの開発](https://qiita.com/debiru/items/11f36ad5db5be8a120bc) | ||
- [Figma Plugin - Local Variables Manipulator](https://www.figma.com/community/plugin/1395633889534142383/local-variables-manipulator) | ||
> 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun! | ||
### Portfolio | ||
![just-the-basics](https://github.com/withastro/astro/assets/2244813/a0a5533c-a856-4198-8470-2d67b1d7c554) | ||
|
||
- 2009 大学時代のレポート | ||
- [テキスト処理(Perl)初回課題:FizzBuzz](http://snippet.lavoscore.org/static/text_processing.pdf) | ||
- [テキスト処理(Perl)最終課題:XML Parser](http://snippet.lavoscore.org/static/text_processing_final.pdf) | ||
- (2010 - 2012) OpenPNE 3 開発時代のチケットコメント10選 | ||
- [#2440: 携帯版で外部サイトのURLへリダイレクトする処理を記述すると...](https://redmine.openpne.jp/issues/2440#note-4) | ||
- [#940: プロフィール項目の日付やテキストの最小値を最大値より大きくして設定できてしまう](https://redmine.openpne.jp/issues/940#note-7) | ||
- [#1193: 確認キーワードを誤入力または未入力の場合にエラーメッセージが表示されない](https://redmine.openpne.jp/issues/1193#note-10) | ||
- [#1595: ProfileForm で日付型のプロフィール項目の最大値・最小値の入力欄に...](https://redmine.openpne.jp/issues/1595#note-10) | ||
- [#2000: プレビューモードの絵文字パレットの右上にスペースがある](https://redmine.openpne.jp/issues/2000) | ||
- [#2008: config/OpenPNE.yml で80番以外のポート番号を含むURLをbase_urlに...](https://redmine.openpne.jp/issues/2008#note-16) | ||
- [#2106: 部分一致検索を行う箇所でワイルドカード検索ができてしまう](https://redmine.openpne.jp/issues/2106) | ||
- [#2356: 管理画面でプロフィール項目の識別名に全角文字や角括弧が使えてしまう](https://redmine.openpne.jp/issues/2356) | ||
- [#2428: プロフィール編集画面にて、最大値制限もしくは最小値制限に違反した場合...](https://redmine.openpne.jp/issues/2428#note-5) | ||
- [#2495: HTML挿入で テキストモード→プレビューモード→テキストモード の切り替えを...](https://redmine.openpne.jp/issues/2495#note-2) | ||
- 2015-07-15 | ||
- [IEでmain要素のwidth, height指定が無視されるのはなぜでしょうか? \| Google Groups - html5-developers-jp](https://groups.google.com/g/html5-developers-jp/c/niGvn5ffaeM/m/flofjwBqlSQJ) | ||
- 2022-02-* | ||
- [MDN Issue - http.headers.Referrer-Policy - Update for "Safari on iOS", Safari and IE](https://github.com/mdn/browser-compat-data/issues/14675) | ||
- [MDN PullReq - Referrer-Policy - Update for "Safari on iOS", Safari and IE](https://github.com/mdn/browser-compat-data/pull/15089) | ||
- [MDN PullReq - SameSite - IE 11 started supporting it on recent Windows 10](https://github.com/mdn/browser-compat-data/pull/15090) | ||
- [Bugzilla Issue - On macOS, setting the home page by dragging tabs breaks the tabs.](https://bugzilla.mozilla.org/show_bug.cgi?id=1753861) | ||
- [Bugzilla Issue - CSS counter-reset is ignored in Firefox 82 and above](https://bugzilla.mozilla.org/show_bug.cgi?id=1754521) | ||
- [Bugzilla Issue - list counter is affected by css counter in Firefox 68 or later](https://bugzilla.mozilla.org/show_bug.cgi?id=1757269) | ||
- [Let's Encrypt Forum - Is the date in the third column notBefore or notAfter?](https://community.letsencrypt.org/t/is-the-date-in-the-third-column-notbefore-or-notafter/170912) | ||
- [Let's Encrypt Forum - What is the relationship between the revoking list and OCSP Stapling?](https://community.letsencrypt.org/t/what-is-the-relationship-between-the-revoking-list-and-ocsp-stapling/171099) | ||
- [Let's Encrypt Forum - Don't say "propagation" in DNS](https://community.letsencrypt.org/t/dont-say-propagation-in-dns/171127) | ||
- 2022-02-16 | ||
- [詰将棋解答選手権 - Wikipedia](https://ja.wikipedia.org/wiki/%E8%A9%B0%E5%B0%86%E6%A3%8B%E8%A7%A3%E7%AD%94%E9%81%B8%E6%89%8B%E6%A8%A9)(2022年2月16日版 - 執筆) | ||
- [詰将棋解答選手権の各回情報一覧 - Wikipedia](https://ja.wikipedia.org/wiki/%E8%A9%B0%E5%B0%86%E6%A3%8B%E8%A7%A3%E7%AD%94%E9%81%B8%E6%89%8B%E6%A8%A9%E3%81%AE%E5%90%84%E5%9B%9E%E6%83%85%E5%A0%B1%E4%B8%80%E8%A6%A7)(2022年2月16日版 - 執筆) | ||
- 2022-02-25 | ||
- [Invalid な HTML のせいで counter-reset の仕様が捻じ曲げられた件 - debiruはてなメモ](https://debiru.hatenablog.com/entry/20220225/counter-reset) | ||
- [GitHub Issue - Issue with "counter-reset": What is the difference in behavior between the latest Firefox (82 or later) and the older 81 or earlier or other browsers?](https://github.com/mdn/content/issues/13293) | ||
- [Using CSS counters - draft](https://css-counters.lavoscore.org/) | ||
## 🚀 Project Structure | ||
|
||
--- | ||
Inside of your Astro project, you'll see the following folders and files: | ||
|
||
This page is published by GitHub. | ||
```text | ||
/ | ||
├── public/ | ||
│ └── favicon.svg | ||
├── src/ | ||
│ ├── layouts/ | ||
│ │ └── Layout.astro | ||
│ └── pages/ | ||
│ └── index.astro | ||
└── package.json | ||
``` | ||
|
||
To learn more about the folder structure of an Astro project, refer to [our guide on project structure](https://docs.astro.build/en/basics/project-structure/). | ||
|
||
## 🧞 Commands | ||
|
||
All commands are run from the root of the project, from a terminal: | ||
|
||
| Command | Action | | ||
| :------------------------ | :----------------------------------------------- | | ||
| `npm install` | Installs dependencies | | ||
| `npm run dev` | Starts local dev server at `localhost:4321` | | ||
| `npm run build` | Build your production site to `./dist/` | | ||
| `npm run preview` | Preview your build locally, before deploying | | ||
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` | | ||
| `npm run astro -- --help` | Get help using the Astro CLI | | ||
|
||
## 👀 Want to learn more? | ||
|
||
Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { defineConfig } from 'astro/config'; | ||
import myExtIntegration from '/src/config/myExtIntegration'; | ||
|
||
// refs. https://docs.astro.build/ja/reference/configuration-reference/ | ||
export default defineConfig({ | ||
site: 'https://debiru.net', | ||
trailingSlash: 'ignore', | ||
compressHTML: false, | ||
integrations: [myExtIntegration()], | ||
build: { | ||
format: 'file', | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
cd $(dirname $0) | ||
|
||
./sass-compile.sh | ||
./stylelint.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
cd $(dirname $0)/.. | ||
|
||
CSS_DIR="public/assets/css" | ||
SCSS_DIR="public/assets/scss" | ||
|
||
rm -r "${CSS_DIR}" | ||
npx sass --no-source-map "${SCSS_DIR}:${CSS_DIR}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
cd $(dirname $0)/.. | ||
|
||
CSS_DIR="public/assets/css" | ||
SCSS_DIR="public/assets/scss" | ||
|
||
npx sass --watch --no-source-map "${SCSS_DIR}:${CSS_DIR}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
cd $(dirname $0)/.. | ||
|
||
npx stylelint "public/assets/css/**/*.css" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
cd $(dirname $0) | ||
|
||
./build.sh | ||
./sass-watch.sh |
Oops, something went wrong.