This file contains hidden or 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
from math import ceil | |
############################ | |
# CONSTANTS - DO NOT ALTER # | |
############################ | |
DISK_WATERMARK = 0.15 | |
DISK_MARGIN_OF_ERROR = 0.1 | |
HOT_ZONE_MEMORY_DATA_RATIO = 30 | |
WARM_ZONE_MEMORY_DATA_RATIO = 160 |
This file contains hidden or 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
{ | |
"Version": "2012–10–17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": "route53:GetChange", | |
"Resource": "arn:aws:route53:::change/*" | |
}, | |
{ | |
"Effect": "Allow", |
This file contains hidden or 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
FROM jenkins/jenkins:2.204.5 | |
RUN /usr/local/bin/install-plugins.sh ssh-slaves | |
RUN /usr/local/bin/install-plugins.sh kubernetes | |
USER root | |
RUN apt-get update && apt-get install -y maven | |
USER jenkins |
This file contains hidden or 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
/ | |
> [email protected] preinstall /usr/lib/node_modules/joola | |
> (build/scripts/preinstall.sh || true) | |
sh: 1: build/scripts/preinstall.sh: not found | |
> [email protected] install /usr/lib/node_modules/joola/node_modules/hiredis | |
> node-gyp rebuild | |
gyp WARN EACCES user "root" does not have permission to access the dev dir "/home/shraga/.node-gyp/0.10.40" |
This file contains hidden or 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
{ | |
"_index": "webyclip", | |
"_type": "jdocument", | |
"_id": "6753bdfb2a79ff6a630e18be71aa9a40", | |
"_version": 1, | |
"_score": 1, | |
"_source": { | |
"aggregation_keys": { | |
"site": "ebay", | |
"user": "alex" |
This file contains hidden or 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 | |
## Preparing Environment - this can be altered to match your installation ## | |
# Folder to store ffmpeg and dependency libraries sources in the process: | |
FFMPEG_SRC=~/ffmpeg | |
# Folder to install ffmpeg binary into: | |
FFMPEG_BIN=$HOME/bin | |
## Install dependencies and packages that can be installed by apt-get ## | |
sudo apt-get update |
This file contains hidden or 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
ohanetz@ubuntu-server:~$ npm install joola | |
\ | |
> [email protected] preinstall /home/ohanetz/node_modules/joola | |
> (build/scripts/preinstall.sh || true) | |
sh: 1: build/scripts/preinstall.sh: not found | |
> [email protected] install /home/ohanetz/node_modules/joola/node_modules/hiredis | |
> node-gyp rebuild |
This file contains hidden or 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
ohanetz@ubuntu-server:~$ sudo joola | |
11:34:55.400Z INFO joola: Found geoip-lite module. | |
WARNING: No configurations found in configuration directory: | |
WARNING: /home/ohanetz/config | |
WARNING: See https://www.npmjs.org/package/config for more information. | |
ERROR! Object.keys called on non-object | |
TypeError: Object.keys called on non-object | |
at Function.keys (native) | |
at Object.datastore.init (/usr/lib/node_modules/joola/lib/common/datastore.js:30:10) | |
at /usr/lib/node_modules/joola/lib/joola.js:104:23 |
This file contains hidden or 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
ohanetz@ubuntu-server:~$ npm -v | |
1.4.28 | |
ohanetz@ubuntu-server:~$ sudo npm install -g joola | |
\ | |
> [email protected] preinstall /usr/lib/node_modules/joola | |
> build/scripts/preinstall.sh || true | |
sh: 1: build/scripts/preinstall.sh: not found | |
npm ERR! Error: version not found: [email protected] | |
npm ERR! at /usr/lib/node_modules/npm/lib/cache/add-named.js:125:12 |