Does your osx terminal speak java 7? Start Terminal.app and try: java -version:
> java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)| web: gunicorn wsgi:app -b 0.0.0.0:$PORT -w 3 -k gevent --max-requests 250 |
| # encoding=utf-8 | |
| import sys | |
| import datetime | |
| import email | |
| import mimetypes | |
| import os | |
| import time | |
| import gzip | |
| import subprocess |
| @font-face { | |
| font-family: 'EntypoRegular'; | |
| src: url('font/entypo.eot'); | |
| src: url('font/entypo.eot?#iefix') format('embedded-opentype'), | |
| url('font/entypo.woff') format('woff'), | |
| url('font/entypo.ttf') format('truetype'), | |
| url('font/entypo.svg#EntypoRegular') format('svg'); | |
| font-weight: normal; | |
| font-style: normal; | |
| } |
| -- | |
| -- open currently active Chrome tab with Safari | |
| -- forked from https://gist.github.com/3151932 and https://gist.github.com/3153606 | |
| -- | |
| property theURL : "" | |
| tell application "Google Chrome" | |
| set theURL to URL of active tab of window 0 | |
| end tell | |
| if appIsRunning("Safari") then |
| # -*- coding: utf-8 -*- | |
| """ | |
| Based on http://blog.localkinegrinds.com/2007/09/06/digg-style-pagination-in-django/ | |
| and http://djangosnippets.org/snippets/2680/ | |
| Recreated by Haisheng HU <hanson2010@gmail.com> on Jun 3, 2012 | |
| Updated by Simon Bächler for Foundation on Apr. 28, 2015 | |
| http://foundation.zurb.com/docs/components/pagination.html | |
| """ |
| # install missing libraries (if any) | |
| cd ~ | |
| sudo yum update | |
| yum install java-1.7.0-openjdk.x86_64 | |
| yum install unzip | |
| yum install mc | |
| yum install wget | |
| yum install curl | |
| # get and unpack elasticsearch zip file |
| #!/usr/bin/ruby | |
| # Create display override file to force Mac OS X to use RGB mode for Display | |
| # see http://embdev.net/topic/284710 | |
| require 'base64' | |
| data=`ioreg -l -d0 -w 0 -r -c AppleDisplay` | |
| edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten | |
| vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten |
| name: CI | |
| on: [push] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| services: |
PYTHON_VERISON=3.9.7, ENVIRONMENT=live, and SECRET_KEY