Skip to content

Instantly share code, notes, and snippets.

pnasrat / blk_completion_2011-2017.Rmd
Created Jun 13, 2020
Modified IPEDS completion data script for Anthropology PhDs
View blk_completion_2011-2017.Rmd
title: "IPEDS Completion Data - Black Students in Anthropology - 2011-2017"
author: "Pris Nasrat - based off work by Clara Bicalho"
date: "6/13/2020"
output: pdf_document
Source: [IPEDS](
More details on data base [here](
Original analysis by Clara Bicalho [here](
#!/usr/bin/env python
# coding: utf-8
from bs4 import BeautifulSoup
import csv
import glob
import re
import json
def parseFile(fn):
pnasrat /
Last active May 19, 2020
ICA Conference hashtags
pnasrat /
Last active Oct 20, 2019
Exploring minishift
$ docker ps --no-trunc --format "table {{.Names}}: {{.Command}}"
NAMES               COMMAND
k8s_webconsole_webconsole-8c4457989-9s7pf_openshift-web-console_cfb56ba5-f29b-11e9-a07d-525400e30ba7_0: "/usr/bin/origin-web-console --audit-log-path=- --config=/var/webconsole-config/webconsole-config.yaml -v=0"
k8s_POD_webconsole-8c4457989-9s7pf_openshift-web-console_cfb56ba5-f29b-11e9-a07d-525400e30ba7_0: "/usr/bin/pod"
k8s_operator_openshift-web-console-operator-57986c9c4f-cz4sp_openshift-core-operators_bcb06889-f29b-11e9-a07d-525400e30ba7_0: "hypershift experimental openshift-webconsole-operator --config=/var/run/configmaps/config/operator-config.yaml -v=0"
k8s_POD_openshift-web-console-operator-57986c9c4f-cz4sp_openshift-core-operators_bcb06889-f29b-11e9-a07d-525400e30ba7_0: "/usr/bin/pod"
k8s_c_openshift-controller-manager-rr4gv_openshift-controller-manager_add73325-f29b-11e9-a07d-525400e30ba7_0: "hypershift openshift-controller-manager --config=/etc/origin/master/master-config.yaml --v=0"
pnasrat /
Created Jan 27, 2019
Wellesley Anthropology Lecturer 2019

The Department of Anthropology at Wellesley College invites applications for a two-year visiting lecturer position (potentially renewable), beginning in August, 2019. The candidate will be responsible for five courses split across two semesters, including an introductory course in socio-cultural anthropology, and an advanced undergraduate course on the theoretical development of the field. Additional teaching assignments are open, but will ideally work with and complement existing departmental offerings ( Regional/topical focus is open. The position is eligible for full Wellesley College employee benefits. Applicants should plan on having a completed Ph.D. prior to the start of their appointment.

Wellesley College is an Affirmative Action/Equal Opportunity Employer, and we are committed to increasing the diversity of the college community and the curriculum. As a women's liberal arts college, Wellesley strives to fully engage our undergraduate students in the joy, possibi

View fbt-provider.txt
This file has been truncated, but you can view the full file.
$ sudo dtrace -lP fbt
181138 fbt _ZN22IOBlockStorageServices9MetaClassC1Ev [IOBlockStorageServices::MetaClass::MetaClass()] entry
181139 fbt _ZN22IOBlockStorageServices9MetaClassC1Ev [IOBlockStorageServices::MetaClass::MetaClass()] return
181140 fbt _ZN22IOBlockStorageServicesC2EPK11OSMetaClass [IOBlockStorageServices::IOBlockStorageServices(OSMetaClass const*)] entry
181141 fbt _ZN22IOBlockStorageServicesC2EPK11OSMetaClass [IOBlockStorageServices::IOBlockStorageServices(OSMetaClass const*)] return
181142 fbt _ZN22IOBlockStorageServicesC1EPK11OSMetaClass [IOBlockStorageServices::IOBlockStorageServices(OSMetaClass const*)] entry
Bhyve-HandleProtocol: Copying DevPath: PciRoot(0x0)/Pci(0x4,0x0)/HD(1,MBR,0x00000000,0x40,0x3C0) [64]
probing: pc0 mem[640K 999M 16M 6M 64K]
disk:Bhyve-HandleProtocol: Copying DevPath: PciRoot(0x0)/Pci(0x4,0x0) [22]
>> OpenBSD/amd64 BOOTX64 3.30
cannot open hd0a:/etc/random.seed: No such file or directory
booting hd0a:/bsd: 3343316+1410944+2413568+0+598016=0x76a238
entry point at 0xf001000 [7205c766, 34000004, 24448b12, 94b0a304]

XNU build blog

  • Build dtrace
    • mkdir -p obj sym dst
    • $ xcodebuild install -target ctfconvert -target ctfdump -target ctfmerge ARCHS="x86_64" SRCROOT=$PWD OBJROOT=$PWD/obj SYMROOT=$PWD/sym DSTROOT=$PWD/dst
  • sudo xcodebuild -license


  • hfs:
pnasrat /
Created Jun 23, 2016 — forked from tanb/
FreeBSD running on xhyve tutorial. (Appendix: Resize image with qemu. Create FreeBSD VM with qemu).


  • Create 5GB FreeBSD image.
  • Install FreeBSD on xhyve.
  • Mount host directory.


pnasrat /
Created Jun 20, 2016
RC Linux/UNIX debugging tool notes
  • ls
  • ps
  • pgrep
  • strace - used to trace system (kernel) calls
  • ltrace - used to trace library (C)
  • /proc filesystem - lots of information
  • /proc/
  • /proc//fd
  • lsof - list of open files including network
  • gdb - briefly