This file contains hidden or 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 App\Http\Requests; | |
| use App\Rules\IsValidPassword; | |
| use Illuminate\Foundation\Http\FormRequest; | |
| use Illuminate\Contracts\Validation\Validator; | |
| use Illuminate\Validation\ValidationException; |
This file contains hidden or 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
| https://phptherightway.com/ | |
| https://github.com/bmorelli25/Become-A-Full-Stack-Web-Developer | |
| https://github.com/marcelgsantos/learning-oop-in-php | |
| https://github.com/kamranahmedse/developer-roadmap | |
| https://github.com/bayandin/awesome-awesomeness |
This file contains hidden or 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
| App::register('MyApp\Providers\MyServiceProvider'); |
This file contains hidden or 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
| function qmnDisplayError( message, field, quiz_form_id ) { | |
| jQuery( '#' + quiz_form_id + ' .qmn_error_message_section' ).addClass( 'qmn_error_message' ); | |
| jQuery( '#' + quiz_form_id + ' .qmn_error_message' ).text( message ); | |
| // Targate Span before Input instead of whole container | |
| field.prev('.mlw_qmn_question').addClass( 'qmn_error' ); | |
| //field.closest( '.quiz_section' ).addClass( 'qmn_error' ); | |
| } | |
| function qmnValidation( element, quiz_form_id ) { | |
| // Remove Error class before validation start |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>TODO supply a title</title> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <!-- Include Required Prerequisites --> | |
| <script type="text/javascript" src="https://code.jquery.com/jquery-1.9.1.min.js"></script> | |
| <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script> | |
| <link rel="stylesheet" type="text/css" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" /> |
This file contains hidden or 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 encryptIt($q) { | |
| $cryptKey = 'qJB0rGtIn5UB1xG03efyCp'; | |
| $qEncoded = base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, md5($cryptKey), $q, MCRYPT_MODE_CBC, md5(md5($cryptKey)))); | |
| return( $qEncoded ); | |
| } | |
| function decryptIt($q) { | |
| $cryptKey = 'qJB0rGtIn5UB1xG03efyCp'; | |
| $qDecoded = rtrim(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, md5($cryptKey), base64_decode($q), MCRYPT_MODE_CBC, md5(md5($cryptKey))), "\0"); |
This file contains hidden or 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 | |
| //Get current week number | |
| $week = date('W'); | |
| //Get current year | |
| $year = date('Y'); | |
| //Date time object | |
| $dto = new DateTime(); | |
| $week_start = $dto->setISODate($year, $week, 0)->format('d-m-Y'); | |
| $week_end = $dto->setISODate($year, $week, 6)->format('d-m-Y'); |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <meta name="description" content=""> | |
| <meta name="author" content=""> |
This file contains hidden or 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 | |
| ini_set('display_errors', 1); | |
| ini_set('display_startup_errors', 1); | |
| error_reporting(E_ALL); | |
| function execute_curl($url = "") { | |
| if ($url == "") { | |
| $url = 'https://codecanyon.net/item/woocommerce-pdf-vouchers-wordpress-plugin/reviews/7392046'; | |
| } |
This file contains hidden or 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
| https://webrtc.github.io/samples/ |
NewerOlder