Skip to content

Instantly share code, notes, and snippets.

View EncodeTheCode's full-sized avatar
💭
Coding useful tools for workflow.

EncodeTheCode

💭
Coding useful tools for workflow.
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Date Difference Calculator & Calendar</title>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<style>
table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
th, td { border: 1px solid #ddd; padding: 8px; text-align: center; }
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Date Difference Calculator & Calendar</title>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<style>
table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
th, td { border: 1px solid #ddd; padding: 8px; text-align: center; }
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Date Difference Calculator & Calendar</title>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<style>
table{width:100%;border-collapse:collapse;margin-bottom:20px}
th,td{border:1px solid #ddd;padding:8px;text-align:center}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Date Difference Calculator & Calendar</title>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<style>
table{width:100%;border-collapse:collapse;margin-bottom:20px}
th,td{border:1px solid #ddd;padding:8px;text-align:center}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Day, Month, Year Picker</title>
<style>
label, select { margin-right: 10px; }
#result { font-size: 18px; margin-top: 20px; font-weight: bold; }
</style>
</head>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Date Difference & Calendar</title>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<style>
table{width:100%;border-collapse:collapse;margin-bottom:20px}
th,td{border:1px solid #ddd;padding:8px;text-align:center}
#include <iostream>
#include <unordered_map>
#include <string>
#include <memory>
// Base class for tracked objects
class TrackedObject {
public:
TrackedObject(const std::string& customName);
virtual ~TrackedObject();
<!DOCTYPE html>
<html>
<head>
<style>
#screen { border: 1px solid #000; cursor: crosshair; }
#coordinates { font-family: monospace; }
.txt_blue { color: blue; }
.txt_orange { color: orange; }
</style>
</head>
<!DOCTYPE html>
<html>
<body>
<canvas id="screen" width="800" height="480"></canvas>
<script>
// Global variables
let cvs = null;
let ctx = null;
// Tile and logo directories
<!DOCTYPE html>
<html>
<head>
<style>
#screen { border: 1px solid #000; cursor: crosshair; }
#coordinates { font-family: monospace; }
.txt_blue { color: blue; }
.txt_orange { color: orange; }
</style>
</head>