Skip to content

Instantly share code, notes, and snippets.

View AquiTCD's full-sized avatar

Aqui TSUCHIDA AquiTCD

  • Tokyo, Japan
View GitHub Profile
@AquiTCD
AquiTCD / .cz-config.js
Created November 30, 2018 01:55
.cz-config
'use strict';
module.exports = {
types: [
{
value: 'feat',
name: 'feat: 新機能',
title: 'Features'
},
{
value: 'fix',
@AquiTCD
AquiTCD / doPost.test.js
Last active October 12, 2018 01:26
gas-jest-sample
require('./setup.js')
const doPost = require('../src/doPost.js').default
describe('doPost', () => {
let contents
describe('when event comes from GitHub', () => {
beforeEach(() => {
contents = require('./fixtures/gh_pr.json')
})
it('notify to cw to use props from spreadsheet', () => {
@AquiTCD
AquiTCD / force_global_font_setting.css
Last active March 22, 2018 03:53
Stylish Styles for browsing
/*
Force global font setting
^(?!https?://(.*).?(localhost|192.168.|slideshare|chatwork|docs.google.com/spreadsheets)).*$
*/
@font-face {
font-family: 'Noto Sans';
font-weight: 100;
font-weight: 200;
font-weight: 300;
@AquiTCD
AquiTCD / _mixin_vertical-inritsu.sass
Last active October 28, 2016 00:42
Vertical InRitsu Mixin inspired Vertical Rhythm and Modular Scale
//============================================================
// Vertical InRitsu Mixin inspired Vertical Rhythm and Modular Scale
// NOTICE: need to load pow function before
// ref: https://css-tricks.com/snippets/sass/power-function/
//============================================================
=vertical-inritsu($in-scale: 0, $with-margin-top: 1, $with-margin-bottom: 1, $with-padding-top: 0, $with-padding-bottom: 0)
$base-font-size: 1rem !default
$base-ratio: 1.414 !default
$in-fz: $base-font-size * pow($base-ratio, ($in-scale / 4))
$in-base-unit: ($base-font-size * pow($base-ratio, 2)/ 4)