以下のコマンドを実行し、CA用の秘密鍵を生成する
openssl genrsa -aes128 2048 > ca.key
パスフレーズのない鍵を生成するには、代わりに以下を利用する
openssl genrsa 2024 > ca.key
| // ==UserScript== | |
| // @name Hide Left-side bar | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2024-11-18 | |
| // @description Claudeのウザすぎる左サイドバーを消す | |
| // @author sweshelo | |
| // @match https://claude.ai/chat/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=claude.ai | |
| // @grant none | |
| // ==/UserScript== |
| /** FREEE CLOCK IN | |
| * @sweshelo | |
| * 人事労務freeeの勤怠レコードを1ヶ月分(平日のみ)まとめて入力します | |
| * ブラウザの開発者ツールに貼り付けて動かしてください | |
| */ | |
| /* 設定 ここから */ | |
| // 企業ID: 開発者ツールで正当なリクエストのヘッダ `X-Company-Id` を参照 | |
| const CompanyId = '0000000'; |
| var gameKey = 'CCJ' //ここに収集対象のゲームのキー名を入れる | |
| var list = [] | |
| Promise.all([...Array(47).keys()] | |
| .map(pref => fetch(`https://p.eagate.573.jp/game/facility/search/p/list.html?gkey=${gameKey}&paselif=false&area=AR-01&pref=JP-${(pref + 1).toString().padStart(2, '0')}&finder=area`) | |
| .then(e => e.text()) | |
| .then(e => { | |
| const dom = new DOMParser().parseFromString(e, "text/html") | |
| list.push({id: pref+1, shops: [...dom.querySelectorAll('.cl_shop_bloc')].map((shop) => { | |
| return { |
| $BaseList = @( | |
| @{ | |
| Name="Scoop" | |
| Alias="scoop" | |
| Source="web" | |
| Command="iwr -useb get.scoop.sh | iex" | |
| }, | |
| @{ | |
| Name="VisualStudio Code" | |
| Alias="code" |
| const parseURL = (dencohName)=>{ | |
| const version = 'v=2021102601'; | |
| const wrapping = 'default'; | |
| const size = 'large'; | |
| const part = 'face'; | |
| const emotion = 'smile'; | |
| const domain = document.domain; | |
| return "https://"+domain+"/"+version+"/img/partner/"+dencohName+"/"+wrapping+"/"+size+"/"+part+"_"+emotion+".png"; |
| // ==UserScript== | |
| // @name Hide IP | |
| // @version 0.1 | |
| // @description Hide your IP address | |
| // @author Sweshelo | |
| // @match https://sns-sakura.jp/* | |
| // @icon https://www.google.com/s2/favicons?domain=sns-sakura.jp | |
| // @grant none | |
| // ==/UserScript== |
| # tmuxを256色表示できるようにする | |
| set-option -g default-terminal screen-256color | |
| set -g terminal-overrides 'xterm:colors=256' | |
| # prefixキーをC-qに変更 | |
| set -g prefix C-q | |
| # C-bのキーバインドを解除 | |
| unbind C-b |
| rem 自身のファイル名と同一のPowerShellOnelinerを実行するbat | |
| powershell -NoProfile -ExecutionPolicy Unrestricted %~dpn0.ps1 |