Skip to content

Instantly share code, notes, and snippets.

@Goldenflamer
Goldenflamer / Reload-At-Wallclock.user.js
Last active November 17, 2024 18:35 — forked from mschmitt/Reload-At-Wallclock.user.js
Reload-At-Wallclock.user.js
// ==UserScript==
// @name Reload at Wallclock
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Reload at Wallclock
// @author You
// @match https://mschmitt.github.io/timestamp-tester/
// @match https://tickets.events.ccc.de/*
// @grant none
// ==/UserScript==
@Goldenflamer
Goldenflamer / setcookie.php
Created October 26, 2019 20:43
Set a cookie via a php script by using input fields
<form action="<?php print($_SERVER['PHP_SELF']);?>" method="post">
<p>Cookie-Name<input type="text" name="name" /></p>
<p>Cookie-Value<input type="text" name="value" /></p>
<p><input type="submit" /></p>
</form>
<?php
if(isset($_POST['name']) && isset($_POST['value']))
{