Skip to content

Instantly share code, notes, and snippets.


Andreas Fischer bantu

View GitHub Profile
View 00-output.txt
1 => 3 # This row is read into a buffer on $db->query()
2 => 6 # Expected 4 instead of 6. This row is only fetched after the second UPDATE finished.
# says "The default isolation level for SQLite is SERIALIZABLE."
# which should prevent this from happening?
# Is this a PDO bug?
# Is this a known Sqlite issue that should be documented on
# ?
bantu /
Last active Dec 30, 2020
Seagate BlackArmor 4XX (e.g. 400, 420, 440) NAS

Device Status

  • A serial cable was soldered onto the board's CN4 connector which can be used for debugging.
  • A USB drive is attached containing a debootstrapped Debian Jessie armel on an ext4 filesystem.
  • The original flash was completely erased.
  • A new version of u-boot provided by Evgeni was installed onto the flash.
  • The new u-boot version is capable of loading files from ext4 filesystems, the old one was not.
  • u-boot loads three files: /boot/uInitrd, /boot/uDtb, /boot/uImage
  • The kernel is provided by the linux-image-kirkwood debian package.
View auth.php
namespace OC\Core\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
class Auth extends Command {
protected function configure() {