Skip to content

Instantly share code, notes, and snippets.

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/
```
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
# 1 – Installation
```
sudo apt-get update && sudo apt-get install transmission-daemon
```
# 2 - Stop Transmission Daemon
```
sudo systemctl stop transmission-daemon
const AWS = require('aws-sdk');
const accessKeyId = ""
const secretAccessKey = "";
const region = "";
const userPoolId = "";
AWS.config.update({
accessKeyId,
<?php
function tbpw_get_email_count(){
return 100;
}
echo __('Send Email', 'tbpw');
printf(
_n(
'%s email',
<?php
namespace TheBestPluginIntheWorld;
define( ‘TBPW_API_KEY’, '123456789' );
class TBPW_User{
function tbpw_send_email(){
$tbpw_sender_email "[email protected]";
// Sends Email
}
<?php
$html = esc_html( '<a href="http://www.example.com/">The example link</a>' );
// Returns &lt;a href=&quot;http://www.example.com/&quot;>The example link&lt;/a>
echo $html;
<?php
if ( is_email( $_REQUEST['email'] ) ) {
// Let's Roll!!
}else{
// Invalid email
}
<?php
$name = sanitize_text_field( $_REQUEST['name'] );
$email = sanitize_email( $_REQUEST['email'] );
$address = sanitize_textarea_field( $_REQUEST['address'] );
@harshanas
harshanas / buildspec.yml
Created August 12, 2020 17:18
Integrate SonarCloud with AWS CodeCommit and CodeBuild
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