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
dz@legion:~/Desktop/interbench-master$ ./interbench -L 16 | |
Unable to get SCHED_FIFO (real time scheduling). | |
You either need to run this as root user or have support for real time RLIMITS. | |
Results will be unreliable. | |
loops_per_ms unknown; benchmarking... | |
3406628 loops_per_ms saved to file interbench.loops_per_ms | |
Creating file for read load... | |
Load set to 16 processors | |
Using 3406628 loops per ms, running every load for 30 seconds |
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
conky.config = { | |
update_interval = 1, | |
cpu_avg_samples = 2, | |
net_avg_samples = 2, | |
out_to_console = false, | |
override_utf8_locale = true, | |
double_buffer = true, | |
no_buffers = true, | |
text_buffer_size = 32768, |
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
<?php | |
/** | |
* @var $this yii\web\View | |
* @var $articleID integer | |
*/ | |
use common\models\Image; | |
use common\models\Content; | |
use yii\helpers\Url; |
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
Характеристики этих элементов следующие. | |
Внутрь строчно-блочных элементов допустимо помещать текст, строчные или блочные элементы. | |
Высота элемента вычисляется браузером автоматически, исходя из содержимого блока. | |
Ширина равна содержимому плюс значения отступов, полей и границ. | |
Несколько элементов идущих подряд располагаются на одной строке и переносятся на другую строку при необходимости. | |
Можно выравнивать по вертикали с помощью свойства vertical-align. | |
Разрешено задавать ширину и высоту. | |
Эффект схлопывания отступов не действует. |
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 | |
# -*- coding: UTF8 -*- | |
## | |
# Drush usual commands cheat sheet | |
# Prerequisites : drush installed | |
# | |
# Sources: | |
# http://drushcommands.com/ | |
# http://highrockmedia.com/blog/features-drush-drupal-goodness |