- 最低限これで動く
- yarn add --dev webpack webpack-cli
const webpack = require('webpack');
const path = require('path');
module.exports = {
mode: 'development',
#!/bin/bash | |
mkdir -p ../resized | |
JPG=$(find . -name '*.jpg' -type f) | |
PNG=$(find . -name '*.png' -type f) | |
SVG=$(find . -name '*.svg' -type f) | |
for img in $JPG | |
do | |
echo 'JPG: '$img |
#If WinActive("ahk_exe Phasmophobia.exe") | |
K:: | |
Loop, 1 { ; Add Btn | |
Click 2300, 1400 | |
Sleep, 150 | |
} | |
Loop, 1 { ; Themometer All | |
Click 2870, 710 | |
Sleep, 100 |
#If WinActive("ahk_exe Phasmophobia.exe") | |
K:: | |
Loop, 1 { ; Add Btn | |
Click 2300, 1400 | |
Sleep, 150 | |
} | |
Loop, 1 { ; Themometer 1 | |
Click 2680, 710 | |
} |
// schema: **************************************************************************** | |
{ | |
"type": "object", | |
"properties": { | |
"fuga": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { |
var selection = context.selection | |
if(selection.count() == 0){ | |
doc.showMessage("Please select something."); | |
} else { | |
for(var i = 0; i < selection.count(); i++){ | |
var layer = selection[i]; | |
var layerFrame = layer.frame() | |
log(layerFrame.width()) | |
layerFrame.setWidth(24) | |
layerFrame.setHeight(24) |
# use data from MIC | |
# http://www.soumu.go.jp/denshijiti/code.html | |
# | |
# CSV data format | |
# > prefecture, city | |
# Related: 月壱関東脱出計画 | |
# https://peraichi.com/landing_pages/view/escapefromkanto | |
# 仕様 |
var Panel = function(el){ | |
this.el = $(el); | |
this.view = this.el.find('.is-onlive').text(); | |
}; | |
var $cll = $('.contentlist-list'); | |
var ary = []; | |
$cll.find('li').each(function(){ | |
var $self = $(this); |
console.log("start"); | |
var fs = require('fs'); | |
const MINECRAFT_PATH = "<need specified your minecraft dir path>/minecraft/"; | |
const SPATH = MINECRAFT_PATH + "assets/objects/"; | |
const DPATH = "<need specified your destination dir path>/"; | |
var json = require(MINECRAFT_PATH + 'assets/indexes/1.8.json'); | |
var o = json.objects; |
#!/bin/bash | |
# image_00.jpg 〜 image_09.jpg を再圧縮して上書きする | |
# --max に与えられる ${1} は 0〜100の値を持つ | |
# usage resize.sh 100 | |
for i in {0..9}; do | |
jpegoptim --strip-all --max=${1} image_0${i}.jpg | |
done |