This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warning: owner-based and parent-based contexts differ (values: `undefined` vs `[object Object]`) for key (muiTheme) while mounting Paper (see: http://fb.me/react-context-by-parent) | |
es6.promise.js:131 Unhandled promise rejection TypeError: Cannot read property 'component' of undefined | |
at getStyles (webpack:///./~/material-ui/lib/paper.js?:37:47) | |
at render (webpack:///./~/material-ui/lib/paper.js?:58:23) | |
at ReactCompositeComponentMixin._renderValidatedComponentWithoutOwnerOrContext (webpack:///./~/react/lib/ReactCompositeComponent.js?:789:34) | |
at ReactCompositeComponentMixin._renderValidatedComponent (webpack:///./~/react/lib/ReactCompositeComponent.js?:816:14) | |
at ReactPerf.measure.wrapper (webpack:///./~/react/lib/ReactPerf.js?:70:21) | |
at ReactCompositeComponentMixin.mountComponent (webpack:///./~/react/lib/ReactCompositeComponent.js?:237:30) | |
at ReactPerf.measure.wrapper [as mountComponent] (webpack:///./~/react/lib/ReactPerf.js?:70:21) | |
at Object.ReactReconciler.mountComponent (we |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://wiki.ubuntu.com/ARM/RaspberryPi | |
# install xubuntu-desktop | |
# disable overscan | |
/boot/config.txt | |
# Autostart Synergy before logging in (LightDM) | |
/etc/lightdm/lightdm.conf: | |
[SeatDefaults] | |
greeter-setup-script=/usr/bin/synergyc <OPTIONS> <SERVER HOSTNAME> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { | |
FBSDKApplicationDelegate.sharedInstance().application(application, didFinishLaunchingWithOptions: launchOptions) | |
} | |
func applicationDidBecomeActive(application: UIApplication) { | |
FBSDKAppEvents.activateApp() | |
} | |
func application(application: UIApplication, openURL url: NSURL, sourceApplication: String?, annotation: AnyObject?) -> Bool { | |
return FBSDKApplicationDelegate.sharedInstance() .application(application, openURL: url, sourceApplication: sourceApplication, annotation: annotation) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install iptables-persistent |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let phoneUtil = NBPhoneNumberUtil() | |
let phoneNumber = phoneUtil.parse(number.string, defaultRegion:"US", error:nil) | |
let phoneNumberInString = phoneUtil.format(nbPhoneNumber, numberFormat: NBEPhoneNumberFormatINTERNATIONAL, error: nil) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window = UIWindow(frame: UIScreen.mainScreen().bounds) | |
if let window = window { | |
window.backgroundColor = UIColor.whiteColor() | |
window.rootViewController = UIViewController() | |
window.makeKeyAndVisible() | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/vagrant/WebChimera/src/ChimeraAPI.cpp: In member function ‘virtual FB::variant JSPlaylistItemsAPI::GetProperty(const string&)’: | |
/home/vagrant/WebChimera/src/ChimeraAPI.cpp:311:15: error: ‘c’ does not name a type | |
for( auto c : propertyName ) { | |
^ | |
/home/vagrant/WebChimera/src/ChimeraAPI.cpp:319:5: error: expected primary-expression before ‘return’ | |
return GetProperty( idx ); | |
^ | |
/home/vagrant/WebChimera/src/ChimeraAPI.cpp:319:5: error: expected ‘;’ before ‘return’ | |
/home/vagrant/WebChimera/src/ChimeraAPI.cpp:319:5: error: expected primary-expression before ‘return’ | |
/home/vagrant/WebChimera/src/ChimeraAPI.cpp:319:5: error: expected ‘)’ before ‘return’ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
B3C821281A2555E500C617AC /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B3C821101A25556A00C617AC /* AVFoundation.framework */; }; | |
B3C821291A2555EA00C617AC /* CoreData.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B3C821121A25556E00C617AC /* CoreData.framework */; }; | |
B3C8212A1A2555EE00C617AC /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B3C821141A25557300C617AC /* CoreLocation.framework */; }; | |
B3C8212B1A2555F300C617AC /* CoreText.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B3C821161A25557A00C617AC /* CoreText.framework */; }; | |
B3C8212C1A2555F800C617AC /* GLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B3C821181A25557E00C617AC /* GLKit.framework */; }; | |
B3C8212D1A2555FD00C617AC /* ImageIO.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B3C8211A1A25558300C617AC /* ImageIO.framework */; }; | |
B3C8212E1A25560400C617AC /* libc++.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = B3C8211C1A25558800C |