Skip to content

Instantly share code, notes, and snippets.

View RoelVdP's full-sized avatar
🏠
Working from home

Roel Van de Paar RoelVdP

🏠
Working from home
View GitHub Profile
@RoelVdP
RoelVdP / Einstein's Riddle.txt
Created December 10, 2022 05:24
Einstein's Riddle
There are five houses, each painted a different color. In each house lives a person with a different nationality.
These five owners drink a certain type of beverage, smoke a certain brand of cigar, and keep a certain pet.
No owners have the same pet, smoke the same cigar, or drink the same beverage.
The question is, who owns the fish?
Here are the clues:
The Brit lives in the red house
The Swede keeps dogs as pets
There are five houses, each painted a different color. In each house lives a person with a different nationality.
These five owners drink a certain type of beverage, smoke a certain brand of cigar, and keep a certain pet.
No owners have the same pet, smoke the same cigar, or drink the same beverage.
The question is, who owns the fish?
Here are the clues:
The Brit lives in the red house
The Swede keeps dogs as pets
@RoelVdP
RoelVdP / new_gist_file
Created March 22, 2018 10:35 — forked from marioflores/new_gist_file
Restore files with Git
If the deletion has not been committed, the command below will restore the deleted file in the working tree.
$ git checkout -- <file>
You can get a list of all the deleted files in the working tree using the command below.
$ git ls-files --deleted
If the deletion has been committed, find the commit where it happened, then recover the file from this commit.
$ git rev-list -n 1 HEAD -- <file>
$ git checkout <commit>^ -- <file>

Keybase proof

I hereby claim:

To claim this, I am signing this object:

[ 70%] Built target mysqlclient
make -f plugin/percona-pam-for-mysql/CMakeFiles/dialog.dir/build.make plugin/percona-pam-for-mysql/CMakeFiles/dialog.dir/depend
make[2]: Entering directory `/percona-server/5.5/Percona-Server'
cd /percona-server/5.5/Percona-Server-5.5.28-rel29.3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /percona-server/5.5/Percona-Server-5.5.28-rel29.3 /perc
ona-server/5.5/Percona-Server-5.5.28-rel29.3/plugin/percona-pam-for-mysql /percona-server/5.5/Percona-Server-5.5.28-rel29.3 /percona-server/5.5/Percona-Server-5
.5.28-rel29.3/plugin/percona-pam-for-mysql /percona-server/5.5/Percona-Server-5.5.28-rel29.3/plugin/percona-pam-for-mysql/CMakeFiles/dialog.dir/DependInfo.cmake
--color=
make[2]: Leaving directory `/percona-server/5.5/Percona-Server'
make -f plugin/percona-pam-for-mysql/CMakeFiles/dialog.dir/build.make plugin/percona-pam-for-mysql/CMakeFiles/dialog.dir/build
make[2]: Entering directory `/percona-server/5.5/Percona-Server'
mysql> start slave;
ERROR 1200 (HY000): The server is not configured as slave; fix in config file or with CHANGE MASTER TO
mysql> show slave status \G
*************************** 1. row ***************************
Slave_IO_State:
Master_Host: 127.0.0.1
Master_User: root
Master_Port: 11990
Connect_Retry: 1000
Master_Log_File: master-bin.000001
#0 0x00000033c380c60c in pthread_kill () from /lib64/libpthread.so.0
#1 0x00000000007db5f8 in my_write_core (sig=6) at /percona-server/5.5.copy/Percona-Server-5.5.27-rel28.0/mysys/stacktrace.c:433
#2 0x00000000006b16d0 in handle_fatal_signal (sig=6) at /percona-server/5.5.copy/Percona-Server-5.5.27-rel28.0/sql/signal_handler.cc:249
#3 <signal handler called>
#4 0x00000033c3435925 in raise () from /lib64/libc.so.6
#5 0x00000033c34370d8 in abort () from /lib64/libc.so.6
#6 0x00000033c342e6a2 in __assert_fail_base () from /lib64/libc.so.6
#7 0x00000033c342e752 in __assert_fail () from /lib64/libc.so.6
#8 0x000000000069abf7 in Field_long::val_int (this=0x7f5e8c092b00) at /percona-server/5.5.copy/Percona-Server-5.5.27-rel28.0/sql/field.cc:3721
#9 0x00000000008476bc in ha_innobase::write_row (this=0x7f5e8c08a2b0, record=<optimized out>)