- Luka Megurine
- tadsan@zonu.me
- cctld: jp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[325522.454454] UDP: short packet: From 119.81.7.18:53 15099/41 to 192.168.0.6:42855 | |
[345447.772801] UDP: short packet: From 119.81.7.18:53 15099/41 to 192.168.0.6:21332 | |
[345457.753895] UDP: short packet: From 119.81.7.18:53 15099/41 to 192.168.0.6:21332 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
font-family: "Menlo"; | |
background-color: #272822; | |
color: white; | |
word-wrap: break-word; | |
margin: 0; | |
padding: 3px 4px 10px 4px; | |
font-size: 12px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ENCODER="HandBrakeCLI" | |
EXT="mp4" | |
VERSION="r11f18" | |
OUTPUT="$1_$VERSION.$EXT" | |
OPTS='-t 1 -c 1 -f mp4 --denoise="2:1.5:3:2.25" \ | |
-w 1280 -l 720 --crop 0:8:0:0 --modulus 2 -e x264 -q 18 \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-*- coding: utf-8 -*- | |
Plugin.create :degree_certificate do | |
command(:degree_certificate, | |
name: '卒業証明書を発行', | |
condition: lambda{ |opt| true }, | |
visible: true, | |
role: :timeline) do |opt| | |
opt.messages.each { |m| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'parallel' | |
ARGV.each do |arg| | |
unless arg =~ /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/ | |
STDERR.puts %Q{invalid addr "#{arg}"} | |
exit 1 | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Web Speech API</title> | |
<meta charset="utf-8"> | |
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script> | |
</head> | |
<body> | |
<input type="button" value="音声認識開始" onclick="startRecognition();"/> | |
<input type="button" value="音声認識終了" onclick="recognition.stop();"/> | |
連続認識<input id="continuous" type="checkbox"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone git://git.kernel.org/pub/scm/virt/kvm/kvm.git | |
git clone git://git.kiszka.org/kvm-kmod.git | |
cd kvm-kmod | |
./configure | |
make LINUX=../kvm clean sync all | |
modprobe -r kvm_intel | |
cp ./x86/kvm*.ko /lib/modules/$(uname -r)/kernel/arch/x86/kvm/ | |
modprobe kvm_intel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const drawHueCircle = Symbol("drawHueCircle"); | |
const drawSVRect = Symbol("drawSVRect"); | |
Object.defineProperties(CanvasRenderingContext2D.prototype, { | |
[drawHueCircle]: { | |
value(x, y, rIn, rOut, splitNum=180){ | |
// 描画半径を計算で求める | |
const r = 2 * rOut; | |
// 直前のスタイル情報のバックアップ | |
const oldStrokeStyle = this.strokeStyle; |
未修正のアプリが数多く残っている状態なので、パブリックな場所での言及には注意して下さい
未修正のアプリが数多く残っている状況ですが、すでに広く情報が公開されており、2.5.2で修正されたという情報が広まると混乱が生じるため広く周知する次第です。
AFNetworking 2.5.1 にMITM攻撃を許す脆弱性があり、2.5.2で修正された、 と報道されていますが、これは誤りです。
OlderNewer