Skip to content

Instantly share code, notes, and snippets.

View jasonrm's full-sized avatar

Jason R. McNeil jasonrm

  • Arizona
  • 13:22 (UTC -07:00)
View GitHub Profile
Process: Changes [24686]
Path: /Applications/Changes.app/Contents/MacOS/Changes
Identifier: com.skorpiostech.Changes
Version: 1.5.6 (524)
Code Type: X86 (Native)
Parent Process: launchd [158]
Date/Time: 2010-02-13 04:48:06.275 -0700
OS Version: Mac OS X 10.6.2 (10C540)
Report Version: 6
@jasonrm
jasonrm / gist:501627
Created July 31, 2010 01:40
Top is my system, bottom is my best guess on how to modify to disable the kernel panic graphic and instead display the panic text.
We couldn’t find that file to show.
@jasonrm
jasonrm / gist:548950
Created August 25, 2010 06:07
Bonnie++ Benchmarks
ZFS 160GB Intel SSD (SSDSA2M160G2GC)
Version 1.96 ------Sequential Output------ --Sequential Input- --Random-
Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
macpro.local 8G 59 99 74167 25 56883 22 139 99 159046 23 1207 41
Latency 137ms 3896ms 2154ms 61868us 277ms 98685us
Version 1.96 ------Sequential Create------ --------Random Create--------
macpro.local -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 7523 78 +++++ +++ 12047 92 10646 93 +++++ +++ 11923 92
@jasonrm
jasonrm / gist:721079
Created November 30, 2010 03:09
zfsEmptyTrash.sh
#!/bin/sh
# If you use ZFS of Mac OS X 10.5 right now
# then you know that emptying the trash
# will not empty the trash on ZFS filesystems
# however we can do this with brute force.
list=`zfs list -o mountpoint -t filesystem | sed 1d`
for filesystem in $list
do
sudo rm -rf $filesystem/.Trashes/*
sudo rm -rf $filesystem/.Trash/*
# Create temp files to be used as vdevs
mkfile 256m diskA
mkfile 256m diskB
mkfile 256m diskC
mkfile 256m diskD
mkfile 256m diskE
mkfile 256m diskF
# Create striped pool
zpool create testPool /Volumes/Rosalina/diskA /Volumes/Rosalina/diskB /Volumes/Rosalina/diskC
# Attach a new vdev to each existing vdev
@jasonrm
jasonrm / salt.md
Last active November 10, 2023 00:58

Salt States

top.sls

base:
  'os:MacOS':
    - match: grain
    - homebrew
  '*':
    - nginx
@jasonrm
jasonrm / layout.md
Last active December 15, 2015 15:38
  • root
    • minion
    • salt
      • top.sls
    • pillar
  • settings.sls
Process: WebProcess [92520]
Path: /Applications/WebKit.app/Contents/Frameworks/10.8/WebKit2.framework/WebProcess.app/Contents/MacOS/WebProcess
Identifier: com.apple.WebProcess
Version: 538+ (538.1+)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
User ID: 501
Date/Time: 2013-08-20 11:58:46.027 -0700
OS Version: Mac OS X 10.8.4 (12E55)
Process: WebProcess [83683]
Path: /Applications/WebKit.app/Contents/Frameworks/10.8/WebKit2.framework/WebProcess.app/Contents/MacOS/WebProcess
Identifier: com.apple.WebProcess
Version: 538+ (538.1+)
Code Type: X86-64 (Native)
Parent Process: SafariForWebKitDevelopment [83681]
User ID: 501
Date/Time: 2013-08-20 21:28:16.855 -0700
OS Version: Mac OS X 10.8.4 (12E55)
$ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: git://github.com/mxcl/homebrew.git
HEAD: 4ed26b20f4f508c4d5254f452bcaeadb32bf3ede
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit sandybridge
OS X: 10.9-x86_64
Xcode: 5.0.1
LLVM-GCC: N/A