Skip to content

Instantly share code, notes, and snippets.

@timurb
timurb / kitchen.yml
Created March 27, 2018 20:02
systemd config inside docker driver for test-kitchen
---
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
# 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 []
@timurb
timurb / gist:8a558b3c449bf3b94e12
Created January 26, 2016 08:20
CouchBase process tree
├─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
### 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 December 20, 2015 13:38
Дао-дэ цзин (источник: http://vk.com/id96376472)

1 глава

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

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

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

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

@timurb
timurb / gist:5795523
Last active December 18, 2015 14:09
test of emojie

$ 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
class myclass::params {
$foo='bar'
}
class myclass (
$foo = params_lookup('foo')
) inherits myclass::params {
notify { $myclass::foo : }
}
@timurb
timurb / puppet apply test1.pp .sh
Created March 5, 2012 12:00
another puppet bug?
$ 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