Description | Also part of GFM? |
---|---|
URL autolinking when starting with www. or standard protocols (http, mailto, etc) | Yes* |
At mentions | Yes |
Hashtags | |
Named emojis | Yes |
Emoticons |
This file contains 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
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"os" | |
) | |
const header = `%s = []byte{%s} | |
` |
This file contains 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
package testutils | |
import ( | |
"image" | |
"image/png" | |
"net/http" | |
"net/http/httptest" | |
"strconv" | |
) |
This file contains 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
{ | |
"SqlSettings": { | |
"DriverName": "postgres", | |
"DataSource": "postgres://mmuser:mostest@localhost:5432/mattermost_test?sslmode=disable&connect_timeout=10", | |
"...": "..." | |
} | |
} |
Moved to https://developers.mattermost.com/internal/gitlab-omnibus/
These steps are almost certainly out of date since I haven't had to do this in quite a while.
https://gitlab.com/gitlab-org/gitlab-development-kit/blob/master/README.md#getting-started
This file contains 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/python | |
# Run with "python ./slash_command.py" | |
# http://flask.pocoo.org/docs/0.12/quickstart/ | |
import flask | |
import json | |
app = flask.Flask(__name__) |
This file contains 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
/******************************************************************************* | |
* SLIDE 2/3/4 * | |
*******************************************************************************/ | |
import {createSelector} from 'reselect'; | |
const getCurrentUserId = (state) => { | |
return state.currentUserId; |
This file contains 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
var path = require('path'); | |
var config = { | |
getProjectRoots() { | |
return [ | |
path.resolve(__dirname, '.'), | |
path.resolve(__dirname, './src') | |
]; | |
} | |
}; |
This file contains 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
#!/bin/sh | |
STAGED_JSX_FILES=$(git diff --cached --name-only --diff-filter=ACM | grep ".[j|t]sx\{0,1\}$" | grep -v node_modules) | |
STAGED_GO_FILES=$(git diff --cached --name-only --diff-filter=ACM | grep ".go$" | grep -v vendor) | |
if [[ "$STAGED_JSX_FILES" != "" ]]; then | |
PASS=true | |
echo "\nValidating Javascript:\n" |