Skip to content

Instantly share code, notes, and snippets.

View dexterbrylle's full-sized avatar
:fishsticks:
SRE

Dexter Brylle dexterbrylle

:fishsticks:
SRE
View GitHub Profile
{
"env": {
"es6": true,
"node": true,
"mocha": true
},
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
@dexterbrylle
dexterbrylle / ubuntu-dev-setup.md
Last active August 30, 2017 08:53
Ubuntu dev setup

Ubuntu Dev Environment setup

Chromium

sudo apt install -y chromium-browser

Chrome

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
@dexterbrylle
dexterbrylle / usersettings.json
Last active September 11, 2017 06:23
VS Code User Settings
{
"workbench.colorCustomizations": {
// The background is optional
"terminal.background": "#282a36",
"terminal.foreground": "#eff0eb",
"terminal.ansiBlack": "#282a36",
"terminal.ansiRed": "#ff5c57",
"terminal.ansiGreen": "#5af78e",
"terminal.ansiYellow": "#f3f99d",
"terminal.ansiBlue": "#57c7ff",
upstream app {
server 127.0.0.1:3000;
keepalive 16;
}
server {
listen 0.0.0.0:80;
server_name app.com www.app.com;
access_log /var/log/nginx/themixrapp.log;
# http://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = tab
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
@dexterbrylle
dexterbrylle / install-git-kraken.sh
Last active July 31, 2017 05:21
Install Git Kraken on Ubuntu
wget https://release.gitkraken.com/linux/gitkraken-amd64.deb | sudo dpkg -i gitkraken-amd64.deb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="initial-scale=1.0">
<!-- So that mobile webkit will display zoomed in -->
<meta name="format-detection" content="telephone=no">
<!-- disable auto telephone linking in iOS -->
<title>Merry Christmas from Wunderman Manila</title>
@dexterbrylle
dexterbrylle / .jshintrc
Created September 26, 2016 10:25
.jshintrc
{
/*
* ENVIRONMENTS
* =================
*/
// Define globals exposed by modern browsers.
"browser": true,
// Define globals exposed by jQuery.
@dexterbrylle
dexterbrylle / .jscsrc
Created September 26, 2016 10:24
.jscsrc from AirBnB style guide
{
"disallowSpacesInNamedFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"disallowSpacesInFunctionDeclaration": {
"beforeOpeningRoundBrace": true
},
"disallowSpacesInsideBrackets": true,
"disallowEmptyBlocks": true,
"disallowSpacesInCallExpression": true,
@dexterbrylle
dexterbrylle / Preferences.sublime-settings
Last active July 31, 2017 05:18
Sublime Text 3 Settings
{
"always_show_minimap_viewport": true,
"animation_enabled": true,
"auto_close_tags": true,
"auto_complete": true,
"auto_complete_commit_on_tab": false,
"auto_indent": true,
"auto_match_enabled": true,
"bold_folder_labels": true,
"caret_style": "smooth",