Skip to content

Instantly share code, notes, and snippets.

View klim0824's full-sized avatar
🤔
Next.js 完全に理解した

くりむ klim0824

🤔
Next.js 完全に理解した
View GitHub Profile
@klim0824
klim0824 / settings.json5
Created April 6, 2025 14:38
settings.json for VS Code
{
// Editor
"editor.lineNumbers": "interval",
"editor.cursorBlinking": "smooth",
"editor.renderControlCharacters": true,
"editor.renderWhitespace": "boundary",
"editor.stickyScroll.enabled": true,
"explorer.fileNesting.enabled": true,
"telemetry.telemetryLevel": "off",
"window.title": "${dirty}${activeEditorMedium}${separator}${rootName}",
@klim0824
klim0824 / updateMoviewalkerList.js
Last active March 15, 2025 16:20
moviewalker.jpの映画一覧でカルーセル解除したり、キャプション追加したり、重複した映画は視認性下げたり
// ==UserScript==
// @name Add Caption to Movie Poster
// @namespace https://moviewalker.jp/theater/tokyo/
// @version 2025-03-09
// @description Add caption below movie poster and reduce opacity for duplicates
// @author You
// @match https://press.moviewalker.jp/theater/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=moviewalker.jp
// @grant none
// @noframes
@klim0824
klim0824 / connpass_participants.css
Last active January 27, 2025 12:28
connpassで参加者一覧を見やすく整形するユーザースタイルシート
/* https://.*\.connpass\.com/event/.* */
user_info {
display: grid;
grid-template-areas:
"display_name label_ptype_name label_status_tag"
"user_profile user_profile user_profile";
grid-template-columns: 1fr auto auto;
grid-column-gap: 8px;
align-items: start;
@klim0824
klim0824 / copy.js
Last active May 22, 2020 14:23
URL共有用のブックマークレット
javascript:(function(){var generateText=function(){var title=document.title;var url=new URL(location);url.searchParams["delete"]("rss");url.searchParams["delete"]("fbclid");var text="["+title+"]( "+url.toString()+" )";return text};var copyText=function(text){var copyFrom=document.createElement("textarea");copyFrom.textContent=text;var bodyElement=document.body;bodyElement.appendChild(copyFrom);copyFrom.select();var copy=document.execCommand("copy");if(!copy)copy=navigator.clipboard.writeText(copyFrom.textContent);bodyElement.removeChild(copyFrom);return copy};copyText(generateText());console.log(generateText())})();
javascript:(function(){var%20d=location.pathname.split('/');for(var%20i=0;i<d.length;i++){if(d[i].length=10&&/^[A-Z0-9]*$/.test(d[i])){window.location.href='https://www.amazon.co.jp/dp/'+d[i]+'/ref=nosim?tag=hoge-22'}}})();