Skip to content
View kapb14's full-sized avatar
😤
😤

Block or report kapb14

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. dockerfiles dockerfiles Public

    My set of Docker related stuff.

    Dockerfile

  2. psmem.php psmem.php
    1
    <?php
    2
    $status = file_get_contents('/proc/' . getmypid() . '/status');
    3
    print $status . "\n";
  3. php fpm status commandline script wi... php fpm status commandline script with pool name as argument
    1
    #!/bin/bash
    2
    
                  
    3
    if [[ -z $1 ]]; then
    4
    	pool_name="www"
    5
    elif [[ "$1" == "--help" ]] || [[ "$1" == "-h" ]] || [[ "$1" == "help" ]]; then
  4. 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
  5. 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
  6. sshto sshto Public

    Interactive, sexy SSH connections menu, auto-generated from your 'ssh_config' and powered by 'percol' tool.

    Shell 1