Pinned Loading
-
-
psmem.php
psmem.php 1<?php
2$status = file_get_contents('/proc/' . getmypid() . '/status');
3print $status . "\n";
-
php fpm status commandline script wi...
php fpm status commandline script with pool name as argument 1#!/bin/bash
23if [[ -z $1 ]]; then
4pool_name="www"
5elif [[ "$1" == "--help" ]] || [[ "$1" == "-h" ]] || [[ "$1" == "help" ]]; then
-
simplest "sudo" for Windows
simplest "sudo" for Windows 1:: save this file as "sudo.cmd" and place it in your %PATH%
2@echo Set objShell = CreateObject("Shell.Application") > %temp%\sudo.tmp.vbs
3@echo args = Right("%*", (Len("%*") - Len("%1"))) >> %temp%\sudo.tmp.vbs
4@echo objShell.ShellExecute "%1", args, "", "runas" >> %temp%\sudo.tmp.vbs
5@cscript %temp%\sudo.tmp.vbs
-
simple http server to dump request h...
simple http server to dump request headers 1```
2$ curl -s -H "X-Something: yeah" localhost:8000 > /dev/null
3```
4```
5$ python serv.py
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.