Skip to content

Instantly share code, notes, and snippets.

@repomaa
repomaa / -
Created January 8, 2018 19:29
[root@rescue /]# lvcreate -L 15G volgroup00 -n root
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
/dev/volgroup00/root: not found: device not cleared
Aborting. Failed to wipe start of new LV.
@repomaa
repomaa / -
Created January 8, 2018 14:53
command="tmux a -r -t tsharing",no-agent-forwarding,no-port-forwarding,no-user-rc,no-X11-forwarding ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8gp0noE/19CotYFbIFhex+xEzBITd6jlavDa/aJGetRGRZWJ0XfESdurXC++WUKewyAKNGe6VRH1B4aSOuoG3L1/dvfSyT6n6yxLy9svtHVuwggKcEvDAiwZZZiZiYwe4dv/oIHuNE5Eue9weyhLkHRSZvWM20V/KCbshppD383/T36vYcp6tu58r8RyoDR1SrQdYVY08I5bz3sj46SDDrtDx45mj9RtWC0QXWKgZoCaeODByXK5uKwzrxK5tecX1s8J3DhOjDDdSEF0Mhie+yFAe56f4slMs9CH9SdB2soPGDnIl+OfFx2Q6/Jq569Ix9Kky4ePPceCB6Fg0YAT9 jokke
require 'celluloid/current'
class Receiver
include Celluloid
include Celluloid::Notifications
def initialize(blocking = true)
@queue = Queue.new
subscribe('deadlock', :got_notified)
blocking ? async.work_blocking : async.work_non_blocking
-----BEGIN PGP MESSAGE-----
hQIMA2397x+2y2d5ARAAqMJWVs2RR1vUgbQhQ5lfmDVKTmA7XIgg7pOL5EMFIy8W
1j+/5JIiuxDhyAWqs8rWQHnYiJ1Q6muhYH1IzCaq31U0d6bNWK8nn3+gAWuQ9Mtc
rSsq0g8j9B+P5qSqammKqhTlgeB2YYelG59WMnrargYRm0int8YNdBHg0BcOfc8i
uVrOpwxN1t3Ks6Pwv4XqOgyPuUFqiLPUMCYmVczlXx1VpRegbn25AvBZEwxm9k3H
y6Qf5C6ygOPwqsJbU7Krg68ctPi/ZLXwdgvqFM+hxwrm1HeNZOJIvWaHUSatGLUU
OcwvE03MftNblFpPSRrc/Kj3Z9Xn7R9ai4Mj1YOkofqPbntVTwecYjFMpO11qXEc
VYMjVIy+KAUjGio7oPtZfqa/W/+UBQBiiAvIsIj6z3G7gRI0gnMmTNdUzZECj4BI
R6mGUFQfoFWVk2bPb9Ir0SUDKcr/GEtbj6FKECoNuqSUQbf70+E+uWupXEnFREiL
@repomaa
repomaa / -
Created January 4, 2018 10:07
From jokke.space (94.130.75.163) icmp_seq=121 Destination Host Unreachable
From jokke.space (94.130.75.163) icmp_seq=122 Destination Host Unreachable
From jokke.space (94.130.75.163) icmp_seq=123 Destination Host Unreachable
From jokke.space (94.130.75.163) icmp_seq=124 Destination Host Unreachable
From jokke.space (94.130.75.163) icmp_seq=134 Destination Host Unreachable
From jokke.space (94.130.75.163) icmp_seq=135 Destination Host Unreachable
From jokke.space (94.130.75.163) icmp_seq=136 Destination Host Unreachable
64 bytes from jokke.space (94.130.75.163): icmp_seq=137 ttl=54 time=1856 ms
64 bytes from jokke.space (94.130.75.163): icmp_seq=138 ttl=54 time=856 ms
64 bytes from jokke.space (94.130.75.163): icmp_seq=139 ttl=54 time=6.23 ms
@repomaa
repomaa / -
Created January 4, 2018 09:21
[ 366.284876] systemd[1]: systemd-journald.service: State 'stop-sigabrt' timed out. Terminating.
[ 368.262314] INFO: task systemd-journal:206 blocked for more than 120 seconds.
[ 368.262419] Not tainted 4.14.11-1-ARCH #1
[ 368.262464] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 368.262519] systemd-journal D 0 206 1 0x00000104
[ 368.262522] Call Trace:
[ 368.262533] ? __schedule+0x290/0x890
[ 368.262535] schedule+0x2f/0x90
[ 368.262563] wait_current_trans+0xc3/0xf0 [btrfs]
[ 368.262567] ? wait_woken+0x80/0x80
@repomaa
repomaa / -
Last active January 3, 2018 21:59
[3] pry(#<Autopass::EntryCache>)> show-source @entries.first.eql?
From: object.c (C Method):
Owner: Kernel
Visibility: public
Number of lines: 6
VALUE
rb_obj_equal(VALUE obj1, VALUE obj2)
{
@repomaa
repomaa / -
Created January 3, 2018 20:38
$active_group = 'default';
$query_builder = TRUE;
$db['default'] = array(
'dsn' => '',
'hostname' => 'localhost',
'port' => 5432,
'username' => 'filebin',
'password' => 'MASKED:',
'database' => 'filebin',
@repomaa
repomaa / -
Created January 3, 2018 20:32
array(1) {
[0]=>
string(10) "migrations"
}
@repomaa
repomaa / -
Created January 3, 2018 17:19
version
---------
21
0
0
(3 rows)