Skip to content

Instantly share code, notes, and snippets.

View wozozo's full-sized avatar
😇
Hello

Yoichi Fujimoto wozozo

😇
Hello
  • Tokyo, Japan
  • 02:13 (UTC +09:00)
  • X @wozozo
View GitHub Profile
(function () {
var i = 0;
document.querySelectorAll('tr.days .dval.vst').forEach(function(e) {
setTimeout(function () {
e.click();
document.querySelector('#startTime').value = '10:30';
document.querySelector('#endTime').value = '20:00';
document.querySelector('#dlgInpTimeOk').click();
}, 4000 * i);
i++;
[10/02/17 15:39:42] Toru Furukawa (tof): show は、デフォルトで見えてないものを見せるような動作じゃないかな。
[10/02/17 15:39:59] Toru Furukawa (tof): コートの前をはだけて、
[10/02/17 15:40:04] Toru Furukawa (tof): ちんこを show
@wozozo
wozozo / realforce23u.json
Last active February 15, 2021 14:24
Macで外付けREALFORCEテンキーを使う際にKarabiner-Elementsでキーマップを修正する設定
{
"title": "REALFORCE 23U(テンキー)用キーバインド変更",
"rules": [
{
"description": "テンキーでイコールを入力",
"manipulators": [
{
"type": "basic",
"from": {
"simultaneous": [
@wozozo
wozozo / wait.ts
Last active August 1, 2020 13:02
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export function wait(ms: number): Promise<any> {
return new Promise((resolve) => {
setTimeout(() => {
resolve();
}, ms);
});
}
new Intl.DateTimeFormat("ja-JP-u-ca-japanese", {dateFormat: "full", year: "2-digit", month: "short", day: "2-digit"}).format(new Date())
> "令和02年6月25日"
const puppeteer = require('puppeteer');
const { Storage } = require('@google-cloud/storage');
const url: string = '';
const bucketName = '';
const fileName = `hoge-${Date.now()}.png`;
(async () => {
const browser = await puppeteer.launch();
const { WebClient } = require('@slack/web-api');
const slackToken = process.env.SLACK_TOKEN;
async function uploadFile() {
const { createReadStream } = require('fs');
const web = new WebClient(slackToken);
const conversationId = '';
try {
const result = await web.files.upload({
{
"editor.fontSize": 15,
// "editor.fontFamily": "'Fira Mono', Menlo, Monaco, 'Courier New', monospace",
"editor.fontFamily": "'Hack', Menlo, Monaco, 'Courier New', monospace",
"atomKeymap.promptV3Features": true,
"files.trimTrailingWhitespace": true,
"files.associations": {
"*.jinja2": "jinja"
},
"editor.multiCursorModifier": "ctrlCmd",
@wozozo
wozozo / virtual.conf
Created March 14, 2011 09:07
apache VirtualDocumentRoot
LogFormat "%h^__%v^_%V^_%l^_%u^_%t^_%r^_%>s^%b^_%{Referer}i^%{User-Agent}i" vhost
NameVirtualHost *:80
<Directory *>
Options FollowSymLinks ExecCGI Includes MultiViews
AllowOverride All
AcceptPathInfo On
</Directory>
spof% ~git master brew list
ansible hub msgpack readline
autoconf hugo mysql reattach-to-user-namespace
automake icu4c neovim redis
awscli imagemagick ngrok ruby
cmake jemalloc nkf ruby-build
coreutils jpeg nmap sqlite
curl jq node sshrc
curlish kotlin numpy supervisor
direnv libevent nvm terraform