Skip to content

Instantly share code, notes, and snippets.

View hiroakit's full-sized avatar

hiroakit hiroakit

  • Japan
View GitHub Profile
@hiroakit
hiroakit / system.log
Created June 4, 2020 16:16
Substance Painter may cause to crash macOS
Jun 5 01:00:20 MacBook-Pro com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.system_profiler.4456): Failed to bootstrap path: path = /usr/sbin/system_profiler, error = 2: No such file or directory
Jun 5 01:00:59 MacBook-Pro com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0F000000-0700-0000-0000-000000000000[4460]): Service exited due to SIGKILL | sent by mds[151]
Jun 5 01:00:59 MacBook-Pro com.apple.xpc.launchd[1] (com.apple.mdworker.shared.06000000-0700-0000-0000-000000000000[4459]): Service exited due to SIGKILL | sent by mds[151]
Jun 5 01:00:59 MacBook-Pro com.apple.xpc.launchd[1] (com.apple.mdworker.shared.07000000-0000-0000-0000-000000000000[4461]): Service exited due to SIGKILL | sent by mds[151]
Jun 5 01:01:01 MacBook-Pro com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0C000000-0200-0000-0000-000000000000[4464]): Service exited due to SIGKILL | sent by mds[151]
Jun 5 01:01:01 MacBook-Pro com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0600-0000-0000-000000000000[4463
@hiroakit
hiroakit / SubstancePainter-wakeups_resource_dia.log
Created June 4, 2020 16:14
Substance Painter_2020-06-05-010245_MacBook-Pro.wakeups_resource.dia
Date/Time: 2020-06-05 01:00:19 +0900
End time: 2020-06-05 01:02:44 +0900
OS Version: Mac OS X 10.15.5 (Build 19F101)
Architecture: x86_64h
Report Version: 29
Incident Identifier: 773CEE43-EEA7-4880-A725-9BF4DCEDD602
Data Source: Microstackshots
Shared Cache: 0x47ed000 B108978D-9FF7-347D-94EF-2C999C59A841
@hiroakit
hiroakit / TypefaceSample.cpp
Created May 21, 2020 16:25
Typeface Sample for Emacs
// TYPEFACE SAMPLE
//
// ABCDEFGHIJKLMNOPQRSTUVWXYZ
// abcdefghijklmnopqrstuvwxyz
//
// 1234567890
// !@#$&(){}[],.'";:+-/*^%=~`\|_
// ¥€£
//
// あいうえお かきくけこ さしすせそ たちつてと なにぬねの はひふへほ
@hiroakit
hiroakit / kernel-panic_norton_2020-05-07.log
Created May 7, 2020 09:24
Got a kernel panic that maybe caused by com.symantec.internet Security.kext while installation Autodesk Maya 2020 update 1 from dmg file
panic(cpu 8 caller 0xffffff80132cbbc3): "m_copydata: invalid mbuf chain 0xffffff83c74cb800 [off 0, len 62630]"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.101.6/bsd/kern/uipc_mbuf.c:5374
Backtrace (CPU 8), Frame : Return Address
0xffffff83be332e80 : 0xffffff8012d215cd
0xffffff83be332ed0 : 0xffffff8012e5a3c5
0xffffff83be332f10 : 0xffffff8012e4bf7e
0xffffff83be332f60 : 0xffffff8012cc7a40
0xffffff83be332f80 : 0xffffff8012d20c97
0xffffff83be333080 : 0xffffff8012d21087
0xffffff83be3330d0 : 0xffffff80134c2c7c
0xffffff83be333140 : 0xffffff80132cbbc3
@hiroakit
hiroakit / kernel-panic_norton_2020-05-04.log
Last active May 6, 2020 01:12
Got a kernel panic that maybe caused by com.symantec.internet Security.kext on clean installed macOS 10.15.4.
panic(cpu 4 caller 0xffffff80114cbbc3): "m_copydata: invalid mbuf chain 0xffffff83c5bc7400 [off 0, len 12530]"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.101.6/bsd/kern/uipc_mbuf.c:5374
Backtrace (CPU 4), Frame : Return Address
0xffffff80450f2e80 : 0xffffff8010f215cd
0xffffff80450f2ed0 : 0xffffff801105a3c5
0xffffff80450f2f10 : 0xffffff801104bf7e
0xffffff80450f2f60 : 0xffffff8010ec7a40
0xffffff80450f2f80 : 0xffffff8010f20c97
0xffffff80450f3080 : 0xffffff8010f21087
0xffffff80450f30d0 : 0xffffff80116c2c7c
0xffffff80450f3140 : 0xffffff80114cbbc3
@hiroakit
hiroakit / kernel-panic_norton.log
Last active May 6, 2020 01:01
kernel-panic.log
panic(cpu 0 caller 0xffffff800d0cbbc3): "m_copydata: invalid mbuf chain 0xffffff83c0c27b00 [off 0, len 23724]"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.101.6/bsd/kern/uipc_mbuf.c:5374
Backtrace (CPU 0), Frame : Return Address
0xffffffa3f17fae80 : 0xffffff800cb215cd
0xffffffa3f17faed0 : 0xffffff800cc5a3c5
0xffffffa3f17faf10 : 0xffffff800cc4bf7e
0xffffffa3f17faf60 : 0xffffff800cac7a40
0xffffffa3f17faf80 : 0xffffff800cb20c97
0xffffffa3f17fb080 : 0xffffff800cb21087
0xffffffa3f17fb0d0 : 0xffffff800d2c2c7c
0xffffffa3f17fb140 : 0xffffff800d0cbbc3
@hiroakit
hiroakit / kernel-panic_norton_2020-05-01.log
Last active May 6, 2020 01:00
kernel-panic.log at 2020-05-01, occurred by com.symantec.internetSecurity.kext
panic(cpu 4 caller 0xffffff80162cbbc3): "m_copydata: invalid mbuf chain 0xffffff83ca7a6200 [off 0, len 49186]"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.101.6/bsd/kern/uipc_mbuf.c:5374
Backtrace (CPU 4), Frame : Return Address
0xffffffa3fb5d2e80 : 0xffffff8015d215cd
0xffffffa3fb5d2ed0 : 0xffffff8015e5a3c5
0xffffffa3fb5d2f10 : 0xffffff8015e4bf7e
0xffffffa3fb5d2f60 : 0xffffff8015cc7a40
0xffffffa3fb5d2f80 : 0xffffff8015d20c97
0xffffffa3fb5d3080 : 0xffffff8015d21087
0xffffffa3fb5d30d0 : 0xffffff80164c2c7c
0xffffffa3fb5d3140 : 0xffffff80162cbbc3
@hiroakit
hiroakit / kernel-panic_norton_2020-04-20.log
Last active May 6, 2020 00:59
kernel-panic.log at 2020-04-20, occurred by com.symantec.internetSecurity.kext
panic(cpu 2 caller 0xffffff80110cbbc3): "m_copydata: invalid mbuf chain 0xffffff83c55ee900 [off 0, len 42636]"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.101.6/bsd/kern/uipc_mbuf.c:5374
Backtrace (CPU 2), Frame : Return Address
0xffffffa3f9a82e80 : 0xffffff8010b215cd
0xffffffa3f9a82ed0 : 0xffffff8010c5a3c5
0xffffffa3f9a82f10 : 0xffffff8010c4bf7e
0xffffffa3f9a82f60 : 0xffffff8010ac7a40
0xffffffa3f9a82f80 : 0xffffff8010b20c97
0xffffffa3f9a83080 : 0xffffff8010b21087
0xffffffa3f9a830d0 : 0xffffff80112c2c7c
0xffffffa3f9a83140 : 0xffffff80110cbbc3
@hiroakit
hiroakit / settings.json
Created April 23, 2020 02:59
VS Code拡張機能Autodesk Forge Tools用にForgeの認証情報をサクッと書くためのプレースホルダー。
{
"autodesk.forge.environments": [
{
"title" : "my environment",
"clientId": "my client id",
"clientSecret": "my client secret",
"region": "US"
}
]
}
@hiroakit
hiroakit / PinToStartMenu.ps1
Last active March 8, 2020 05:01
Windows 10 Pro (version 1909, OSビルド 18363.693)でアプリケーションを「スタート メニューにピン留め」しようと思って書いたPowerShellスクリプト。結論としては実現できずだった。FolderItemのリファレンス: https://docs.microsoft.com/ja-jp/windows/win32/shell/folderitem
function PinToStartMenu($FileFullPath) {
if(!(Test-Path $FileFullPath)) {
Write-Error("File not found. Please check file path.")
return
}
$PathName = Split-Path $FileFullPath -Parent
$FileName = Split-Path $FileFullPath -Leaf
$Shell = new-object -com "Shell.Application"