Skip to content

Instantly share code, notes, and snippets.

View ballpumpe's full-sized avatar

pumping balls since 2000 ballpumpe

View GitHub Profile
@ballpumpe
ballpumpe / curl.php
Created March 2, 2024 00:26 — forked from surferxo3/curl.php
Script to demonstrate how to extract Header and Body from the Curl response in PHP.
<?php
/*#############################
* Developer: Mohammad Sharaf Ali
* Designation: Web Developer
* Version: 1.0
*/#############################
// SETTINGS
ini_set('max_execution_time', 0);
@ballpumpe
ballpumpe / ffcapture
Created July 21, 2022 01:08 — forked from seanbutnotheard/ffcapture
FFMPEG Screen capture/stream script
#!/bin/bash
#LICENSE
#To the extent possible under law, the author(s) have dedicated all
#copyright and related and neighboring rights to this software to the
#public domain worldwide. This software is distributed without any warranty.
#See <http://creativecommons.org/publicdomain/zero/1.0/>.
# ffcapture, a hacky script to stream/capture your desktop or a window
# REQUIRES ffmpeg, xwininfo and bc to be installed!