- Download docker-compose.yml to dir named
sentry - Change
SENTRY_SECRET_KEYto random 32 char string - Run
docker-compose up -d - Run
docker-compose exec sentry sentry upgradeto setup database and create admin user - (Optional) Run
docker-compose exec sentry pip install sentry-slackif you want slack plugin, it can be done later - Run
docker-compose restart sentry - Sentry is now running on public port
9000
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
| " Specify a directory for plugins | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'neoclide/coc.nvim', {'branch': 'release'} | |
| Plug 'scrooloose/nerdtree' | |
| "Plug 'tsony-tsonev/nerdtree-git-plugin' | |
| Plug 'Xuyuanp/nerdtree-git-plugin' | |
| Plug 'tiagofumo/vim-nerdtree-syntax-highlight' | |
| Plug 'ryanoasis/vim-devicons' | |
| Plug 'airblade/vim-gitgutter' |
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
| # First, install all of the things | |
| sudo su | |
| apt-get update | |
| apt-get install nginx | |
| /etc/init.d/nginx start | |
| apt-get install python-dev | |
| apt-get install python-pip | |
| apt-get install libjpeg-dev libpng-dev libtiff-dev libjasper-dev libgtk2.0-dev python-numpy python-pycurl libwebp-dev python-opencv libjpeg-progs | |
| ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib |
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
| {% layout none %} | |
| { | |
| "parent":[ | |
| {% for link in linklists.main-menu.links %} | |
| {% if link.type == 'collection_link' %} | |
| {% assign parentObj = link | map: 'object' %} | |
| {% assign parentId = parentObj[0].id %} |
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
| #!/usr/bin/python | |
| # Delete images from Thumbor cache. | |
| # | |
| import sys | |
| import os | |
| import os.path | |
| from thumbor.storages.file_storage import Storage | |
| from thumbor.context import Context | |
| from thumbor.console import get_server_parameters |
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
| #change it to latest version | |
| NPS_VERSION=1.11.33.0; | |
| echo "Changing Directory to $HOME..." | |
| cd $HOME; | |
| echo "Nginx version to install: " && \ | |
| read NGINX_VERSION && \ | |
| echo "Downloading nginx-$NGINX_VERSION..." && \ | |
| wget http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz && \ | |
| echo "Installing Nginx Dependencies..." && \ |
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
| module.exports = function (app) { | |
| var _ = require('lodash'); | |
| var User = app.models.User; | |
| var Role = app.models.Role; | |
| var RoleMapping = app.models.RoleMapping; | |
| var ACL = app.models.ACL; | |
| /* | |
| * Configure ACL's | |
| */ |
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
| //* http://www.codemyownroad.com/add-currency-code-suffix-prices-woocommerce/ | |
| // Location: add to functions.php | |
| // Output: displays $0.00 AUD on all pages | |
| function addPriceSuffix($format, $currency_pos) { | |
| switch ( $currency_pos ) { | |
| case 'left' : | |
| $currency = get_woocommerce_currency(); | |
| $format = '%1$s%2$s ' . $currency; | |
| break; |