This file contains 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
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | |
</head> | |
<script> | |
function fTest(file) | |
{ | |
$.ajax({ | |
url:file, |
This file contains 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>Show images in folder</title> | |
<style type="text/css"> | |
body { | |
margin: 0 auto 20px; | |
padding: 0; | |
background: black; | |
} |
This file contains 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 id="result">loading...</div> | |
<p id="reload">CLICK HERE TO GENERATE A NEW LINK</p> | |
<script> | |
function randomString(len, charSet) { | |
charSet = charSet || 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; | |
var randomString = ''; | |
for (var i = 0; i < len; i++) { | |
var randomPoz = Math.floor(Math.random() * charSet.length); | |
randomString += charSet.substring(randomPoz,randomPoz+1); |
This file contains 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
<head> | |
<script src="http://code.jquery.com/jquery-latest.js"></script> | |
<script> | |
$(document).ready(function(){ | |
$('#submit').click(function(){ | |
$.post("send.php", $("#mycontactform").serialize(), function(response) { | |
$('#success').html(response); |
This file contains 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
Theme Name: Twenty Fourteen Child | |
Theme URI: http://example.com/twenty-fourteen-child/ | |
Description: Twenty Fourteen Child Theme | |
Author: John Doe | |
Author URI: http://example.com | |
Template: twentyfourteen | |
Version: 1.0.0 | |
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready | |
Text Domain: twenty-fourteen-child | |
*/ |
This file contains 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
t = turtle | |
n = 1 --item slot | |
function reload() | |
while t.getItemCount(n) <1 do | |
print("reload item slot") | |
sleep(3) |
This file contains 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
b = 0 --bricks laid | |
w = 0 --wall number | |
h = 200 --height of the structure in layers | |
i = 0 --current number layers | |
x = 64--how wide the base should be | |
n = 1 --selection number for inv | |
function start() | |
turtle.up() | |
end |
This file contains 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
b = 0 --bricks laid | |
w = 0 --wall number | |
h = 80 --height of the structure in layers | |
i = 0 --current number layers | |
x = 6--how wide the base should be | |
n = 1 --selection number for inv | |
function start() | |
turtle.digUp() | |
turtle.up() | |
end |
This file contains 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
b = 0 --bricks laid | |
w = 0 --wall number | |
h = 80 --height of the structure in layers | |
i = 0 --current number layers | |
x = 6--how wide the base should be | |
n = 1 --selection number for inv | |
function start() | |
turtle.digUp() | |
turtle.up() | |
end |
This file contains 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 | |
//PHP mailer | |
//very important to require this of course!! | |
require_once('PHPMailer/class.phpmailer.php'); | |
$email = new PHPMailer(); | |
$email->From = '[email protected]'; | |
$email->FromName = 'Form name here'; | |
$email->Subject = 'Subject line fo email to be sent.'; |
OlderNewer