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
YES FM 101 - http://live.trusl.com:1150/ | |
RED FM - http://shaincast.caster.fm:47830/listen.mp3 | |
KISS FM - http://198.178.123.8:8404/ | |
NETH FM - http://69.46.24.226:7669/stream | |
YFM - http://live.trusl.com:1180/ |
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
``` | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get install -y apache2 | |
sudo ufw allow in "Apache Full" | |
sudo apt-get install -y mysql-server | |
# After running this command, select (Y), option 2, then (Y) for the rest of the prompts. | |
sudo mysql_secure_installation |
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
# 1 – Installation | |
``` | |
sudo apt-get update && sudo apt-get install transmission-daemon | |
``` | |
# 2 - Stop Transmission Daemon | |
``` | |
sudo systemctl stop transmission-daemon |
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
const AWS = require('aws-sdk'); | |
const accessKeyId = "" | |
const secretAccessKey = ""; | |
const region = ""; | |
const userPoolId = ""; | |
AWS.config.update({ | |
accessKeyId, |
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 | |
function tbpw_get_email_count(){ | |
return 100; | |
} | |
echo __('Send Email', 'tbpw'); | |
printf( | |
_n( | |
'%s email', |
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 | |
namespace TheBestPluginIntheWorld; | |
define( ‘TBPW_API_KEY’, '123456789' ); | |
class TBPW_User{ | |
function tbpw_send_email(){ | |
$tbpw_sender_email "[email protected]"; | |
// Sends Email | |
} |
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 | |
$html = esc_html( '<a href="http://www.example.com/">The example link</a>' ); | |
// Returns <a href="http://www.example.com/">The example link</a> | |
echo $html; |
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 | |
if ( is_email( $_REQUEST['email'] ) ) { | |
// Let's Roll!! | |
}else{ | |
// Invalid email | |
} |
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 | |
$name = sanitize_text_field( $_REQUEST['name'] ); | |
$email = sanitize_email( $_REQUEST['email'] ); | |
$address = sanitize_textarea_field( $_REQUEST['address'] ); |
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
version: 0.2 | |
phases: | |
install: | |
runtime-versions: | |
nodejs: 10 | |
commands: | |
- apt-get update | |
- apt-get install -y jq | |
- wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-3.3.0.1492-linux.zip |
NewerOlder