This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// MADE BY M4UNDY | |
// ENTER SHOOTERS WEEKLY SCORES INTO MYSQL DATABASE | |
$shooter = mysqli_real_escape_string($link, $_POST['shooter']); | |
$values = []; | |
foreach ($_POST['week_score'] as $key => $score) { | |
$score = trim(mysqli_real_escape_string($link, $score)); | |
if (!empty($score)) { | |
$values[] = "('$shooter','$key','$score')"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#//////////////////////////////////////////////////////////// | |
#=========================================================== | |
# Dropbox FS Installer for Debian / Ubuntu | |
#=========================================================== | |
# set environment | |
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
LOG=/tmp/dropbox_fs.log | |
# are we running as root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
packageName="emby-server" | |
packageURL="https://api.github.com/repos/MediaBrowser/Emby/releases/latest" | |
tmp="/tmp" | |
latestVersionURL=$(curl -s "$packageURL" | jq -r ".assets[] | select(.name | test(\"amd64\")) | .browser_download_url" |grep -v netgear) | |
fileName=$(basename -s .deb $latestVersionURL) | |
lastInstalled=$(dpkg -s $packageName |grep '^Version' | awk '{print $2}') | |
getFile () { | |
echo "Downloading "$fileName"" & curl -L $latestVersionURL -o $tmp/$fileName 2>/dev/null | |
if [[ "$?" = "0" ]]; then dpkg -i $tmp/$fileName; else exit 2; fi ; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from http.server import BaseHTTPRequestHandler, HTTPServer | |
import logging | |
import json | |
import os | |
import os.path | |
from os import path | |
""" | |
HOW TO SET THIS UP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get update && apt-get upgrade | |
apt-get install apache2 | |
apt-get install libapache2-mod-php5 | |
apt-get install mcrypt | |
apt-get install curl | |
apt-get install php5-curl | |
apt-get install php5-mcrypt | |
a2enmod rewrite | |
php5enmod mcrypt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
sudo apt-get install -y software-properties-common | |
# For Ubuntu 16.04 Run - bash lamp18.sh Script should auto terminate on errors | |
echo -e "\e[96m ADDING PPA \e[39m" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#EXTM3U | |
#EXTINF:-1 tvg-id="BBC One HD" tvg-name="BBC One HD" tvg-logo="https://s4.postimg.org/k5xl5dmf1/bbc_one.png" group-title="BBC",BBC One HD | |
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_hdtv/ak/bbc_one_hd.m3u8 | |
#EXTINF:-1 tvg-id="BBC One London" tvg-name="BBC One London" tvg-logo="https://s4.postimg.org/z61nj8qd9/Bbc_london_logo.jpg" group-title="BBC",BBC One London | |
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/hls_tablet/ak/bbc_one_london.m3u8 | |
#EXTINF:-1 tvg-id="BBC One Northern Ireland HD" tvg-name="BBC One Northern Ireland HD" tvg-logo="https://s3.postimg.org/ltztuojqr/6y_QROLCn_400x400.png" group-title="BBC",BBC One Northern Ireland HD | |
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_hdtv/ak/bbc_one_northern_ireland_hd.m3u8 | |
#EXTINF:-1 tvg-id="BBC One Scotland HD" tvg-name="BBC One Scotland HD" tvg-logo="https://s3.postimg.org/ltztuojqr/6y_QROLCn_400x400.png" group-title="BBC",BBC One Scotland HD | |
http://a.fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?PHP | |
/* | |
YOUTUBE AND FACEBOOK LIVE STREAM SNATCHING | |
MADE BY M4UNDY | |
*/ | |
$channelid = $_GET["watch?v"]; | |
ini_set("user_agent","facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"); | |
function get_data($url) { | |
$ch = curl_init(); | |
$timeout = 5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#update and upgrade Ubuntu | |
sudo apt-get update && sudo apt-get upgrade -y ;\ | |
#install ffmpeg | |
sudo add-apt-repository ppa:jonathonf/ffmpeg-4 ;\ | |
sudo apt-get update ;\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function()%7B function htmlEscape(s)%7Bs%3Ds.replace(/%26/g,%27%26amp%3B%27)%3Bs%3Ds.replace(/>/g,%27%26gt%3B%27)%3Bs%3Ds.replace(/</g,%27%26lt%3B%27)%3Breturn s%3B%7D x%3Dwindow.open()%3B x.document.write(%27<pre>%27 %2B htmlEscape(%27<html>%5Cn%27 %2B document.documentElement.innerHTML %2B %27%5Cn</html>%27))%3B x.document.close()%3B %7D)()%3B |
NewerOlder