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
Как мигрировать docker volume на примере elasticsearch | |
# Backup | |
Запускаем елку, и вкидываем в нее данные, хоть через апи, хоть elasticdump | |
После этого в вольюмах будет много данных (тестировалось на 2 елке) | |
Смотрим оф руководство https://docs.docker.com/storage/volumes/#backup-a-container |
Some OVH dedicated server does not supports installing Debian original kernel due to hardware support issue. Also new Supermicro Atom 3000 SOC based products need an updated driver on ubuntu 14.04/16.04/17.04 to recognize the network adapter.
Most common issue is the network adapter card.
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> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#ifdef _MSC_VER | |
#include <intrin.h> /* for rdtscp and clflush */ | |
#pragma optimize("gt",on) | |
#else | |
#include <x86intrin.h> /* for rdtscp and clflush */ | |
#endif |
Some OVH dedicated server does not supports installing Debian original kernel due to hardware support issue.
Most common issue is the network adapter card.
- Intel ixgbe linux drivers : https://downloadcenter.intel.com/download/14687
- OVH forum : https://forum.ovh.co.uk/showthread.php?5616-Standard-Kernels-with-Ubuntu-Debian&p=73788&viewfull=1#post73788
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
! Terminal: urxvt | |
! =============== | |
! Tango color scheme | |
! ------------------ | |
URxvt*foreground: #eeeeec | |
URxvt*background: #2e3436 | |
URxvt*cursorColor: #8ae234 | |
URxvt*colorUL: #8ae234 | |
URxvt*underlineColor: #92659a |
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
pfSsh.php playback disablereferercheck |
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
find -type f -name "*.jpg" -exec jpegoptim --strip-all {} \; |
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 | |
/** | |
* Implements template_preprocess_field(). | |
*/ | |
function THEME_preprocess_field(&$vars) { | |
// If the view mode is "full" use <h2> for the field labels. Otherwise, | |
// assume a teaser or more compact view mode is being displayed, and use <h3>. | |
$vars['heading'] = ($vars['element']['#view_mode'] == 'full') ? 'h2' : 'h3'; |