ClubDAM has a mobile app called デンモクmini ("Denmoku mini") which uses an undocumented API.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[data-tooltip="削除"]{ | |
display:none !important; | |
} | |
[role="menu"] div:first-child div[role="menuitem"]:last-child{ | |
display:none !important; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import $ from 'jquery'; | |
const speed = 400; | |
$('a[href^="#"]').on('click', function(){ | |
const href = $(this).attr('href'); | |
const target = $( href == '#' || href == '' ? 'html' : href); | |
const position = target.offset().top; | |
$('body,html').animate({ | |
scrollTop: position | |
}, speed, 'swing'); | |
return false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(location.protocol.match('https:')){ | |
location.replace(location.href.replace('https:','http:')); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
checkImageExist(imageSrc) { | |
return new Promise((resolve, reject) => { | |
var img = new Image(); | |
img.onload = () => { | |
resolve(imageSrc); | |
}; | |
img.onerror = () => { | |
reject(new Error("404")); | |
}; | |
img.src = imageSrc; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"hosting": { | |
"public": "public", | |
"rewrites": [ | |
{ | |
"source": "**", | |
"function": "app" | |
} | |
], | |
"redirects": [{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import loadImage from 'blueimp-load-image'; | |
// fileを読み込んでblobとcanvasを返す | |
export default function(file) { | |
return new Promise((resolve, reject) => { | |
if (!file.type.match('image.*')) { | |
reject('画像以外のファイルです'); | |
} | |
if (file.size > 10485760) { | |
reject('10MBまでの画像がアップロード出来ます。'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template lang="pug"> | |
header.header(:style="{left: headerScroll}") | |
.header__contents | |
</template> | |
<script> | |
export default { | |
name: "headerContent", | |
data: function() { | |
return { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ firebase auth:export firebase-auth-users.json --format json --project 旧Firebaseプロジェクト | |
$ firebase auth:import firebase-auth-users.json --project 新Firebaseプロジェクト |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.__SCRIPTS_LOADED__["vendors~main"]&&((window.webpackJsonp=window.webpackJsonp||[]).push([[153],{"3XMw":function(e,t,a){"use strict";var c,n,r={};Object.defineProperty(t,"_register",{value:function(e,t){if(r[e]=r[e]||{},Object.defineProperty(this,"language",{get:function(){return c},set:function(e){c=e,n=r[e]},enumerable:!0,configurable:!0}).language=e,void 0!==t){var a=Object.getOwnPropertyNames(t)[0],f=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(n,a,f),a in this||Object.defineProperty(this,a,{get:function(){return n[a]}})}return function(t,a){r[e][t]=a,t in this||Object.defineProperty(this,t,{get:function(){return n[t]},enumerable:!0})}.bind(this)},enumerable:!1})},On87:function(e,t,a){"use strict";var c=a("3XMw")._register("ja",{get emoji(){return a.e(290).then(a.t.bind(null,"OxsB",7))}}),n=function(e){return"other"};function r(e,t){return n(e),t}function f(e,t){for(var a=0;a<t.length;a++){var c=t[a];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.de |