- Microsoft Diagnostic and Recovery Toolset 8.1
- Hiren's BootCD 15.2
- Netboot.me
This file contains hidden or 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
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WebClient\Parameters /v FileSizeLimitInBytes /t REG_DWORD /d 0xffffffff /f | |
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters /v FsCtlRequestTimeoutInSec /t REG_DWORD /d 0xffffffff /f | |
net stop WEBCLIENT | |
net start WEBCLIENT |
This file contains hidden or 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
1 Основная задача: | |
1.1 Обеспечить доступ к seq/ack номерам сокета из userspace | |
1.2 Чтение seq/ack номеров заданного сокета | |
1.3 Изменение seq/ack номеров заданного сокета | |
2 Исполнение | |
2.1 Модуль ядра Linux | |
2.2 Интерфейс, один или несколько по согласованию: | |
2.2.1 echo/cat /proc |
Файлы настроек Carbon живут в /opt/graphite/conf/
. При первоначальной настройке файлы отсутствуют, но для каждого будет .conf.example
. Просто скопируйте файлы с примерами, предварительно удалив расширение .example и внеся измененя.
Это главный конфигурационный файл, описывающий параметры каждого демона Carbon.
This file contains hidden or 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 | |
# Usage rpl.sh <db root password> <remote host_name> | |
# Just run on future slave machine: | |
# cd /var/lib/mysql/; nc -l -p 8888 | pigz -d | tar xvf - -C .; chown -R mysql:mysql . | |
backup=/var/lib/mysql/backup | |
mkdir -p $backup | |
path="$backup/`date "+%Y-%m-%d-%H-%M"`/"; |
This file contains hidden or 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 | |
cores=$(grep -c proc /proc/cpuinfo); | |
irqs=$(grep eth /proc/interrupts | cut -d: -f1) | |
core=$(($cores-1)); | |
for irq in $irqs; do | |
mask=`echo "obase=16; \$[2 ** $core]" | bc`; | |
mkdir -p "/proc/irq/$irq/" | |
echo $core, $irq |
This file contains hidden or 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
<ul class="pagination"> | |
{% if prev %} | |
<li><a href="{% page_url prev %}">«</a></li> | |
{% else %} | |
<li class="disabled"><span>«</span></li> | |
{% endif %} | |
{% if show_first %} | |
<li><a href="{% page_url 1 %}">1</a></li> | |
<li class="disabled"><span>...</span></li> |
This file contains hidden or 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/sh | |
NAME='example.com' | |
USER='example_user' | |
PROJDIRPRE="/sites/" | |
PYTHON="/sites/envs/project/bin/python" | |
SAFE_NAME=`echo "$NAME" | sed 's/\./_/g'` | |
PROJDIR="$PROJDIRPRE/$SAFE_NAME" |
NewerOlder