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
| FROM ruby:2.2.2 | |
| RUN apt-get update -qq && apt-get install -y build-essential | |
| # for postgres | |
| RUN apt-get install -y libpq-dev | |
| # for nokogiri | |
| RUN apt-get install -y libxml2-dev libxslt1-dev |
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’ |