based on https://github.com/jeffreywildman/homebrew-virt-manager/
brew tap jeffreywildman/homebrew-virt-manager
brew install py2cairo
brew install virt-manager virt-viewer
brew cask install xquartz
| # Create trails in all AWS standard regions with the AWS CLI and Linux. | |
| SCRIPTNAME=$0 | |
| if [ -z $3 ] | |
| then | |
| echo "$SCRIPTNAME is missing parameters. | |
| Usage: $SCRIPTNAME bucket region profile | |
| Example: $SCRIPTNAME my-cloudtrail-bucket eu-west-1 default" | |
| else | |
| CLOUDTRAIL_S3_BUCKET=$1 | |
| REGION_FOR_GLOBAL_EVENTS=$2 |
| (* | |
| applescript-mslync-update-location | |
| author: [email protected] | |
| desc: the idea with this is to update your location in Microsoft Lync according to your network location. | |
| update the following to adapt to your usage: | |
| MYNIC to your network interface name | |
| MYSSID to your wifi's ssid | |
| MYIPRANGE to your wireless network ip range (referenced above via MYSSID) |
| #!/bin/bash | |
| # Configure the instance to run as a Port Address Translator (PAT) to provide | |
| # Internet connectivity to private instances. | |
| function log { logger -t "vpc" -- $1; } | |
| function die { | |
| [ -n "$1" ] && log "$1" | |
| log "Configuration of PAT failed!" | |
| exit 1 |
| ### info | |
| this works on my powermac g5 dual 1.8ghz with ubuntu 14.04. | |
| #### modify /etc/modules to match: | |
| apm_emu | |
| loop | |
| # snd-powermac | |
| snd_aoa_i2sbus | |
| snd_aoa_fabric_layout | |
| # snd_aoa_codec_tas | |
| snd_aoa_codec_onyx |
| # uname -a | |
| OpenBSD foo.openlab.fr 5.8 GENERIC#1170 amd64 | |
| # export PKG_PATH=http://ftp2.fr.openbsd.org/pub/OpenBSD/`uname -r`/packages/`arch -s`/ | |
| # pkg_add python | |
| quirks-2.114 signed on 2015-08-09T11:57:52Z | |
| quirks-2.114: ok | |
| Ambiguous: choose package for python | |
| a 0: <None> | |
| 1: python-2.7.10 | |
| 2: python-3.4.3 |
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
| aws ec2 describe-images --owners amazon --query 'reverse(sort_by(Images[*].{Id:ImageId,Type:VirtualizationType,Created:CreationDate,Storage:RootDeviceType, Desc:Description}, &Created))' --filters "Name=description,Values=Amazon Linux AMI*" --output table |
| sudo yum install libmpc-devel mpfr-devel gmp-devel | |
| sudo yum groupinstall "Development tools" | |
| cd /tmp | |
| curl ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.9.2/gcc-4.9.2.tar.bz2 -O | |
| tar xvfj gcc-4.9.2.tar.bz2 | |
| cd gcc-4.9.2 | |
| ./configure --disable-multilib --enable-languages=c,c++ | |
| make -j 4 |
| Description: | |
| This template creates an s3 Bucket for CloudTrail logs; it is set up with | |
| the appropriate bucket policies defined to receive logs only from CloudTrail. | |
| It also includes a LifecyclePolicy moving files to Glacier after 1 year. | |
| Parameters: | |
| EnvironmentName: | |
| Description: | |
| An environment name that will be used for tags. |
based on https://github.com/jeffreywildman/homebrew-virt-manager/
brew tap jeffreywildman/homebrew-virt-manager
brew install py2cairo
brew install virt-manager virt-viewer
brew cask install xquartz