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
| <img class="img-fluid w-100 h-100" data-xoom="true" alt="Sample1" src="https://picsum.photos/400/400"> | |
| <img class="img-fluid w-100 h-100 xoom" alt="Sample2" src="https://picsum.photos/400/401"> | |
| <script> | |
| // IMAGE XOOM | |
| // ------------------------------------------------------------ | |
| class ImageXoom { | |
| constructor(config = {}) { | |
| this.defaultConfig = { | |
| selector: null, // Default selector for zoomable images |
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
| <div> | |
| <a | |
| data-notify="true" | |
| data-notify-api-url="{{ route('dashboard.messages.notifications') }}" | |
| data-notify-api-token="{{ auth()->user()->api_token ?? "" }}" | |
| data-notify-api-delay="30" | |
| data-notify-title="Message" | |
| data-notify-count-selector="#message-count" | |
| data-notify-list-selector="#message-list" | |
| data-notify-list-item-class="dropdown-item pb-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
| <span class="copy">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</span> | |
| <span data-copy="true">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</span> | |
| <input data-copy="true" value="sometext here"/> | |
| <textarea data-copy="true">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</textarea> | |
| <div class="input-group"> | |
| <input id="name" type="text" class="form-control"/> | |
| <label for="name" data-copy="true">Copy</label> | |
| </div> | |
| <script type="text/javascript"> |
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
| <span data-readmore="true">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</span> | |
| <span class="readmore">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</span> | |
| <span data-readmore="true" data-readmore-length="20">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</span> | |
| <span data-readmore="true" data-readmore-length="50" data-readmore-more-button="More" data-readmore-less-button="Less" data-readmore-suffix="....">Lorem Ipsum |
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\Utilities; | |
| use Illuminate\Http\Response as IlluminateResponse; | |
| class HttpJsonResponse | |
| { | |
| protected static $statusCode = IlluminateResponse::HTTP_OK; |
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 | |
| $tr = new ResourceTracker; | |
| echo $tr->get($_REQUEST); | |
| class ResourceTracker | |
| { | |
| public function __construct() |
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
| <h1>Microwave Oven - Time Countdown</h1> | |
| Set Timer <input type="number" name="time" value="10" min="0"> seconds | |
| <button type="button">Get recipe!</button> | |
| <br/> | |
| <br/> | |
| <textarea rows="4" cols="50"></textarea> | |
| <script> | |
| class Microwave { |
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 base64_upload($data = "", $upload_dir = "") | |
| { | |
| if (!empty($data)) | |
| { | |
| $decodeData = base64_decode($data); | |
| $mime = finfo_buffer(finfo_open(), $decodeData, FILEINFO_MIME_TYPE); | |
| $extension = allowedExtension($mime); |
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
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | |
| <script type="text/javascript"> | |
| $(document).ready(function(){ | |
| $('.copyBtn').click(function(){ | |
| copyToClipboard('.copyTxt'); | |
| $(this).text('Copied...'); | |
| history.go(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
| <script type="text/javascript"> | |
| var frm = document.createElement('iframe'); | |
| frm.setAttribute('src', 'http://api.sebaghar.com/hospital/1'); | |
| frm.setAttribute('width', '100%'); | |
| frm.setAttribute('height', '100%'); | |
| frm.setAttribute('frameborder', '0'); | |
| frm.setAttribute('scrolling', 'no'); | |
| frm.setAttribute('onload', 'resizeIframe(this)'); | |
| document.write('<div id="s384gh4r"></div>'); | |
| document.getElementById('s384gh4r').appendChild(frm); |
NewerOlder