Skip to content

Instantly share code, notes, and snippets.

Avatar

takuya@mori takuya

  • Osaka City Univ
  • Osaka,Japan
View GitHub Profile
View Concurrent_RDP_Patcher.exe.gz
This file has been truncated, but you can view the full file.
0000000 1f 8b 08 08 6e d2 63 4d 00 03 43 6f 6e 63 75 72
0000010 72 65 6e 74 20 52 44 50 20 50 61 74 63 68 65 72
0000020 2e 65 78 65 00 ec bc 09 3c 95 6d bb 3e bc 54 9a
0000030 4b 65 68 36 66 9e 67 21 24 52 a4 41 42 c6 cc f3
0000040 4c e6 21 43 49 99 52 84 24 99 1a 91 4a 29 a1 88
0000050 26 29 0d d2 80 0a 51 c9 3c cb f1 5d 6b 59 bd fb
0000060 d9 ef 7e f7 f8 df df fe ef df ef fb 56 cf f9 bb
0000070 d6 ba dd c3 75 1c e7 71 1e d7 75 dd eb 5e 8f ae
0000080 71 22 65 36 85 42 99 43 02 a0 50 6e 53 66 5e 6a
0000090 94 7f ff 15 4e 62 29 c7 9d a5 94 1b 0b ea b9 6e
View bank.user.js
// ==UserScript==
// @name 銀行の右クリック対策、対策
// @match https://*.jibunbank.co.jp/*
// @match https://*.shinseibank.com/*
// ==/UserScript==
document.body.appendChild(function(){
sc = document.createElement("script");
var code = function(){
//右クリック対策
View strgonswan-create-certs.sh
#!/usr/bin/env bash
function create_ca(){
#
ipsec pki --gen > ${CA_KEY}
ipsec pki --self --in ${CA_KEY} --ca --dn "C=JP, O=strongSwan, CN=${SRV_NAME} CA" > ${CA_CRT}
}
function create_server_crt(){
#
ipsec pki --gen > ${SRV_KEY}
@takuya
takuya / readme.md
Created October 3, 2021 14:19
画像
View readme.md
@takuya
takuya / update-unbound-blocklist.sh
Last active July 26, 2022 17:10
unboundのdnsブロッキングリストを更新する。
View update-unbound-blocklist.sh
#!/usr/bin/env sh
## @since 2020-05-15
## @last 2021-01-05
## @author takuya
## unbound にブロッキング
## ブロッキングするURLを定期的に更新する
function update_domain_lists(){
update280blocker
View fio-config.txt
[global]
ioengine=libaio
iodepth=1
size=1g
direct=1
runtime=60
directory=${TARGET}
stonewall
[Seq-Read]
@takuya
takuya / xpath
Last active November 17, 2021 00:17
View xpath
#!/usr/bin/env ruby
require 'nokogiri'
require 'pp'
require 'nkf'
require 'open-uri'
require "optparse"
$verbose = true
@takuya
takuya / nhk_news_web_video.py
Last active October 1, 2021 02:25
nhk がiframe をnoscriptに入れちゃったので対応
View nhk_news_web_video.py
#!/usr/bin/env python
#
from lxml import html
from urllib.request import urlopen
from urllib.request import Request
from urllib.parse import urlparse
from urllib.parse import urljoin
import re, json, os, shlex, argparse, subprocess
View diskutil.completion
#!/usr/bin/env bash
diskutil_options="activity
appleRAID
coreStorage
disableJournal
disableOwnership
eject
enableJournal
enableOwnership
View play_radiko_by_mplayer.py
#!/usr/bin/env python
# coding: utf-8
#/*
# * This program is free software: you can redistribute it and/or modify
# * it under the terms of the GNU General Public License as published by
# * the Free Software Foundation, either version 3 of the License, or
# * (at your option) any later version.
# *
# * This program is distributed in the hope that it will be useful,
# * but WITHOUT ANY WARRANTY; without even the implied warranty of