Skip to content

Instantly share code, notes, and snippets.

View fujii's full-sized avatar

Fujii Hironori fujii

View GitHub Profile
@fujii
fujii / dmesg
Created July 14, 2017 01:26
Building gst-plugins-bad-1.10.4.tar.xz on Ubuntu 17.4/Ryzen 2017-07-13
[ 0.000000] Linux version 4.10.0-26-generic (buildd@lcy01-09) (gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2) ) #30-Ubuntu SMP Tue Jun 27 09:30:12 UTC 2017 (Ubuntu 4.10.0-26.30-generic 4.10.17)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.10.0-26-generic root=UUID=dbcbe60f-2c34-4545-83be-eac728f65ee9 ro splash quiet
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
@fujii
fujii / dmesg
Created July 18, 2017 23:33
Building gst-plugins-bad-1.10.4.tar.xz on Ubuntu 17.4/Ryzen 2017-07-18
[ 0.000000] Linux version 4.10.0-28-generic (buildd@lgw01-11) (gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2) ) #32-Ubuntu SMP Fri Jun 30 05:32:18 UTC 2017 (Ubuntu 4.10.0-28.32-generic 4.10.17)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.10.0-28-generic root=UUID=dbcbe60f-2c34-4545-83be-eac728f65ee9 ro splash quiet
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
@fujii
fujii / coredump of ryzen_segv_test
Last active July 20, 2017 04:55
coredump of ryzen_segv_test
fujii@ubuntu $ gdb ryzen_segv_test core
GNU gdb (Ubuntu 7.12.50.20170314-0ubuntu1) 7.12.50.20170314-git
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
@fujii
fujii / dmesg.txt
Created July 20, 2017 23:18
PC slip protector patch for ryzen_segv_test
[ 0.000000] Linux version 4.10.0-28-generic (buildd@lgw01-11) (gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2) ) #32-Ubuntu SMP Fri Jun 30 05:32:18 UTC 2017 (Ubuntu 4.10.0-28.32-generic 4.10.17)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.10.0-28-generic root=UUID=dbcbe60f-2c34-4545-83be-eac728f65ee9 ro splash quiet
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
@fujii
fujii / canvas.html
Created July 21, 2017 08:08
measureText
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
canvas {
border: solid 1px;
}
</style>
<script>
[2017-06-23 05:26:31] <dolmstead> hey all were planning out some tasks for Sony with regards to the web inspector for the next few months that rkirsling will be handling
[2017-06-23 05:26:54] <dolmstead> i mentioned one of the things were trying to figure out to JonDavis and he said to ask over in here
[2017-06-23 05:27:08] <dolmstead> recently https://bugs.webkit.org/show_bug.cgi?id=172966 happened
[2017-06-23 05:27:31] <dolmstead> historically weve been using INSPECTOR_SERVER in order to connect to the web inspector on a PS4
[2017-06-23 05:27:51] <dolmstead> the bug has a lot of back and forth but the gist is that were unsure of what we should be doing
[2017-06-23 05:28:16] <dolmstead> obviously we want to align with what the community is up to and i know igalia are working towards an open implementation of web driver
[2017-06-23 05:28:50] <dolmstead> one of our big requirements is that we want our app developers to be able to connect up with safari since the vast majority are mac users
[2017-06-23 05:29:08
@fujii
fujii / dmesg.txt
Created July 25, 2017 23:36
PC slip protector patch for ryzen_segv_test
[ 0.000000] Linux version 4.10.0-28-generic (buildd@lgw01-11) (gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2) ) #32-Ubuntu SMP Fri Jun 30 05:32:18 UTC 2017 (Ubuntu 4.10.0-28.32-generic 4.10.17)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.10.0-28-generic root=UUID=dbcbe60f-2c34-4545-83be-eac728f65ee9 ro splash quiet
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
@fujii
fujii / webkit-win-cairo-clean-build.txt
Created September 21, 2017 01:34
WebKit WinCairo port build log
1>------ Build started: Project: ZERO_CHECK, Configuration: Debug x64 ------
1> Checking Build System
1> CMake does not need to re-run because C:/webkit/ga/WebKitBuild/Debug/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because C:/webkit/ga/WebKitBuild/Debug/Source/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because C:/webkit/ga/WebKitBuild/Debug/Source/WTF/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because C:/webkit/ga/WebKitBuild/Debug/Source/WTF/wtf/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because C:/webkit/ga/WebKitBuild/Debug/Source/JavaScriptCore/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because C:/webkit/ga/WebKitBuild/Debug/Source/JavaScriptCore/shell/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because C:/webkit/ga/WebKitBuild/Debug/Source/ThirdParty/ANGLE/CMakeFiles/generate.stamp is up-to-date.
1> CMake does n
@fujii
fujii / fujihiro.json
Last active October 4, 2017 06:04
Karabiner-Elements
{
"title": "Fujihiro",
"rules": [
{
"description": "Swap command and control in Terminal and Emacs",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_control",
@fujii
fujii / image-diff.py
Created October 4, 2017 04:33
WebKit LayoutTests image-diff
import sys
import logging
import optparse
from webkitpy.port.factory import PortFactory
from webkitpy.port import configuration_options, platform_options
from webkitpy.common.system.systemhost import SystemHost
logging.basicConfig(level=logging.INFO)
def parse_args(args):