- HachiCorp Terraform
- Terraform Autocomplete
- Graphviz Interactive Preview
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
# Djangoの現在のurlパターンを全出力. ./manage.py shell の中で打って確認すると良い | |
from django.urls import get_resolver | |
def show_url_patterns(url_patterns, prefix=''): | |
for pattern in url_patterns: | |
if hasattr(pattern, 'url_patterns'): | |
show_url_patterns(pattern.url_patterns, prefix + pattern.pattern.regex.pattern) | |
else: | |
name = pattern.name or 'Unnamed' |
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
const { expect } = require("chai"); | |
const { ethers } = require("hardhat"); | |
const { loadFixture } = require("@nomicfoundation/hardhat-network-helpers"); | |
describe("HollandGene contract", function () { | |
async function deployTokenFixture() { | |
// 1. fixture内でNFTのコントラクトを取得 | |
const HollandGene = await ethers.getContractFactory("HollandGene"); | |
// 2. 使用するウォレットを作成しておく(デフォルトでETHがめちゃくちゃ入っている) |
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
// ==UserScript== | |
// @name JIRA title copy | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @include https://yhei-web-design.atlassian.net/browse/* | |
// @exclude https://yhei-web-design.atlassian.net/browse/*oldIssueView* | |
// @exclude https://yhei-web-design.atlassian.net/browse/*focusedCommentId* | |
// @grant none |
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
from django.urls import get_resolver | |
root_resolver = get_resolver() | |
def _join_namespace(a, b): | |
return (a + ':' if a else '') + (b or '') | |
def _print_resolver(namespace, resolver): | |
_namespace = _join_namespace(namespace, resolver.namespace) | |
for ns, (prefix, res) in resolver.namespace_dict.items(): | |
_print_resolver(_namespace, res) |
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
// ==UserScript== | |
// @name カンバンでのコピーボタン挿入 | |
// @namespace https://yhei-web-design.com | |
// @version 0.1 | |
// @description JIRAのカンバンにチケットのタイトルコピーボタンを追加する | |
// @author yhei.register@gmail.com | |
// @match https://*.atlassian.net/jira/software/projects/XMAR/boards/* | |
// @icon https://www.google.com/s2/favicons?domain=atlassian.net | |
// @grant none | |
// ==/UserScript== |
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
import pandas as pd | |
df = pd.read_csv("sample.csv") | |
df | |
# 名前 メールアドレス | |
# 0 小久保 yheihei0126@gmail.com | |
# 1 ちゃた chataro@gmail.com | |
print(df.at[0, '名前']) | |
# 小久保 | |
- メンバーにクラウドプラクティショナーの勉強方法を伝授した。皆、やる気があり自主的に取って行きそうな雰囲気が出ている。インフラできる人が増えればCLPへの依存度を減らしコストを削減できる可能性がある
- スケジュールが安定してきており、新たにチームメンバーに流すような情報はなかった
- クラウドプラクティショナーに合格。基本的なAWSのインフラ設計/構築ができるようになった
- ElasticSearchで使うKibanaの使い方をブログにまとめた
- Vetur
- Auto Close Tag
NewerOlder