Skip to content

Instantly share code, notes, and snippets.

@mishfish
mishfish / pwnagotchi_install.sh
Created January 4, 2024 13:24 — forked from arainho/pwnagotchi_install.sh
install pwnagotchi on rpi4
#!/usr/bin/env bash
# install pwnagotchi on rpi4
WIFI_DEV="wlan1"
AUTO_MODE=true
DEBUG=false
PWN_GRID=false
PWN_GRID_REPORT=false
HOME_NETWORK="YourHomeNetworkMaybe"
@mishfish
mishfish / php
Created February 14, 2020 23:15
<?php
class Entity
{
private $value;
public function changeValue(ValueChange $value): void
{
$this->value = $value->value($this);
}
server {
listen 80;
root /var/www/html/public/;
client_max_body_size 200M;
location / {
try_files $uri /index.php$is_args$args;
}
location ~ ^/index\.php(/|$) {