Skip to content

Instantly share code, notes, and snippets.

View clementallen's full-sized avatar

Clement Allen clementallen

View GitHub Profile
This file has been truncated, but you can view the full file.
[
1651429062735,
1651429062742,
1651429062749,
1651429062755,
1651429062762,
1651429062769,
1651429062777,
1651429062784,
1651429062791,
This file has been truncated, but you can view the full file.
[
1651426218580,
1651426218580,
1651426218580,
1651426218580,
1651426218580,
1651426218580,
1651426218580,
1651426218580,
1651426218581,
{
"comps": [
{
"id": "wgc-2021-club",
"name": "WGC 2021 Club Class",
"short": "Club 2",
"task": "https://www.soaringspot.com/en_gb/wgc2021-club-std-15m-montlucon-gueret-2021/results/club",
"colour": "#0074d9"
},
{
Title,Code,Country,Latitude,Longitude,Elevation,Style,Direction,Length,Frequency,Description
"Aboyne Bridge","AB1",UK,5704.213N,00247.239W,450ft,1,,,,"Turn Point, Road Br over R Dee"
"Abbot's Bromley","ABB",UK,5248.780N,00154.594W,328ft,1,,,,"Turn Point, Reservoir/B5013 E"
"Aboyne Dinnet","ABD",UK,5704.301N,00253.397W,492ft,1,,,,"Turn Point, B9119/River Bridge"
"Abergavenny","ABE",UK,5148.575N,00300.587W,230ft,1,,,,"Turn Point, A465/A40 R'bt"
"Aberfeldy","ABF",UK,5637.270N,00352.428W,197ft,1,,,,"Turn Point, B846/River Tay"
"Abington","ABI",UK,5530.146N,00341.788W,853ft,1,,,,"Turn Point, M74/A702/A73"
"Aberfoyle","ABL",UK,5610.717N,00423.070W,66ft,1,,,,"Turn Point, A821/B829"
"Abingdon Bridge","ABN",UK,5140.120N,00116.766W,164ft,1,,,,"Turn Point, A415 br over River Thames"
"Aboyne","ABO",UK,5704.515N,00250.571W,460ft,4,,,,"Turn Point, Difficult to find, Clubhouse"
<html>
<head>
</head>
<body>
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="./push.js"></script>
<script>
var alerted = false;
if(false) {
console.log('hello!');
}
if(true) {
console.log('it\'s true!');
} else {
console.log('it\'s false!');
}
<?php
$target_dir = "/www/bbc/notifications-mybbcwrapper/static_assets/_uploads/";
$target_file = $target_dir . basename($_FILES["fileToUpload"]["name"]);
if (isset($_POST["submit"])) {
if (move_uploaded_file($_FILES["fileToUpload"]["tmp_name"], $target_file)) {
echo "The file ". basename( $_FILES["fileToUpload"]["name"]). " has been uploaded! :D";
} else {
echo "Image not uploaded!!";