Table of Contents
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
[Unit] | |
Description=Service that restarts my spread_goodness.service every two hours. | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/systemctl try-restart spread_goodness.service |
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
{ | |
"action": "get", | |
"node": { | |
"key": "/registry/minions", | |
"dir": true, | |
"nodes": [{ | |
"key": "/registry/minions/172.17.8.102", | |
"value": "{\"kind\":\"Node\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"172.17.8.102\",\"selfLink\":\"/api/v1/nodes/172.17.8.102\",\"uid\":\"a062c77a-8e97-11e6-84ff-08002794c432\",\"creationTimestamp\":\"2016-10-10T03:14:16Z\",\"labels\":{\"beta.kubernetes.io/arch\":\"amd64\",\"beta.kubernetes.io/os\":\"linux\",\"kubernetes.io/hostname\":\"172.17.8.102\"},\"annotations\":{\"volumes.kubernetes.io/controller-managed-attach-detach\":\"true\"}},\"spec\":{\"externalID\":\"172.17.8.102\"},\"status\":{\"capacity\":{\"alpha.kubernetes.io/nvidia-gpu\":\"0\",\"cpu\":\"1\",\"memory\":\"2053160Ki\",\"pods\":\"110\"},\"allocatable\":{\"alpha.kubernetes.io/nvidia-gpu\":\"0\",\"cpu\":\"1\",\"memory\":\"2053160Ki\",\"pods\":\"110\"},\"conditions\":[{\"type\":\"OutOfDisk\",\"status\":\"False\",\"lastHeartbeatTime\":\"2016-10-10T03:47:28Z\",\"lastTransitionTime\":\"2016-10-10T03:14:16Z\", |
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
dockerswarm | |
---- | |
highly available, fault tolerant. replacing kubernates? | |
docker service | |
-------- | |
- labels to target hosts. using constraints. |
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
macpo: ../../../../src/frontend/OpenFortranParser_SAGE_Connection/FortranParserActionROSE.C:6392: void c_action_common_block_object_list(int): Assertion `(*(FortranParserState::getCurrentExpressionStack())).size() == (size_t) count' failed. | |
/work/02681/ankitg/installs/perfexpert_install/bin/macpo.sh: line 131: 27212 Aborted /work/02681/ankitg/installs/perfexpert_install/bin/macpo -rose:openmp:ast_only -I/work/02681/ankitg/installs/perfexpert_install/include -g -O0 -I/work/02681/ankitg/installs/perfexpert_install/include -g -L/work/01174/ashay/apps/binutils/lib --macpo:disable-sampling --macpo:instrument=SHALOW --macpo:dynamic_inst swim.f -L/work/02681/ankitg/installs/perfexpert_install/lib -L/work/02681/ankitg/installs/libelf/lib -Wl,-rpath=/work/02681/ankitg/installs/libelf/lib -lmrt -lstdc++ -ldl -rdynamic -lelf -lbfd -liberty -lz -lset -lhwloc -L/work/02681/ankitg/installs/perfexpert_install/lib -L/work/02681/ankitg/installs/libelf/lib -Wl,-rpath=/work/02681/ankitg/installs/libelf/lib -lmrt |
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
Loop in function ljForce.omp_fn.1 in ljForce.c:191 (96.79% of the total runtime) | |
=============================================================================== | |
ratio to total instrns % 0..........25..........50..........75..........100 | |
- floating point 68.0 ********************************** | |
- data accesses 29.9 *************** | |
* GFLOPS (% max) 12.5 ****** | |
- packed 0.0 | |
- scalar 12.5 ****** | |
------------------------------------------------------------------------------- | |
performance assessment LCPI good.......okay........fair........poor........bad |
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
require 'rubygems' | |
require 'mongo' | |
require 'pry' | |
require 'json' | |
bus_h = File.read("yelp_academic_dataset_business.json").split("\n").map { |line| JSON.parse(line)} | |
# hardcording result to save time | |
top_10_categories_with_numbers = [["Restaurants", 21892], ["Shopping", 8919], ["Food", 7862], ["Beauty & Spas", 4738], ["Bars", 3628], ["Health & Medical", 3213], ["Automotive", 2965], ["Home Services", 2853], ["Fashion", 2566]] |
ID ":null,"
bootloadAttachmentsImmediately ":false}],2],["
m_0_1k ",["
ComposerXMediaPostTab ","
m_0_1m "],["
u_0_r ",{"
__m ":"
m_0_1m "}],1],["
m_0_1w ",["
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
#include <stdio.h> | |
#define BIT_MASK(a, b) (size_t)(((size_t) -1 >> ((sizeof(size_t)*8) \ | |
- (b))) & ~((1U << (a)) - 1)) | |
unsigned address_to_set(size_t address) { | |
return ((address & BIT_MASK(6, 12)) >> 6); | |
} | |
typedef struct item_t { |
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
#include <stdio.h> | |
#define X_1 5 | |
#define Y_1 5 | |
#define X_2 5 | |
#define Y_2 5 | |
#define Z_1 5 | |
#define Z_2 5 | |