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 | |
# | |
# | |
# chkconfig: 2345 80 05 | |
# description: This is a program that is responsible for taking care of | |
# configuring the Oracle Database 11g Express Edition and its associated | |
# services. | |
# | |
# processname: oracle-xe | |
# Red Hat or SuSE config: /etc/sysconfig/oracle-xe |
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
# file /u01/app/oracle/.bash_profile | |
source ~/.bashrc | |
# file /u01/app/oracle/.bashrc | |
source /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh |
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
# file /u01/app/oracle/.bash_profile | |
source ~/.bashrc | |
# file /u01/app/oracle/.bashrc | |
source /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh |
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
sysbench --test=fileio --file-total-size=75G prepare | |
sysbench --test=fileio --file-total-size=75G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run | |
sysbench --test=fileio --file-total-size=75G cleanup | |
Number of threads: 1 | |
Initializing random number generator from timer. | |
Extra file open flags: 0 | |
128 files, 600Mb each |
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
(ns patterns.decorator.core | |
(:require [clojure.data.json :as json] | |
[clojure.string :as str] | |
[patterns.util :refer [to-xml]])) | |
;; Record impl | |
(defprotocol IRenderable | |
(render [this])) | |
(defrecord WebService [data] |
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
$(function () { | |
Highcharts.chart('container', { | |
chart: { | |
type: 'bar' | |
}, | |
title: { | |
text: 'Events by Monitoring Server' | |
}, | |
subtitle: { | |
text: 'January 2017' |
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
Highcharts.chart('container', { | |
chart: { | |
type: 'column' | |
}, | |
title: { | |
text: 'Monthly Average Rainfall' | |
}, | |
subtitle: { | |
text: 'Source: WorldClimate.com' | |
}, |
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
Highcharts.chart('container', { | |
title: { | |
text: 'Chart without categories, falls back to numbers' | |
}, | |
yAxis: { | |
title: { | |
text: 'Numbers' | |
} | |
}, | |
plotOptions: { |
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
Highcharts.chart('container', { | |
chart: { | |
type: 'column' | |
}, | |
xAxis: { | |
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] | |
}, | |
plotOptions: { | |
series: { |
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 bash | |
MYSQL_HOST="localhost" | |
MYSQL_USERNAME="msandbox" | |
MYSQL_SOCKET="/tmp/mysql_sandbox10121.sock" | |
MYSQL_PASSWORD="msandbox" | |
MYSQL_EXIT_STATUS=1 | |
BACKUP_DATE=`date +'%Y-%m-%d_%H:%M'` | |
BACKUP_FILE=test.sql | |
BACKUP_DB=test |