Skip to content

Instantly share code, notes, and snippets.

Avatar

Hung-Wei Chiu hwchiu

View GitHub Profile
View dmesg
X(FF:FF:FF:FF:FF:FF) AC<SU MS NB NRS NA CM EX TF FFP MRET FLE> BE<0 0 0 0 0 0 0 0 0 0 0> (5000ms)
[175611.996118]: Sandbox: 5 duplicate reports for ContextStoreAgen deny(1) mach-lookup com.apple.ocspdSandbox: logd_helper(334) deny(1) file-read-data /Applications/VirtualBox.app/Contents/plugins/platforms/libqcocoa.dylibSandbox: logd_helper(334) deny(1) file-read-data /Applications/VirtualBox.app/Contents/MacOS/components/VBoxXPCOMIPCC.dylibSandbox: logd_helper(334) deny(1) file-read-data /Applications/VirtualBox.app/Contents/MacOS/components/VBoxC.dylibSandbox: logd_helper(334) deny(1) file-read-data /Applications/VirtualBox.app/Contents/MacOS/components/VBoxSVCM.dylibcompat_ifmu_ulist: en5 copyin() error 14compat_ifmu_ulist: ap1 copyin() error 14compat_ifmu_ulist: en0 copyin() error 14compat_ifmu_ulist: awdl0 copyin() error 14compat_ifmu_ulist: llw0 copyin() error 14compat_ifmu_ulist: en3 copyin() error 14compat_ifmu_ulist: en4 copyin() error 14compat_ifmu_ulist: en1 copyin() error 14compat_ifmu_ulist: en2 co
View sudo kmutil showloaded
No variant specified, falling back to release
Index Refs Address Size Wired Name (Version) UUID <Linked Against>
1 135 0 0 0 com.apple.kpi.bsd (20.1.0) 1BEB2151-70F0-3656-AF8F-9BF853F1F2C1 <>
2 11 0 0 0 com.apple.kpi.dsep (20.1.0) 1BEB2151-70F0-3656-AF8F-9BF853F1F2C1 <>
3 165 0 0 0 com.apple.kpi.iokit (20.1.0) 1BEB2151-70F0-3656-AF8F-9BF853F1F2C1 <>
4 0 0 0 0 com.apple.kpi.kasan (20.1.0) 1BEB2151-70F0-3656-AF8F-9BF853F1F2C1 <>
5 169 0 0 0 com.apple.kpi.libkern (20.1.0) 1BEB2151-70F0-3656-AF8F-9BF853F1F2C1 <>
6 148 0 0 0 com.apple.kpi.mach (20.1.0) 1BEB2151-70F0-3656-AF8F-9BF853F1F2C1 <>
7 88 0 0 0 com.apple.kpi.private (20.1.0) 1BEB2151-70F0-3656-AF8F-9BF853F1F2C1 <>
8 102 0 0 0
View sudo kmutil dumpstate
== Extensions by identifier:
com.apple.driver.AppleHDAController v283.15 (DE82AFC3-81C6-33C1-863C-C50B15C6F848) in loaded system kext collection signed <none> flags []
com.apple.iokit.IOCDStorageFamily v1.8 (5D2182C9-C6B8-397F-BD91-E0C28BC6BBF5) in loaded boot kernel collection signed <none> flags [15]
com.apple.driver.ACPI_SMC_PlatformPlugin v1.0.0 (07421921-D739-3FF2-BBD6-F20B5BEB0607) in loaded system kext collection signed <none> flags []
com.apple.driver.AppleIntelI210Ethernet v2.3.1 (06CC3D4F-6611-36AF-90B4-DF58A04057B7) in loaded boot kernel collection signed <none> flags []
com.apple.iokit.IOHIDUserClient v2.0.0 (no uuid) in loaded boot kernel collection signed <none> flags []
com.apple.driver.driverkit.serial v6.0.0 (1AD8EFF0-CFD6-39FE-B36D-339DE4A0A512) in loaded system kext collection signed <none> flags []
com.apple.security.quarantine v4 (566374ED-DF26-3C2F-9E82-00E187B19C49) in loaded boot kernel collection signed <none> flags []
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib v1.0.0 (90
View pv.yaml
---
# Source: provisioner/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: local-provisioner
namespace: default
labels:
helm.sh/chart: provisioner-3.0.0
app.kubernetes.io/name: provisioner
View gist:f8e0f2863b24d84f20b55ceb1931cbe4
curl -o ~/cord-bootstrap.sh https://raw.githubusercontent.com/opencord/cord/master/scripts/cord-bootstrap.sh
chmod +x cord-bootstrap.sh
time bash ./cord-bootstrap.sh -v -x -t "PODCONFIG_PATH=podconfig/rcord-controlkube.yml config" -t "build" |& tee -a ~/setup.log
@hwchiu
hwchiu / _readme.md
Created Oct 2, 2017 — forked from maxivak/_readme.md
Vagrant with Ubuntu 16.04 in VirtualBox
View _readme.md

Setup Ubuntu 16.04 to be used with Vagrant and Virtualbox

Prepare Vagrant box with Ubuntu 16.04

We will use official box "ubuntu/xenial64" and modify it to work with Vagrant.

  • Vagrantfile
@hwchiu
hwchiu / _readme.md
Created Oct 2, 2017 — forked from maxivak/_readme.md
Vagrant with Ubuntu 16.04 in VirtualBox
View _readme.md

Setup Ubuntu 16.04 to be used with Vagrant and Virtualbox

Prepare Vagrant box with Ubuntu 16.04

We will use official box "ubuntu/xenial64" and modify it to work with Vagrant.

  • Vagrantfile
@hwchiu
hwchiu / _readme.md
Created Oct 2, 2017 — forked from maxivak/_readme.md
Vagrant with Ubuntu 16.04 in VirtualBox
View _readme.md

Setup Ubuntu 16.04 to be used with Vagrant and Virtualbox

Prepare Vagrant box with Ubuntu 16.04

We will use official box "ubuntu/xenial64" and modify it to work with Vagrant.

  • Vagrantfile
View gist:b1589690743baed0fc90b01897c7a578
routemap.c:405:7: warning: Access to field 'instance' results in a dereference of a null pointer (loaded from variable 'zlog_default')
if (zlog_default->instance)
^~~~~~~~~~~~~~~~~~~~~~
routemap.c:1689:9: warning: Access to field 'nextrm' results in a dereference of a null pointer (loaded from variable 'index')
index->nextrm,
^~~~~~~~~~~~~
2 warnings generated.
ptm_lib.c:385:13: warning: Branch condition evaluates to a garbage value
if (!p_ctxt) {
^~~~~~~
View gist:b63e7588ff331a6d6c5ef38487718930
tag v2.2-beta1
Tagger: David Sommerseth <dazo@users.sourceforge.net>
Date: Mon Aug 16 20:43:39 2010 +0200
2010.08.10 -- Version 2.2-beta1
* When aborting in a non-graceful way, try to execute do_close_tun in
init.c prior to daemon exit to ensure that the tun/tap interface is
closed and any added routes are deleted.