Skip to content

Instantly share code, notes, and snippets.

Timur Batyrshin timurb

Block or report user

Report or block timurb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@timurb
timurb / kitchen.yml
Created Mar 27, 2018
systemd config inside docker driver for test-kitchen
View kitchen.yml
---
driver:
name: docker
use_sudo: false
use_cache: true
disable_upstart: false
run_command: sh -c 'apt-get update && exec /sbin/init'
provision_command:
- apt-get update && apt-get -y dist-upgrade
- apt-get update && apt-get install -y iputils-ping net-tools telnet vim dnsutils less
View gist:bb402d54e9f1d5577bb44ce12901e04a
# chef-apply link.rb -l debug
[2017-06-27T11:33:50+00:00] DEBUG: Building node object for timurb-rosiuser-01.atl01.stelladotops.com
[2017-06-27T11:33:50+00:00] DEBUG: Building node object for timurb-rosiuser-01.atl01.stelladotops.com
[2017-06-27T11:33:50+00:00] DEBUG: Extracting run list from JSON attributes provided on command line
[2017-06-27T11:33:50+00:00] DEBUG: Extracting run list from JSON attributes provided on command line
[2017-06-27T11:33:50+00:00] DEBUG: Applying attributes from json file
[2017-06-27T11:33:50+00:00] DEBUG: Applying attributes from json file
[2017-06-27T11:33:51+00:00] DEBUG: Platform is ubuntu version 12.04
[2017-06-27T11:33:51+00:00] DEBUG: Platform is ubuntu version 12.04
[2017-06-27T11:33:51+00:00] INFO: Run List is []
View gist:8a558b3c449bf3b94e12
├─beam.smp─┬─beam.smp─┬─beam.smp─┬─cpu_sup
│ │ │ ├─godu───2*[{godu}]
│ │ │ ├─inet_gethost───inet_gethost
│ │ │ ├─memsup
│ │ │ ├─sh
│ │ │ └─17*[{beam.smp}]
│ │ ├─cpu_sup
│ │ ├─godu───2*[{godu}]
│ │ ├─inet_gethost───inet_gethost
│ │ ├─memsup
View gist:da6938ecc73da1c4051a
### Keybase proof
I hereby claim:
* I am timurb on github.
* I am timurb (https://keybase.io/timurb) on keybase.
* I have a public key whose fingerprint is 9B34 CE9D B453 94A9 1AA8 9C3B F00D 7A33 D692 8EC2
To claim this, I am signing this object:
@timurb
timurb / 01 глава.md
Last active Dec 20, 2015
Дао-дэ цзин (источник: http://vk.com/id96376472)
View 01 глава.md

1 глава

Продвижение в непознанное

Только осознав несовершенство тела, вступаешь на путь здоровья.

Возвращая внимание к несовершенству тела, сможешь пребывать на пути здоровья.

Пребывание на пути здоровья будет возрождать желание достичь совершенства тела.

View ree 1.8.7-p334 with -O3 flag
$ rvm current
ree-1.8.7-2011.03
~
$ ruby --version
ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2011.03
~
$ ruby -rrbconfig -e 'puts RbConfig::CONFIG["CFLAGS"]'
-g -O2 -O3
View meloman-locale.md
View gist:3143155
class myclass::params {
$foo='bar'
}
class myclass (
$foo = params_lookup('foo')
) inherits myclass::params {
notify { $myclass::foo : }
}
View puppet apply test1.pp .sh
$ puppet apply test.pp
notice: result:one-two
notice: /Stage[main]/Foo/Notify[result:one-two]/message: defined 'message' as 'result:one-two'
notice: Finished catalog run in 0.03 seconds
You can’t perform that action at this time.