Skip to content

Instantly share code, notes, and snippets.

@loonies
loonies / 1_phpunit-api.md
Last active January 19, 2024 07:34
PHPUnit Cheat Sheet

PHPUnit API reference

  • version 3.6

TODO

Check those constraints:

$this->anything()
@iMilnb
iMilnb / boto3_hands_on.md
Last active October 19, 2022 09:15
Programmatically manipulate AWS resources with boto3 - a quick hands on

boto3 quick hands-on

This documentation aims at being a quick-straight-to-the-point-hands-on AWS resources manipulation with [boto3][0].

First of all, you'll need to install [boto3][0]. Installing it along with [awscli][1] is probably a good idea as

  • [awscli][1] is boto-based
  • [awscli][1] usage is really close to boto's
@datakurre
datakurre / .gitignore
Last active December 29, 2022 10:29
Minimal Nix Docker
*.tar.gz
.sentinel.*
@Profpatsch
Profpatsch / nix.sh
Last active January 19, 2020 01:49
Pillars of Eternity on nixos
#!/usr/bin/env bash
read -r -d '' NIXEXPR <<EOF
with import <nixpkgs> {};
runCommand "foo" {} ''
mkdir \$out
echo "\${lib.makeLibraryPath [ mesa xorg.libX11 xorg.libXext xorg.libXcursor xorg.libXrandr pkgsi686Linux.alsaPlugins libpulseaudio stdenv.cc.cc.lib ]}" > \$out/path
cp \$NIX_CC/nix-support/dynamic-linker \$out/ld
''
EOF