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
javascript:void(document.oncontextmenu=null) |
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
data:text/HTML,%20<html%20contenteditable> |
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
<!-- RA ADD TO CART --> | |
<script> | |
var _ra_cartBtn = document.getElementById('add'); | |
_ra_cartBtn.addEventListener('click', function(){ | |
if (_ra.ready !== undefined) { | |
_ra.addToCart({{product.id}}, 1, false, function() { | |
console.log("The information have been 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
public class MineSweeper | |
{ private int[][] myTruth; | |
private boolean[][] myShow; | |
public void cellPicked(int row, int col) | |
{ if( inBounds(row, col) && !myShow[row][col] ) | |
{ myShow[row][col] = true; | |
if( myTruth[row][col] == 0) | |
{ for(int r = -1; r <= 1; r++) |
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
public class MineSweeper | |
{ private int[][] myTruth; | |
private boolean[][] myShow; | |
public void cellPicked(int row, int col) | |
{ if( inBounds(row, col) && !myShow[row][col] ) | |
{ myShow[row][col] = true; | |
if( myTruth[row][col] == 0) | |
{ for(int r = -1; r <= 1; r++) |
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
#include<stdio.h> | |
#include<time.h> | |
#include<windows.h> | |
#include <stdlib.h> | |
int main() | |
{ | |
struct tm *tmp; | |
time_t s; |
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> | |
<title>My Example</title> | |
<time id="date"></time> | |
<script> | |
/* | |
Create a JavaScript Date object for the current date and time, | |
then extract the desired parts, then join them again in the desired format. |
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
<html> | |
<head> | |
<title>A File Upload Script</title> | |
</head> | |
<body> | |
<div> | |
<?php | |
if ( isset( $_FILES['fupload'] ) ) { | |
print "name: ". $_FILES['fupload']['name'] ."<br />"; |
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
import urllib | |
import re | |
print "we will try to open this url, in order to get IP Address" | |
url = "http://checkip.dyndns.org" | |
print url | |
request = urllib.urlopen(url).read() |
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 | |
//feedUri | |
$feedURL = 'http://localhost/opencart2.2.0.0/index.php?json=retargeting'; | |
$time_start = microtime(true); | |
echo "<pre>"; | |
/// | |
$ch = curl_init($feedURL); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | |
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); |
OlderNewer