This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am matthewshirley on github. | |
* I am matthewshirley (https://keybase.io/matthewshirley) on keybase. | |
* I have a public key whose fingerprint is 21F4 4B72 4671 20B6 9BE8 6182 09DC B978 174B 3F8B | |
To claim this, I am signing this object: |
This file contains 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
@pytest.hookimpl(hookwrapper=True) | |
def pytest_runtest_call(item): | |
instance = item._obj | |
self = instance.__self__ | |
if getattr(self, 'post_setup', False): | |
def setUpWithHooks(): | |
self.originalSetUp() | |
self.post_setup() |
This file contains 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
import React from 'react'; | |
import PropTypes from 'prop-types'; | |
import { connect } from 'react-redux'; | |
import { Route, Redirect, withRouter } from 'react-router-dom'; | |
const AuthRoute = ({ component: Component, isLoggedIn, ...rest }) => ( | |
<Route | |
{...rest} | |
render={props => (isLoggedIn === true ? <Component {...props} /> : <Redirect to={{ pathname: '/auth/login' }} />)} |
This file contains 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
package com.yourpackagename; // Make sure to change this to your package | |
import com.reactnativenavigation.controllers.SplashActivity; | |
public class MainActivity extends SplashActivity { | |
} |
This file contains 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
# Download libmemcache 1.0.16: https://launchpad.net/libmemcached/1.0/1.0.16 | |
```bash | |
./configure | |
make | |
make install | |
``` | |
# Install memcached by pecl. When prompted for the directory type 'no -disable-memcached-sasl' |
This file contains 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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |