- Download docker-compose.yml to dir named
sentry
- Change
SENTRY_SECRET_KEY
to random 32 char string - Run
docker-compose up -d
- Run
docker-compose exec sentry sentry upgrade
to setup database and create admin user - (Optional) Run
docker-compose exec sentry pip install sentry-slack
if 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
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ | |
/* ========================================================================== | |
HTML5 display definitions | |
========================================================================== */ | |
/** | |
* Correct `block` display not defined in IE 8/9. | |
*/ |
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/env bash | |
# | |
# vim: et ts=4 sw=4 ft=sh: | |
declare -r SCRIPT_NAME=$0 | |
declare -r THEME_LIGHT="Seashell" | |
declare -r THEME_DARK="Zenburn" | |
declare -r TAB_SPACES=4 | |
declare -r LINE_NUMBER_COLUMN_LENGTH=4 | |
declare -r OUTPUT_ENCODING=UTF-8 |
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
# author: tmwhere.com | |
# --- third party dependencies | |
PIXI = require('pixi.dev') | |
_ = require('lodash') | |
noise = require('perlin').noise | |
Quadtree = require('quadtree').Quadtree | |
seedrandom = require('seedrandom') | |
# --- |
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
<?php | |
class PosixErrorCode | |
{ | |
const EPERM = 1; /* Operation not permitted */ | |
const ENOENT = 2; /* No such file or directory */ | |
const ESRCH = 3; /* No such process */ | |
const EINTR = 4; /* Interrupted system call */ | |
const EIO = 5; /* Input/output error */ | |
const ENXIO = 6; /* Device not configured */ |
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
function GoToTest(...) | |
let filename = expand('%:t:r') | |
let test_filename = filename."Test.php" | |
"You can use a folder to avoid tabf to open the wrong file | |
if a:0 > 0 | |
execute "tabf **/".a:1."/".test_filename | |
else | |
execute "tabf **/".test_filename | |
endif | |
endfunction |
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
# Main file, loads dependencies and holds application code | |
# Usage: | |
# $ git clone https://gist.github.com/a22a1373dcee7c175d1e.git | |
# $ cd a22a1373dcee7c175d1e | |
# $ chmod +x 00-index.sh | |
# $ ./00-index.sh | |
# | |
# Use sudo if your machine denies an address to netcat | |
# |
A intenção desse post é melhorar, se possível, seu workflow com o [Git][] se ele atualmente ele consiste de:
- Usar o [Git][] através de uma shell de sua escolha.
- Usar o [VIM][] como [editor padrão][2] [no Git][1].
Se você usa alguma ferramenta gráfica (tig
também conta), eu não quero saber. Se você usa o [Git][] numa shell em conjunto com outro editor, procuro ansiosamente seu comentário me convencendo a trocar. :)
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/env sh | |
scrito () ( : ) | |
# Static version information | |
scrito_v () ( scrito_version ) | |
scrito_version () ( echo "Mosai Script Tools 1.0" 1>&2 ) | |
# Short help text | |
scrito_h () ( scrito_help ) |
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
<?php | |
use Respect\Rest\Router; | |
$r3 = new Router(); | |
$routes = []; | |
$routes['singleAuthor'] = $r3->any('/authors/*', 'MySingleAuthorClass'); | |
$routes['singlePost'] = $r3->any('/posts/*', 'MySinglePostClass'); | |
$routes['postsList'] = $r3->any('/posts', 'MyPostsListClass'); |