Skip to content

Instantly share code, notes, and snippets.

View necenzurat's full-sized avatar
🥺
I still hate JS

Costin Moise necenzurat

🥺
I still hate JS
View GitHub Profile
@necenzurat
necenzurat / notify.php
Last active December 13, 2018 02:35
simple prowl app notifier
<?php
$url = 'https://api.prowlapp.com/publicapi/add';
$fields = array(
'apikey' => 'API_KEY',
'application' => 'APP',
'event' => "jobs done",
'description' => "TeXT",
// https://www.prowlapp.com/api.php
// meh
@necenzurat
necenzurat / os_arch.sh
Created January 6, 2019 00:42
get os_arch
#!/bin/bash
function os_arch ()
{
echo $($(command -v file) /bin/bash | grep -o -m 1 '32\|64' | head -1);
}
echo "$(tail -1000 /tmp/cron.log)" > /tmp/cron.log
@necenzurat
necenzurat / speedtest-installer.sh
Last active May 24, 2020 11:25
oficial speedtest installer
#!/bin/bash
#
# A speedtest agnostic(ish) install script
#
# @version 0.1.0
# @license DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
#
# uncomment this for debugging
# set -x
# Set environment