Now with Python 3!
brew install python
brew install pipenv
brew install gfortran| #!/bin/bash | |
| # On OSX, two different types of Python builds exist: a regular build and | |
| # a framework build. In order to interact correctly with some GUI | |
| # frameworks, you need to use a framework build. Unfortuantly, on OSX | |
| # virtualenv always uses a regular build. | |
| # | |
| # The best known workaround, borrowed from the WX wiki, is to use the non- | |
| # virtualenv Python along with the PYTHONHOME environment variable. | |
| # See: http://matplotlib.org/faq/virtualenv_faq.html#osx |
| #!/bin/bash | |
| mkdir ./config && curl http://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem > ./config/amazon-rds-ca-cert.pem | |
| #DATABASE_URL=postgres://user:password@host:port/database?sslca=config/amazon-rds-ca-cert.pem |
| Extension Matches REF EXT min/Max PHP min/Max PHP all | |
| ------------------------------------------------------------- | |
| Core Core 5.3.0 5.3.0 | |
| PDO PDO 5.1.0 5.1.0 | |
| Reflection Reflection 5.0.0 5.0.0 | |
| SimpleXML SimpleXML 5.0.1 5.0.1 | |
| com_dotnet user 4.0.0 | |
| ctype ctype 4.0.4 4.0.4 | |
| curl curl 4.0.4 4.0.4 | |
| date date 5.2.0 5.2.0 |
| #!/bin/sh | |
| curl -s https://api.wordpress.org/secret-key/1.1/salt | sed "s/^define('\(.*\)',\ *'\(.*\)');$/\1='\2'/g" |
| <!DOCTYPE html> | |
| <html lang="en" class="no-js"> | |
| <head> | |
| <title>{% if wp_title %}{{ post.title }} - {{ site.name }}{% else %}{{ site.name }} - {{ site.description }}{% endif %}</title> | |
| <meta charset="{{ site.charset }}"> | |
| <meta name="description" content="{{ site.description }}"> | |
| <meta name="viewport" content="width=device-width,initial-scale=1.0"> | |
| <meta property="og:title" content="{% if wp_title %}{{ post.title }} - {% endif %}{{ site.name }}"> | |
| <meta property="og:description" content="{{ site.description }}"> | |
| <meta property="og:image" content="{{ theme.link }}/static/img/share-logo.jpg"> |
| brew tap homebrew/science | |
| brew install opencv3 --without-numpy --without-python --with-python3 | |
| brew link --force opencv3 | |
| mkvirtualenv -p python3 cv | |
| pip install numpy | |
| ln -s /usr/local/opt/opencv3/lib/python3.6/site-packages/cv2.cpython-36m-darwin.so \ | |
| ~/.virtualenvs/cv/lib/python3.6/site-packages |
| 0x8659C0FF528275C010Ac23454F24e2ADE075505b |
| <RoutingRules> | |
| <RoutingRule> | |
| <Redirect> | |
| <HostName>example.com</HostName> | |
| <HttpRedirectCode>301</HttpRedirectCode> | |
| <Protocol>https</Protocol> | |
| <ReplaceKeyWith/> | |
| </Redirect> | |
| </RoutingRule> | |
| </RoutingRules> |
| # /etc/cron.d/certbot: crontab entries for the certbot package | |
| # | |
| # Upstream recommends attempting renewal twice a day | |
| # | |
| # Eventually, this will be an opportunity to validate certificates | |
| # haven't been revoked, etc. Renewal will only occur if expiration | |
| # is within 30 days. | |
| SHELL=/bin/sh | |
| PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
| AWS_CONFIG_FILE="/root/.aws/config" |