Skip to content

Instantly share code, notes, and snippets.

View takumus's full-sized avatar

takumus takumus

View GitHub Profile
@takumus
takumus / index.html
Last active June 15, 2023 16:00
Electron Fiddle Gist(video files not seekable with protocol.handle)
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<title>Hello World!</title>
<style>
video, img {
width: 500px;
display: block;
@takumus
takumus / index.html
Created June 14, 2023 16:57
seek video
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<title>Hello World!</title>
<style>
video, img {
width: 500px;
display: block;
@takumus
takumus / vite.config.ts
Last active April 8, 2023 06:32
electron-vue-viteのメインプロセスでesmoduleのみ対応のパッケージを使うときに必要なコンフィグ。
import { rmSync } from "node:fs";
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import electron, {
Configuration as ElectronConfig,
} from "vite-plugin-electron";
import renderer from "vite-plugin-electron-renderer";
import pkg from "./package.json";
import esmodule from "vite-plugin-esmodule";
// https://vitejs.dev/config/
@takumus
takumus / index.html
Created January 24, 2023 13:53
Unable to resize
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'">
<link href="./styles.css" rel="stylesheet">
<title>Hello World!</title>
</head>
<body>

ED : Ride On Shooting Star - the pillows
次回予告 : Last Dinosaur - the pillows

1話

  • 00:20 ~ 02:27 (マミミと橋の下の) ONE LIFE - the pillows
  • 03:25 ~ 04:45 (ハルコに轢かれる) Runners High - the pillows
  • 08:27 ~ 09:48 (踏切でハルコと遭遇、病院で診察される) Stalker - the pillows
  • 11:00 ~ 13:25 (ハルコ家政婦になる漫画風) Come Down - the pillows
  • 16:15 ~ 18:00 (ナオタ家から走り出し、マミミタバコ) Bran-new lovesong - the pillows
  • 18:08 ~ 19:03 (マミミが倒れ、ナオタの頭から腕が出る) Runners High - the pillowsとAdvice - the pillowsが交互
  • 19:27 ~ 20:37 (カンチと腕が戦い、ハルコがギターを振りかざす) Sleepy Head - the pillows
(function() { var nextBtn = document.querySelector(".SWk3c.Zk-Zb.YqVDN"); var progressElm = document.querySelector(".JSZAJ._3eoV-.IjCL9.WXPwG"); var length = progressElm ? progressElm.childElementCount : 1; var count = 0; var images = []; function getImage() { var src = document.querySelector("img.FFVAD").src; images.push(src); if (nextBtn) nextBtn.click(); if (++count < length) { setTimeout(getImage, 400); }else { document.body.innerHTML = ""; images.forEach(function(src) { var img = document.createElement("img"); img.src = src; img.style.width = "300px"; document.body.appendChild(img); }); } } getImage(); })();
#include <Arduino.h>
#include "Suteppa.h"
#define IN1 9
#define IN2 10
#define IN3 11
#define IN4 12
#define SW 2
Suteppa s;
#include <Arduino.h>
#include "Suteppa.h"
const int IN1 = 9;
const int IN2 = 10;
const int IN3 = 11;
const int IN4 = 12;
const int MAX = 495;
int d_hs[8] = {
B1000,
B1100,

私の作品集です

"2016"

takumus.com 2016(TypeScript + PIXI.js)

自分のトップページです。
お気に入りのキャラクターを上下運動させただけです。
takumus.com

コマンドプロンプトで動くゲーム(Python)

enter image description here