- Prometheus
- Grafana
- Percona use case
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/python3 | |
import os | |
import base64 | |
from flask import Flask, request, redirect, url_for, send_from_directory, render_template, flash | |
#from werkzeug.utils import secure_filename | |
from collections import Counter | |
import sys |
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/bash | |
a=0 | |
for i in ~/music/*mp3; do | |
((a++)) | |
sox \ | |
"$i" \ | |
-n remix 1 spectrogram \ | |
-m -h \ | |
-p 2 \ | |
-z 80 \ |
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 python2 | |
import networkx as nx | |
import os | |
# decorator==4.0.10 | |
# networkx==1.11 | |
# pydotplus==2.0.2 | |
# pyparsing==2.1.10 | |
# | |
# http://networkx.github.io/documentation/development/examples/drawing/weighted_graph.html |
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
key | value | date | |
---|---|---|---|
C | 10515.0 | 04/15/13 | |
C | 8144.0 | 05/05/13 | |
C | 5713.0 | 05/25/13 | |
C | 506.0 | 06/14/13 | |
C | 6123.0 | 07/04/13 | |
C | 7483.0 | 07/24/13 | |
C | 5173.0 | 08/13/13 | |
C | 974.0 | 09/02/13 | |
C | 7281.0 | 09/22/13 |
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
17a18,21 | |
> # Additional environment file | |
> if [ -f /opt/atomic/atomic-php56/root/etc/sysconfig/php-fpm ]; then | |
> . /opt/atomic/atomic-php56/root/etc/sysconfig/php-fpm | |
> fi | |
25,26c29,30 | |
< pidfile=${PIDFILE-/var/run/php-fpm/php-fpm.pid} | |
< lockfile=${LOCKFILE-/var/lock/subsys/php-fpm} | |
--- | |
> pidfile=${PIDFILE-/opt/atomic/atomic-php56/root/var/run/php-fpm/php-fpm.pid} |
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 python2 | |
# TODO: return a json to obtain all states on one request | |
import argparse | |
from BeautifulSoup import BeautifulSoup | |
import urllib2 | |
import random | |
from datetime import datetime | |
STATUS_OK = '#AAAAAA' |
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/bash | |
set -x | |
set -e | |
LIST_ALBUMS=~/projects/115de58a90ce375a8dc951f2de675fb2/listalbums.py | |
export ALBUM_LINK="$1" | |
export FOLDER="$2" |
This file has been truncated, but you can view the full file.
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
solid Default | |
facet normal -1.000000e+00 0.000000e+00 0.000000e+00 | |
outer loop | |
vertex -5.300000e+01 4.360500e+01 1.870300e+01 | |
vertex -5.300000e+01 4.360500e+01 0.000000e+00 | |
vertex -5.300000e+01 -2.435700e+01 1.870300e+01 | |
endloop | |
endfacet | |
facet normal -1.000000e+00 0.000000e+00 0.000000e+00 | |
outer loop |
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
<?php | |
// Copyright © Oyabun1 2013 | |
// version 1.7.2 | |
// license http://opensource.org/licenses/GPL-2.0 GNU General Public License v2 | |
define('IN_PHPBB', true); | |
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; | |
$phpEx = substr(strrchr(__FILE__, '.'), 1); | |
// Try to check if the file is in the right place - board root |