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
| #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 |
| - (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 |
| # 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 |
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
| #import <Foundation/Foundation.h> | |
| @class EventSource; | |
| @protocol EventSourceDelegate <NSObject> | |
| @optional | |
| - (void)eventSourceDidOpenConnection:(EventSource*)eventSource; | |
| - (void)eventSource:(EventSource*)eventSource didFailWithError:(NSError*)error; |
| // Macro - Set the flag for block completion | |
| #define StartBlock() __block BOOL waitingForBlock = YES | |
| // Macro - Set the flag to stop the loop | |
| #define EndBlock() waitingForBlock = NO | |
| // Macro - Wait and loop until flag is set | |
| #define WaitUntilBlockCompletes() WaitWhile(waitingForBlock) | |
| // Macro - Wait for condition to be NO/false in blocks and asynchronous calls |
The status bar in iOS 7 is transparent, the view behind it shows through.
The style of the status bar refers to the appearances of its content. In iOS 7, the status bar content is either dark (UIStatusBarStyleDefault) or light (UIStatusBarStyleLightContent). Both UIStatusBarStyleBlackTranslucent and UIStatusBarStyleBlackOpaque are deprecated in iOS 7.0. Use UIStatusBarStyleLightContent instead.
UINavigationBar.barStyle):| http://www.infoq.com/presentations/Simple-Made-Easy | |
| http://www.infoq.com/presentations/integration-tests-scam | |
| http://blog.thecodewhisperer.com/2010/09/14/when-is-it-safe-to-introduce-test-doubles | |
| http://youtu.be/yTkzNHF6rMs | |
| http://pyvideo.org/video/1670/boundaries | |
| http://skillsmatter.com/podcast/ajax-ria/enumerators | |
| http://alistair.cockburn.us/Hexagonal+architecture | |
| http://c2.com/cgi/wiki?PortsAndAdaptersArchitecture | |
| http://www.confreaks.com/videos/977-goruco2012-hexagonal-rails | |
| http://www.confreaks.com/videos/1255-rockymtnruby2012-to-mock-or-not-to-mock |
| #import <UIKit/UIKit.h> | |
| @interface UIButton (TCCustomFont) | |
| @property (nonatomic, copy) NSString* fontName; | |
| @end | |
| @implementation UIButton (TCCustomFont) | |
| - (NSString *)fontName { | |
| return self.titleLabel.font.fontName; |
| // LXTouchGestureRecognizer.h | |
| // | |
| // Copyright (c) 2015 Stan Chang Khin Boon (http://lxcid.com) | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights | |
| // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| // copies of the Software, and to permit persons to whom the Software is | |
| // furnished to do so, subject to the following conditions: |