- 2015-02-20: OX 10.10.5 on Apple hardware can successfully build
- NOTE: Credit and thanks to Amit Singh
- Reference:
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
item.cookingforblockheads:recipeBookTier0.name=Кулинария для чайников | |
item.cookingforblockheads:recipeBookTier1.name=Кулинария для чайников I | |
item.cookingforblockheads:recipeBookTier2.name=Кулинария для чайников II | |
tooltip.cookingforblockheads:recipeBookTier0=#NoFilter Edition | |
tooltip.cookingforblockheads:recipeBookTier0.description=Показывает все рецепты продуктов. | |
tooltip.cookingforblockheads:recipeBookTier1=Книга рецептов | |
tooltip.cookingforblockheads:recipeBookTier1.description=Показывает еду, которую вы можете сделать из \nингредиентов, которые у вас есть в инвентаре. | |
tooltip.cookingforblockheads:recipeBookTier2=Ремесленная книга | |
tooltip.cookingforblockheads:recipeBookTier2.description=Можете создавать еду, используя то, \nчто у вас есть в вашем инвентаре. |
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
stream | |
|from() | |
.database('telegraf') | |
.measurement('http_response') | |
.groupBy('server') | |
|where(lambda: "company" == 'pradam.com') | |
|alert() | |
.id('HTTPCHECK {{ index .Tags "server" }}') | |
.crit(lambda: "http_response_code" > 400) | |
.crit(lambda: "response_string_match" != 1) |
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 | |
# install tools | |
apt-get update && apt-get install -y apt-transport-https curl | |
# Setup kubernetes apt repository | |
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - | |
echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" | tee /etc/apt/sources.list.d/kubernetes.list | |
# Install kubernetes | |
apt-get update |
MYSQLUSER='root' MYSQLPASSWORD='' MYSQLHOST='127.0.0.1' MYSQLPORT=3306; mysqldump -u$MYSQLUSER -p$MYSQLPASSWORD -h$MYSQLHOST -P$MYSQLPORT --databases `mysql --skip-column-names -u$MYSQLUSER -p$MYSQLPASSWORD -h$MYSQLHOST -P$MYSQLPORT -e "SELECT GROUP_CONCAT(schema_name SEPARATOR ' ') FROM information_schema.schemata WHERE schema_name NOT IN ('mysql','performance_schema','information_schema');"` > dump.sql
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 | |
# | |
# Usage: bash <(curl https://gist.githubusercontent.com/SergeyCherepanov/a36b0f11c069070690505bc847950808/raw/57d4b6f1b30936be81f13f0200a9c015825da794/elastic-stress-test.sh) | |
# | |
python --version 2>&1 | grep '2.7' || { | |
apt-get update | |
apt-get install python2.7 | |
} | |
pip --version || { | |
/usr/bin/python <(curl https://bootstrap.pypa.io/get-pip.py) |
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
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> | |
<!-- | |
DONT FORGET TO ADD: /vm/osx-ovmf-bios-src-build/bios.bin IN APPARMOR PROFILE! | |
Host machine may need the following tweak for this to work, (it's will be reset after reboot) | |
echo 1 > /sys/module/kvm/parameters/ignore_msrs | |
Usb stick image with installer http://bit.ly/2dIhdy8 | |
Archive with bioses: http://bit.ly/2djSmxR |
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
qemu-system-x86_64 \ | |
\ | |
-rtc clock=vm,base=2016-01-01T16:01:21 \ | |
\ | |
-m 4096 \ | |
-enable-kvm \ | |
-name osxcapitan \ | |
-cpu core2duo,vendor=GenuineIntel \ | |
-rtc base=localtime \ | |
-smbios type=2 \ |
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
#!/usr/bin/env php | |
<?php | |
/** | |
* Usage: php ./get_ssl_bundle.php example.com.crt | |
* | |
* @param string $crtFile | |
* @return string | |
*/ | |
function get_ssl_bundle($crtFile) | |
{ |