Phabricator style for stylish (applicable to stylebot and others if you remove the moz declarations) to make it more space efficient.
See https://userstyles.org/styles/112977/wikimedia-phabricator-condensed
# /config/puma.rb | |
app = "manabalss" # App-specific | |
root = "/home/deployer/apps/#{app}" | |
workers 5 | |
threads 1, 1 # relying on many workers for thread-unsafe apps | |
rackup DefaultRackup | |
port 11592 |
package graphite | |
import ( | |
"bytes" | |
"fmt" | |
"net" | |
"sync" | |
"time" | |
"github.com/google/cadvisor/info" |
Phabricator style for stylish (applicable to stylebot and others if you remove the moz declarations) to make it more space efficient.
See https://userstyles.org/styles/112977/wikimedia-phabricator-condensed
import os, glob, re | |
def main(): | |
p = re.compile('^([0-9a-f]+-[0-9a-f]+)\s[a-z\-]{4}\s[0-9a-f]{8}\s[a-z0-9]{2}\:[a-z0-9]{2}\s[0-9]+\s+(.*)$') | |
smaps = glob.glob('/proc/[0-9]*/smaps') | |
for smap in smaps: | |
lines = open(smap).readlines() | |
for line in lines: | |
m = p.match(line) | |
if m and 'libc' in line: | |
name = open(smap.replace('smaps','status')).readlines()[0] |
{ | |
"token":"xxxxxxxxxx", | |
"subdomain":"subdomain", | |
"username":"Eventbot", | |
"text":"<!everyone> here is an important link: <https://modest.com/|modest.com>", | |
"channel":"#general", | |
"icon": ":ghost:" | |
} |
# open tableau server login screen in existing server http://webserver_host/tableau/ | |
# after login url will redisrect to http://webserver_host/ | |
# open again to open tableau server portal http://webserver_host/tableau/ | |
# | |
# clear web browser cache to use or use private browsing mode | |
LoadModule proxy_module modules/mod_proxy.so | |
LoadModule proxy_http_module modules/mod_proxy_http.so | |
ProxyRequests Off |
#! /bin/bash | |
# A hacky script that converts org-mode documents to an old-style | |
# Remarkup dialect, used by Phabricator and other tools. | |
set -x | |
set -e | |
pandoc --read=org --write=markdown --atx-headers $1 \ | |
| sed -E "s/\{\.(.*)\}/lang=\1/g" \ | |
| sed -E "s/\[(.*)\]\((.*)\)/[[\2 | \1]]/g" \ |
;;; phabricator.el --- Phabricator/Arcanist helpers for Emacs. | |
;; Author: Andrew Tulloch | |
;; URL: https://github.com/ajtulloch/phabricator.el | |
;; Version: 0.1 | |
;; Created: 2014-09-11 | |
;; Keywords: phabricator, arcanist, diffusion | |
;; Package-Requires: ((emacs "24.1") (ido "0.1") (projectile "0.1") (dash "0.1")) | |
;; This file is NOT part of GNU Emacs. |
Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.
This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.
You are encouraged to fork this and modify it to your heart's content to match your own needs.