Skip to content

Instantly share code, notes, and snippets.

View kenenbek's full-sized avatar
💭
Все люди — сёстры

Kenenbek R kenenbek

💭
Все люди — сёстры
  • Moscow
View GitHub Profile
{
"Temperature":[
{
"amtbf": 232140,
"cff": 1,
"tcrtbf": 1,
"temp": 25
},
{
"amtbf": 220533,
package main
/*
================================================
Temperature interface realization
================================================
*/
func (tn *TemperatureNode) getObject() AtmosphereValueFail {
return tn.TempObjDep
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
package main
import (
"fmt"
"sort"
)
func binarySearch(arr []float64, target float64) float64{
low := 0
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import matplotlib.pyplot as plt
from mpl_toolkits.axisartist.axislines import SubplotZero
import numpy as np
fig = plt.figure(1)
ax = SubplotZero(fig, 111)
fig.add_subplot(ax)
for direction in ["xzero", "yzero"]:
import matplotlib.pyplot as plt
from mpl_toolkits.axisartist.axislines import SubplotZero
fig = plt.figure(1, figsize=(6, 6))
ax = SubplotZero(fig, 111)
fig.add_subplot(ax)
for direction in ["xzero", "yzero"]:
ax.axis[direction].set_visible(True)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
go run main.go -platform=input/virt_setup.xml \
-packet=input/new_format.json \
-controlling_mode=0 \
-sim_run=1000 \
-atm_dep=input/temp.json \
-atm_control=input/atm_control.json \
-file_amount_w=1 \
-file_size_w=15500MB..15500MB \
-output=del \
-num_jobs_config=input/num_jobs.json \