Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
| # See http://pacha.hk/2017-07-12_r_and_python_via_homebrew.html | |
| # XCode CLT | |
| xcode-select --install | |
| # Update Homebrew and add formulae | |
| brew update | |
| # Check for broken dependencies and/or outdated packages | |
| brew doctor |
| def cycle_key(self): | |
| #TODO: Errors here will tank the system, probably need some better handling... | |
| old_session_key = self.session_key | |
| old_session = Session.objects.get(session_key=old_session_key) | |
| try: | |
| cart = Cart.objects.get(session=old_session) | |
| super(SessionStore, self).cycle_key() | |
| new_session_key = self.session_key | |
| new_session = Session.objects.get(session_key=new_session_key) | |
| cart.session = new_session |
| class TemplatesTest(TestCase): | |
| def test_templates(self): | |
| """Templates can compile properly and there's no mismatched tags""" | |
| # get app template dirs | |
| template_dirs = [] | |
| apps = [app for app in settings.INSTALLED_APPS | |
| if app.startswith('rh2')] | |
| for app in apps: | |
| mod = import_module(app) |
| # | |
| # Wide-open CORS config for nginx | |
| # | |
| location / { | |
| if ($request_method = 'OPTIONS') { | |
| add_header 'Access-Control-Allow-Origin' '*'; | |
| # |
| [user] | |
| name = Pavan Kumar Sunkara | |
| email = [email protected] | |
| username = pksunkara | |
| [core] | |
| editor = vim | |
| whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| excludesfile = ~/.gitignore | |
| [sendemail] | |
| smtpencryption = tls |
| <?php | |
| define('CLIENT_ID', 'YOUR_CLIENT_ID'); | |
| define('API_KEY', 'YOUR_API_KEY'); | |
| define('TOKEN_URI', 'https://connect.stripe.com/oauth/token'); | |
| define('AUTHORIZE_URI', 'https://connect.stripe.com/oauth/authorize'); | |
| if (isset($_GET['code'])) { // Redirect w/ code | |
| $code = $_GET['code']; |