Skip to content

Instantly share code, notes, and snippets.

@arubdesu
arubdesu / pyWiFi.py
Created August 21, 2015 18:02 — forked from chilcote/gist:10010307
Fun with CoreWLAN and python
#!/usr/bin/python
'''
Playing around with CoreWLAN to return information about the wi-fi connection
Documentation:
https://developer.apple.com/library/mac/documentation/CoreWLAN/Reference/CWInterface_reference/translated_content/CWInterface.html
'''
import objc
@arubdesu
arubdesu / his.plist
Last active August 29, 2015 14:07
why can't they just make their software work.pleaserun
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version='1.0'>
<dict>
<key>Label</key>
<string>com.ittvis.lmgrd</string>
<key>ProgramArguments</key>
<array>
<string>/bin/bash</string>
@arubdesu
arubdesu / Makefile
Last active August 29, 2015 14:00 — forked from anonymous/makefile-v1
USE_PKGBUILD=1
include /usr/local/share/luggage/luggage.make
TITLE=scriptRunnerPkg
REVERSE_DOMAIN=com.grahamgilbert
PAYLOAD=\
pack-scriptRunner
pack-scriptRunner: l_usr_local_bin
@sudo ${CP} ./scriptRunner.py ${WORK_D}/usr/local/bin/scriptRunner.py
@sudo chmod 755 ${WORK_D}/usr/local/bin/scriptRunner.py
@arubdesu
arubdesu / bash history
Created September 26, 2011 15:27 — forked from acdha/bash history
cut -f1 -d" " < ~/.bash_history | sort | uniq -c | sort -nr | head
my standard user:
59 ping
46 ls
37 su
36 python
35 ssh
29 cd
26 git
21 ./createLionUserSetup.py
20 man