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
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}
View readme.md
@takuya
takuya / update-unbound-blocklist.sh
Last active Jul 26, 2022
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]
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 Oct 1, 2021
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
View LinkDragSelectionForChrome.user.js
// ==UserScript==
// @name LinkDragSelectionForChrome
// @description Opera like link selection for chrome.
// @namespace http://d.hatena.ne.jp/Griever/
// @author Griever
// @license MIT License
// @match http://*/*
// @match https://*/*
// @version 0.0.1
// ==/UserScript==