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
# Add rules for allow; Webmin, Smtp, Pop, FTP, SSH, HTTP, RTMP (Red5), Proxy | |
# And with form normal, ssl, tls ports | |
# Just copy and past in command prompt and reload iptables | |
# Basic ports | |
iptables -A INPUT -p udp -m udp --dport 20 -j ACCEPT | |
iptables -A INPUT -p udp -m udp --dport 21 -j ACCEPT | |
iptables -A INPUT -p tcp -m tcp --dport 20 -j ACCEPT | |
iptables -A INPUT -p tcp -m tcp --dport 21 -j ACCEPT | |
iptables -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT |
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 | |
yum update | |
yum install autoconf automake bzip2 cmake freetype-devel gcc gcc-c++ git libtool make mercurial pkgconfig zlib-devel | |
mkdir ~/ffmpeg_sources | |
cd ~/ffmpeg_sources | |
wget http://www.nasm.us/pub/nasm/releasebuilds/2.13.02/nasm-2.13.02.tar.bz2 | |
tar xjvf nasm-2.13.02.tar.bz2 | |
cd nasm-2.13.02 |
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 | |
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT); | |
ini_set("display_errors", 1); | |
/* | |
Virtualmin API Class v1.0 | |
Mathieu Légaré | |
levelkro@yahoo.ca | |
https://levelkro.net | |
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 | |
/* | |
* (c) Copyright Mathieu Légaré (levelkro@yahoo.ca) | |
* 2013-2019 | |
*/ | |
class SteamLVK { | |
/* Variables */ | |
const STEAM_LOGIN = 'https://steamcommunity.com/openid'; | |
const STEAM_OPENID = 'http://specs.openid.net/auth/2.0'; | |
const STEAM_COMMUNITY = 'https://steamcommunity.com'; |
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 | |
/* | |
* Author David S. Tufts | |
* Company davidscotttufts.com | |
* | |
* Date: 05/25/2003 | |
* Usage: <img src="/barcode.php?text=testing" alt="testing" /> | |
* | |
* Code 128 edited with a loop for adding Function Key feature in the code |