Follow the instructions here: https://www.linode.com/wiki/index.php/PV-GRUB#Ubuntu_12.04_Precise
Basically:
apt-get update
apt-get install -y linux-virtual grub-legacy-ec2
Follow the instructions here: https://www.linode.com/wiki/index.php/PV-GRUB#Ubuntu_12.04_Precise
Basically:
apt-get update
apt-get install -y linux-virtual grub-legacy-ec2
| # STEP 1: VERIFY THAT YOU DO NOT ALREADY HAVE POSTGRESQL INSTALLED ON YOUR SYSTEM | |
| ps ax | grep postgres | |
| # STEP 2: INSTALL POSTGRESQL ON YOUR SYSTEM | |
| sudo apt-get update | |
| sudo apt-get install postgresql-9.1 | |
| # List All Postgres related packages | |
| dpkg -l | grep postgres |
| - (void)viewDidAppear:(BOOL) animated { | |
| [super viewDidAppear:animated]; | |
| // Register notification when the keyboard will be show | |
| [[NSNotificationCenter defaultCenter] addObserver:self | |
| selector:@selector(keyboardWillShow:) | |
| name:UIKeyboardWillShowNotification | |
| object:nil]; | |
| // Register notification when the keyboard will be hide | |
| [[NSNotificationCenter defaultCenter] addObserver:self |
| #import <Foundation/Foundation.h> | |
| #import <AVFoundation/AVFoundation.h> | |
| #import "GPUImageOpenGLESContext.h" | |
| #import "GPUImageOutput.h" | |
| #import "TPCircularBuffer.h" | |
| #ifndef max | |
| #define max( a, b ) ( ((a) > (b)) ? (a) : (b) ) | |
| #endif |
##Google Interview Questions: Product Marketing Manager
| #!/bin/sh | |
| # Current as working as of 2012/4/17 | |
| # Xcode 4.3.2 | |
| PROJECT_ROOT="$HOME/SomeDirWhereYourProjectLives/XXXXXXXX" | |
| WORKSPACE="$PROJECT_ROOT/XXXXXXXX.xcodeproj/project.xcworkspace" | |
| CONFIG="AdHoc" | |
| SCHEME="XXXXXXXX" |
| #!/bin/bash | |
| # | |
| # (Above line comes out when placing in Xcode scheme) | |
| # | |
| # Inspired by original script by incanus: | |
| # https://gist.github.com/1186990 | |
| # | |
| # Rewritten by martijnthe: | |
| # https://gist.github.com/1379127 | |
| # |
| #!/bin/bash | |
| if [[ $CONFIGURATION == *Adhoc* ]]; then | |
| buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" ${PROJECT_DIR}/${INFOPLIST_FILE}) | |
| buildNumber=$(($buildNumber + 1)) | |
| /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber" ${PROJECT_DIR}/${INFOPLIST_FILE} | |
| fi |
| #!/bin/sh | |
| # Script for managing build and version numbers using git and agvtool. | |
| # Change log: | |
| # v1.0 18-Jul-11 First public release. | |
| # v1.1 29-Sep-12 Launch git, agvtool via xcrun. | |
| version() { |
| require 'yaml' | |
| require 'uri' | |
| require 'tempfile' | |
| require 'tmpdir' | |
| SDK_DIR = "/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk" | |
| TESTFLIGHT_URL = 'http://testflightapp.com/api/builds.json' | |
| PROJECT_DIR = File.dirname __FILE__ | |
| RUBIOS_DIR = File.join(PROJECT_DIR, 'rubios') |