On Mac OS X:
- Install puppet 3.0.2, facter 1.6.17 and hiera 1.1.2
- create /etc/puppet/puppet.conf
- configure launchd puppet daemon
- initial puppet run
On Mac OS X:
| Thumbs.db | |
| .Trash | |
| # Exclude the build directory | |
| build | |
| # Exclude OS X folder attributes | |
| .DS_Store | |
| # Exclude user-specific XCode 3 and 4 files |
| --- | |
| BasedOnStyle: WebKit | |
| AccessModifierOffset: -2 | |
| AlignEscapedNewlinesLeft: false | |
| AlignTrailingComments: false | |
| AllowAllParametersOfDeclarationOnNextLine: true | |
| AllowShortIfStatementsOnASingleLine: true | |
| AllowShortLoopsOnASingleLine: true | |
| AlwaysBreakBeforeMultilineStrings: false | |
| AlwaysBreakTemplateDeclarations: false |
| #!/bin/bash | |
| # | |
| # Build and iPhone Simulator Helper Script | |
| # Shazron Abdullah 2011 | |
| # | |
| # WARN: - if your .xcodeproj name is not the same as your .app name, | |
| # this won't work without modifications | |
| # - you must run this script in where your .xcodeproj file is | |
| PROJECTNAME=$1 |
| #!/bin/bash | |
| # chkconfig: 2345 55 25 | |
| # Dashing service | |
| # Add this file to /etc/init.d/ | |
| # Make executable | |
| # Configure chkconfig | |
| # Dashboard will start at boot. Check out the boot log for trouble shooting "/var/log/boot.log" | |
| ###################################################### | |
| #YOU WILL NEED TO CONFIGURE THIS FOR YOUR ENVIRONMENT# | |
| ###################################################### |
| UISearchBar *searchBar = [[UISearchBar alloc] init]; | |
| self.navigationItem.titleView = searchBar; | |
| UIBarButtonItem *cancelButton = [[UIBarButtonItem alloc] initWithTitle:NSLocalizedString(@"cancel", @"Cancel") | |
| style:UIBarButtonSystemItemCancel | |
| target:self | |
| action:@selector(cancelButtonClicked)]; | |
| self.navigationItem.rightBarButtonItem = cancelButton; |
THIS IS A WORK IN PROGRESS USING THE YOSEMITE BETA - DO NOT RELY ON IT!
Install OSX on a fresh drive. I recommend using Disk Utility to repartition the entire drive as 1 partition, as this clears any hidden volumes.
Once the initial install is complete, the OSX Setup Assistant will create your first adminstrator account.
| # | |
| # Original version by Grant Parnell is offline (http://digitaldj.net/2011/07/21/trim-enabler-for-lion/) | |
| # Update July 2014: no longer offline, see https://digitaldj.net/blog/2011/11/17/trim-enabler-for-os-x-lion-mountain-lion-mavericks/ | |
| # | |
| # Looks for "Apple" string in HD kext, changes it to a wildcard match for anything | |
| # | |
| # Alternative to http://www.groths.org/trim-enabler-3-0-released/ | |
| # Method behind this madness described: http://forums.macrumors.com/showthread.php?t=1409151&page=4 | |
| # See discussion in comments here: https://www.macupdate.com/app/mac/39654/lion-tweaks | |
| # And here: http://forums.macrumors.com/showthread.php?t=1410459 |
| // Android app | |
| private void setupParse(Context context) { | |
| Parse.initialize(this, <PARSE_APP_ID>, <PARSE_CLIENT_KEY>); | |
| ParseInstallation.getCurrentInstallation().put("uniqueId", getWifiMacAddress(context)); | |
| ParseInstallation.getCurrentInstallation().saveInBackground(); | |
| } | |
| private String getWifiMacAddress(Context context) { | |
| WifiManager wifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); | |
| if (wifiManager != null && wifiManager.getConnectionInfo() != null) { |