Author Archive
Thumbs up to creators of algoexpert.io
First of all – I’m not a shill but just an ordinary satisfied user of the service. Wonder if all stoogy sponsored testimonial starts like this ;-) Anyway, recently, I’ve been trying to improve my coding skills and found that just doing exercises on leetcode.com was not enough for me. I was definitely missing some […]
Checkout a single file from Git repo
This one going to be quick and putting here just for future reference. Task Checkout a single file from Git without cloning whole repo Solution git archive –prefix=config/ –remote=git@git.example.com:/app.git HEAD:app/config/ config.yaml | (cd /usr/local/app && tar xf -)
Clawfinger memories 2018
This is from 25 years DDB show in Alkmaar, Netherlands.
ROP interactive guide for beginners by Vetle Økland
Just yesterday came on a post on reddit that pointed me to an amazing “Interactive Beginner’s Guide to ROP”. It’s nicely worded and has a couple of puzzles which I, as a total newbie, found very exciting. Leaving the solutions below for a later me… \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x20\x00\x00\x00\x00\x00\x00\x00\x55\x00\x00\x00\x00\x00\x00\x00\x39\x00\x00\x00\x00\x00\x00\x00\x0e \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x20\x00\x00\x00\x00\x00\x00\x00\x55\x00\x00\x00\x00\x00\x00\x00\x39\x00\x00\x00\x00\x00\x00\x00\x0e
Where GREP came from – Brian Kernighan
In: Apple, FreeBSD, HP-UX, Linux, Solaris
When the past meets the future
The subject says it all.
Upgrading to MySQL 8? Think of the default authentication plugin
As explained in a post at mysqlserverteam.com the default authentication plugin has been changed from mysql_native_password to caching_sha2_password. And that would certainly break all PHP-based applications because at the time of writing PHP doesn’t support caching_sha2_password. Please, keep an eye on the related request #76243. Once it’s implemented it would be possible to switch to […]
“WT_CONNECTION.open_session: only configured to support 20020”
Frankly speaking, the explanation provided in SERVER-30421 and SERVER-17364 is a bit vague and “hand wavy” to me but at least there are steps that could help mitigate it: Decrease idle cursor timeout (default value is 10 minutes): In mongodb.conf: setParameter: cursorTimeoutMillis: 30000 Using mongo cli: use admin db.runCommand({setParameter:1, cursorTimeoutMillis: 30000}) Increase session_max: storage: wiredTiger: […]
Changing Oplog size or when root role is not enough
Managing MongoDB sometimes involves increasing Oplog size sine the default setting (5% of free disk space if running wiredTiger on a 64-bit platform) is not enough. And if you’re running MongoDB older than 3.6 that requires some manual intervention described in the documentation. It’s pretty straightforward even if it requires a node downtime as part […]
Yandex internal CTF 2017
This year CTF at Yandex brought not only the excitement and sleepless nights but a bunch of awesome swag.
In: Life, Linux, Security