Skip to content

Instantly share code, notes, and snippets.

@cormojs
cormojs / confluence-to-reveal.user.js
Last active November 22, 2021 06:47
Convert a Confluence page's content to slides using Reveal.js
// ==UserScript==
// @name Confluence Page to Reveal Slides
// @namespace http://github.com/cormojs
// @version 1.0
// @description Convert a Confluence page's content to slides using Reveal.js
// @author cormojs
// @match https://*/confluence/pages/viewpage.action*
// @require https://cdn.jsdelivr.net/npm/reveal.js@4.1.0/dist/reveal.js
// @grant none
// @downloadURL https://gist.github.com/cormojs/96f320187c6433ec33a15a0960f8d385/raw/confluence-to-reveal.user.js

% キーボードについてだらだら % Cormo JS % 2020/02/07

もくじ

  • はじめに
  • キーボード用語おさらい
  • ラインナップ
  • 個別のキーボード語り
  • きになるキーボードたち
@cormojs
cormojs / 英文訓読ノ法.scala
Created January 1, 2020 21:27
我「英文訓読ノ法」ナル今様怪文書ヲ発見ス。甚ダ怪シキ物ナリ。
/// オリジナルの文 https://en.wikipedia.org/wiki/Language_interpretation
// Interpreting is a translational activity in which one produces a first and final translation on the basis of a one-time exposure to an expression in a source language.
/// 目標とすべき理想的解答
// 通訳これハかれガ或る原本言語ノなかデ或る表現エ向かう或る一時的ナ露出ノ其の基本ノ上えデ或る最初的ナ且つ最終的ナ翻訳ヲ産むところノ或る翻訳的ナ活動ダ。
//// ---- これ以降は一番下のブロックから順番に読んでね!
/// 一般的でない送り仮名の物を平仮名に開く。これで理想的解答と一致した。
// 通訳これハかれガ或る原本言語ノなかデ或る表現エ向かう或る一時的ナ露出ノ其の基本ノうえデ或る最初的ナ且つ最終的ナ翻訳ヲ産むところノ或る翻訳的ナ活動ダ。
{"total":177,"limit":5000,"offset":0,"works":[{"workno":"RJ239066","sales_date":"Sat, 13 Jul 2019 22:51:33 +0900","rental_id":null,"rental_time":null,"rental_activate_date":null,"rental_expired_date":null,"purchase_type":1,"inservice":1,"touch_inservice":1,"work_name":"\u30c1\u25cb\u30dd\u4fc2","work_name_kana":"\u30c1\u30f3\u30dd\u30ac\u30ab\u30ea","maker_id":"RG27440","maker_name":"\u30d9\u30ec\u30b9\u89e3\u90e8","maker_name_kana":"\u30d9\u30ec\u30b9\u30c8\u30ad\u30d9","author_name":null,"work_type":{"value":"SOU","category_id":"audio","category_name":"\u97f3\u58f0","name":"\u97f3\u58f0"},"file_type":"MP3","age_category":3,"dl_format":0,"site_id":"maniax","image_mini":null,"content_length":708519679,"content_count":1,"tags":[{"class":"illust_by","sub_class":null,"name":"\u5c0f\u6797\u3061\u3055\u3068"},{"class":"voice_by","sub_class":null,"name":"\u967d\u5411\u8475\u3085\u304b"}],"touch_content_count":1,"regist_date":"Mon, 19 Nov 2018 00:00:00 +0900","upgrade_date":null,"download_start_date":null,"review_po

Keybase proof

I hereby claim:

  • I am cormojs on github.
[homes]
comment = Home Directories
browseable = yes
writable = yes
valid users = %S
inherit permissions = yes
sudo su -
echo "auto enp0s8" >> /etc/network/interfaces
echo "iface enp0s8 inet static" >> /etc/network/interfaces
echo "address 192.168.56.2" >> /etc/network/interfaces
echo "netmask 255.255.255.0" >> /etc/network/interfaces
exit
// ==UserScript==
// @name Mastodon - Mobile Composer
// @namespace https://github.com/unarist/
// @version 0.6
// @description add composer to page bottom
// @author unarist
// @downloadURL https://gist.github.com/unarist/08f56c49986d3b1775fe88bc918cac50/raw/mastodon-mobile-composer.user.js
// @match https://*/web/*
// @grant GM_setValue
// @grant GM_getValue
[
":thump\n",
":thump\n",
"event: update\n",
"data: {\"id\":622593,\"created_at\":\"2017-04-22T23:52:49.000Z\",\"in_reply_to_id\":null,\"in_reply_to_account_id\":null,\"sensitive\":false,\"spoiler_text\":\"\",\"visibility\":\"public\",\"application\":null,\"account\":{\"id\":7335,\"username\":\"greymd\",\"acct\":\"greymd@mstdn.jp\",\"display_name\":\"ぐれさん\",\"locked\":false,\"created_at\":\"2017-04-17T03:19:22.061Z\",\"followers_count\":2,\"following_count\":0,\"statuses_count\":109,\"note\":\"ハイパーシェル芸キュアエンジニア\\nTwitter: <a href=\\\"https://twitter.com/grethlen\\\" rel=\\\"nofollow noopener\\\"><span class=\\\"invisible\\\">https://</span><span class=\\\"\\\">twitter.com/grethlen</span><span class=\\\"invisible\\\"></span></a>\",\"url\":\"https://mstdn.jp/@greymd\",\"avatar\":\"https://mstdn.maud.io/system/accounts/avatars/000/007/335/original/d654645d28de86d7.JPG?1492399162\",\"avatar_static\":\"https://mstdn.maud.io/system/accounts/avatars/000/007/335/original/d654645d28de86d7.JPG?1492399162\",\"header\
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE NamedFieldPuns #-}
module NeuralNetwork where
import Data.Array.Repa as Repa
import Data.Array.Repa.Algorithms.Matrix
import qualified Data.Array.Repa.Operators.Mapping as Mapping
import Debug.Trace (trace)