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
| $('#slideshow').cycle({ | |
| containerResize: false, | |
| slideResize: false, | |
| fit: 1 | |
| }); |
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
| $('document').ready(function(){ | |
| $('a.link').click(function(e) { | |
| $('html, body').stop().animate({ | |
| scrollTop: $($(this).attr('href')).offset().top | |
| }, 1300, 'easeInOutExpo'); |
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
| $params = array( | |
| 'q' => $location . ',UK', | |
| 'format' => 'json', | |
| 'countrycodes' => 'gb', | |
| 'limit' => '1', | |
| 'viewbox' => '-10.94,59.42,2.61,49.92', | |
| 'bounded' => '1', | |
| 'addressdetails' => '1', | |
| ); |
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 | |
| $fp = @fopen( $file_path, 'rb' ); | |
| $size = filesize( $file_path ); | |
| $length = $size; | |
| $start = 0; | |
| $end = $size - 1; | |
| header( "Accept-Ranges: 0-$length" ); |
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 run_background_process( $file ) | |
| { | |
| if ( is_windows() ) | |
| { | |
| // create command object | |
| $objShell = new COM( 'WScript.Shell' ); | |
| // run windows command | |
| $objShell->Run( | |
| $strCommand = sprintf( 'php %s.php', $file ), |
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
| #!/bin/sh | |
| apt-get -qq update | |
| apt-get install -yy gcc | |
| cat <<EOF > ghosttest.c | |
| /* ghosttest.c: GHOST vulnerability tester */ | |
| /* Credit: http://www.openwall.com/lists/oss-security/2015/01/27/9 */ | |
| #include <netdb.h> |
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
| curl https://go.pingthis.link/D2C27002-7105-E321-441F-ADFB1D57FB1C/ |
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
| # Task runs at 11pm every day | |
| 0 23 * * * curl --silent https://go.pingthis.link/D2C27002-7105-E321-441F-ADFB1D57FB1C/ > /dev/null 2>&1 |
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
| X-DocuSign-Authentication: {"Username":"YOUR_USER_NAME","Password":"YOUR_PASSWORD","IntegratorKey":"YOUR_INTEGRATOR_KEY"} | |
| Content-Type: multipart/form-data; boundary=5cd3320a-5aac-4453-b3a4-cbb52a4cba5d | |
| Accept: application/json | |
| --5cd3320a-5aac-4453-b3a4-cbb52a4cba5d | |
| Content-Type: application/json | |
| Content-Disposition: form-data | |
| { | |
| "status": "sent", |
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
| FROM php:7.1-apache | |
| # Get repository and install wget and vim | |
| RUN apt-get update && apt-get install --no-install-recommends -y \ | |
| wget \ | |
| gnupg \ | |
| git \ | |
| unzip | |
| # Install PHP extensions deps |
OlderNewer