Skip to content

Instantly share code, notes, and snippets.

View yuis-ice's full-sized avatar

Fumiya A yuis-ice

  • Available for $30 per hour.
  • Singapore
View GitHub Profile
yuis-ice / index.html
Created October 30, 2023 04:27
Simple Select box
<div class="field">
<div class="field__head">
<label class="field__ttl" for="select">Select box title</label>
<span class="field__tag is-require">Required</span>
<div class="field__body">
<div class="select-box">
<select name="select" id="select" required>
<option selected hidden>Please select</option>
<option value="#">select 1</option>
yuis-ice / flexbox-card-grid.markdown
Created November 27, 2022 01:08
Flexbox Card Grid

Flexbox Card Grid

Quick prototype of equal height cards using flexbox grid layout. Also demonstrates the use of CSS aspect ratios (check out the images) and CSS filters.

A Pen by yuis on CodePen.


yuis-ice / blog-page-layout-with-article-cards.markdown
Created March 28, 2022 08:46
Blog Page Layout With Article Cards
yuis-ice / index.html
Created March 27, 2022 08:11
Prism.js example
<div class="title"> Prism.js example </div>
<p class="text"> Javascript: </p>
<pre class="language-js">
<code class="language-js">
function example(a, b) {
<p class="text"> CSS: </p>
yuis-ice / moment.js
Created April 30, 2021 07:44
moment.js v2.29.1 browserify-ed JavaScript Script
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.moment = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
//! moment.js
//! version : 2.29.1
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
;(function (global, factor
yuis-ice /
Last active January 20, 2024 15:31
Rewind/forward videos for 1 second on Youtube

Install Autohotkey from here and save following script as tmp.ahk and execute the file by clicking.

You can rewind Youtube videos for 1 second by z and forward Youtube videos for 1 second by x.

WinActive("ahk_exe chrome.exe"): The feature will be only enabled on chrome.exe

WinActive(" - YouTube"): The feature will be only enabled if the window title of the current chrome tab matches to regex - YouTube

yuis-ice / wp get
Last active July 27, 2017 00:10
Displayed link with link-destination-title for add_shortcode.

wp get title

Displayed link with link-destination-title for add_shortcode.


function get_title($attr){