Welcome to ProntoPro's backend assignment!
Please read through the instructions below and don't hesitate to ask questions in case you need any clarification on the specs.
Good luck and have fun!
I hereby claim:
To claim this, I am signing this object:
mavimo
I hereby claim:
To claim this, I am signing this object:
mavimo | |
### Keybase proof | |
I hereby claim: | |
* I am mavimo on github. | |
* I am mavimo (https://keybase.io/mavimo) on keybase. | |
* I have a public key ASDsM0YBtCYELJ7Gf3byPsmS_Eo6vlkqOCqmvDG656Trsgo | |
To claim this, I am signing this object: |
apiVersion: v1 | |
kind: Service | |
metadata: | |
labels: | |
app: cassandra | |
name: cassandra | |
spec: | |
clusterIP: None | |
ports: | |
- port: 9042 |
package dockerscaler | |
import ( | |
"context" | |
"crypto/tls" | |
"crypto/x509" | |
"errors" | |
"fmt" | |
"io/ioutil" | |
"net/http" |
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
/** | |
* Implements hook_js_alter(). | |
*/ | |
function THEME_NAME_js_alter(&$javascript) { | |
foreach ($javascript as $key => &$file) { | |
if ($file['type'] === 'file') { | |
$filename_min = preg_replace('/.js$/i', '.min.js', $file['data']); | |
if (file_exists($filename_min)) { | |
$file['data'] = $filename_min; | |
} |
/** | |
* Implements hook_css_alter(). | |
*/ | |
function THEME_NAME_css_alter(&$css) { | |
foreach ($css as &$style) { | |
$style['weight'] += $style['group']; | |
$style['group'] = CSS_DEFAULT; | |
$style['every_page'] = TRUE; | |
} | |
} |
/** | |
* Implements hook_js_alter(). | |
*/ | |
function THEME_NAME_js_alter(&$javascript) { | |
foreach ($javascript as &$script) { | |
$script[‘weight’] += $script[‘group’]; | |
$script[‘group’] = JS_DEFAULT; | |
$script[‘every_page’] = TRUE; | |
} | |
} |