Skip to content

Instantly share code, notes, and snippets.

View mcandre's full-sized avatar

Andrew mcandre

  • Milwaukee, WI
View GitHub Profile
$ sudo ps auxwwwe | grep <PID>
#!/bin/bash
if [ ! -d /etc/puppet/modules ]; then
mkdir -p /etc/puppet/modules
fi
MODULES=(puppetlabs-stdlib puppetlabs/apt puppetlabs/vcsrepo example42/puppi example42/perl)
INSTALLED=`puppet module list`
use ExtUtils::MakeMaker;
sub MY::lint {
return <<'END';
lint:
echo "Linting!!!!!!!!!!!1"
END
}
$ ghci
> let xs = [1..]
> :sprint xs
xs = _
> take 1 xs
[1]
> :sprint xs
xs = 1 : _
> take 5 xs
"""Python Script to complete VVVVVV Veni Vidi Vici puzzle"""
"""Written by Grassman7z7"""
"""You can find the win32* libraries as part of pywin32, found here:"""
""" http://sourceforge.net/projects/pywin32/ """
"""HOW TO USE:"""
"""It's simple. On a Windows Machine (Since I'm using the pywin library) launch VVVVVV"""
"""You'll need to navigate to the bottom of VeniVidiVici. Stand at the checkpoint located on there"""
"""In a cmd window, launch the script with 'py vvvvvv.py'"""
"""Don't touch anything, and watch him go!"""
defaults write com.apple.Terminal CopyAttributesProfile com.apple.Terminal.no-attributes

Control+Shift+Power

Set everything to Long or Lots.
Set most things to Short or None.

/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I