Skip to content

Instantly share code, notes, and snippets.

View izumiikezaki's full-sized avatar

ikezaki izumiikezaki

  • Japan
  • 14:32 (UTC +09:00)
View GitHub Profile
PHP 13 hrs 36 mins ███████████████▍░░░░░ 73.4%
Vue.js 1 hr 51 mins ██░░░░░░░░░░░░░░░░░░░ 10.0%
Blade T... 1 hr 22 mins █▌░░░░░░░░░░░░░░░░░░░ 7.4%
CSS 43 mins ▊░░░░░░░░░░░░░░░░░░░░ 3.9%
JavaScript 35 mins ▋░░░░░░░░░░░░░░░░░░░░ 3.2%
@izumiikezaki
izumiikezaki / week_counter.html
Created November 14, 2021 18:32
はてなブログに今日が第何週目かを表示するやつ
<p>
今週は<span id="izumi-year"></span>年の第<span id="izumi-week-counter"></span>週目です🐠<br/>
<small>(全<span id="izumi-week-max"></span>週)</small>
</p>
Ireland In The Sahara 水の音 & 海の音
Shake That (Remix) Nate Dogg & Emine
A Day At The Races Jurassic 5 & Perc
Party We Will Throw Now! Warren G & Nate D
melt bitter satomoka
チュープリ ZOC
dreamin dreamin MEG
N.Y. State of Mind Nas
はくちゅーむ BPM15Q
Mass Destruction Lotus Juice & 川村
@izumiikezaki
izumiikezaki / url_share.js
Last active February 16, 2021 05:57
クロームのブックマークレットを使ってSlackに共有するやつ
javascript: (
function () {
const ENDPOINT = 'https://slack.com/api/chat.postMessage';
const TOKEN = 'トークン';
const CHANNEL = '#チャンネル';
const BY = "@SlackのID";
const url = location.href;
fetch(`${ENDPOINT}?token=${TOKEN}`, { method: 'POST', body: EncodeHTMLForm({ channel: CHANNEL, text: `${url} by ${BY}`, link_names: true, unfurl_links: true }), headers: { "Content-Type": "application/x-www-form-urlencoded; charset=utf-8", } });
function EncodeHTMLForm(data) {
const params = [];
/*カテゴリの色変更*/
a.category-3DCG{
background-color:#002030;
color:white;
}
a.category-プログラミング{
background-color:#002030;
color:white;
}
a.category-デザイン{
<nav id="header-nav">
<ul>
<li><a href="https://izumiikezaki.hatenablog.com/archive/category/3DCG">
<i class="fas fa-cube"></i>
<span class="nav-text">3DCG</span></a></li>
<li><a href="https://izumiikezaki.hatenablog.com/archive/category/%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0">
<i class="fas fa-keyboard"></i>
<span class="nav-text">プログラミング</span></a></li>
<li><a href="https://izumiikezaki.hatenablog.com/archive/category/%E3%83%87%E3%82%B6%E3%82%A4%E3%83%B3">
<i class="fas fa-pencil-ruler"></i>
@izumiikezaki
izumiikezaki / Threejs_template.html
Last active October 2, 2023 00:57
NEORTでのthree.js作品制作のための自分用テンプレート
<!DOCTYPE html>
<html>
<head>
<title>title</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/102/three.min.js" ></script>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<!--ここにシェーダとか書く-->
<script type="x-shader/x-vertex" id="vshader">
varying vec3 vNormal;
varying vec3 pos;
void main()
{
vNormal=normalMatrix*normal;
pos = position;
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
}
</script>
<script type="x-shader/x-vertex" id="vshader">
varying vec3 vNormal;
varying vec3 pos;
void main()
{
vNormal=normalMatrix * normal;
pos = position;
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
}
</script>
<script type="x-shader/x-vertex" id="vshader">
varying vec3 vNormal;
varying vec3 pos;
void main()
{
vNormal=normalMatrix * normal;
pos = position;
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
}
</script>