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
:root { | |
--primary: #09F; | |
--accent: #57A; | |
--background: #080808; | |
--background-elevated: #222; | |
/*--background-hover: rgba(255, 255, 255, 0.1);*/ | |
--background-hover: rgba(255, 255, 255); | |
--sidebar-background: #1a2129; |
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
#outTmZn1, #outTmZn2, #outTmZn3, #outTmZn4, #outTmZn5, #outTmZn6, #outTmZn7, #outTmZn8, #outTmZn9, #outTmZn10, #outTmZn11, #outTmZn12, #outTmZn13, #outTmZn14, #outTmZn15, #outTmZn16, #outTmZn17, #outTmZn18, #outTmZn19, #outTmZn20 {font-size:12pt;padding:10px;line-height:200%;} | |
#tdTmZn1 {border:1px solid #778899;border-radius:3px;} | |
#tdTmZn1:hover {border:1px solid #008080;} | |
#tdTmZn2 {border:1px solid #dd855c;border-radius:3px;} |
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
<center><table> | |
<tr> | |
<td id="tdTmZn1" colspan=2><span id="outTmZn1"></span></td> | |
<td id="tdTmZn1"><span id="outTmZn2"></span></td> | |
</tr> | |
<tr> | |
<td id="tdTmZn2" colspan=2><span id="outTmZn3"></span></td> | |
<td id="tdTmZn2"><span id="outTmZn4"></span></td> | |
</tr> | |
<tr> |
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
document.getElementById("outTmZn1").innerHTML = "Hawaii Time_ "; | |
document.getElementById("outTmZn3").innerHTML = "Hawaii-Aleutian Time_ "; | |
document.getElementById("outTmZn5").innerHTML = "Alaskan Time_ "; | |
document.getElementById("outTmZn7").innerHTML = "Pacific Time_ "; | |
document.getElementById("outTmZn9").innerHTML = "Mountain Time_ "; | |
document.getElementById("outTmZn11").innerHTML = "Central Time_ "; | |
document.getElementById("outTmZn13").innerHTML = "Eastern Time_ "; | |
document.getElementById("outTmZn15").innerHTML = "Atlantic Time_ "; | |
document.getElementById("outTmZn17").innerHTML = "GMT Time_ "; | |
document.getElementById("outTmZn19").innerHTML = "Local Time_ "; |
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
var dtId; | |
function autoGenDt() { | |
var date = new Date(); | |
document.getElementById("dtPnl").innerHTML = date; | |
} | |
function autoDtSrt() { | |
if (dtId) { | |
clearInterval(dtId); | |
} | |
dtId = setInterval(function () { |
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
public int myRecursive(){ | |
int myRecursive(); | |
} |
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
// ==UserScript== | |
// @name Twitter Cramming | |
// @description Force enable cramming (280 character tweets) on Twitter | |
// @author Prof. 9 | |
// @version 0.1 | |
// @match https://twitter.com/* | |
// @run-at document-idle | |
// @namespace prof9.twittercramming | |
// ==/UserScript== |
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> | |
<script> | |
var hoverCount = 1; | |
</script> | |
</head> | |
<body> | |
<div style="text-align: center;"> | |
<button class="hoverButton" type='button' | |
onmouseover='alert ("Hovered " + hoverCount +" times."); |
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
$("#countButton").on('click', function(e) { | |
if (typeof(Storage) !== "undefined") { | |
if (localStorage.clickcount) { | |
localStorage.clickcount = parseInt($("#displayCount").text()); | |
localStorage.clickcount = Number(localStorage.clickcount) + 1; | |
} else { | |
localStorage.clickcount = 0; | |
} | |
document.getElementById("displayCount").innerHTML = localStorage.clickcount; | |
} else { |
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
var count = 0; | |
var countButton = document.getElementById("countButton"); | |
var displayCount = document.getElementById("displayCount"); | |
countButton.onclick = function(){ | |
count++; | |
displayCount.innerHTML = count; | |
} | |
resetButton.onclick = function(){ | |
count = 0; | |
displayCount.innerHTML = count; |