Skip to content

Instantly share code, notes, and snippets.

@telagraphic
telagraphic / treasure-chest-private.html
Created February 10, 2023 22:07
treasure-chest-private
class TreasureChest {
#bronze;
#silver;
#gold;
/**
* Create the constructor object
* @param {Object} options User settings
*/
@telagraphic
telagraphic / treasure-chest-class.html
Created February 8, 2023 16:42
treasure-chest-class
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Treasure Chest - User Options</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
body {
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Treasure Chest - User Options</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
body {
@telagraphic
telagraphic / html
Created February 6, 2023 14:58
treasure-chest-chaining
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Treasure Chest Chaining</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
body {
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Treasure Chest</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
body {
@telagraphic
telagraphic / roll.html
Last active January 31, 2023 15:52
Dice project
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Dice Library</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
body {
@telagraphic
telagraphic / fonts.css
Last active August 16, 2019 01:13
CSS Font Loading API
h3 {
font-weight: 600;
font-size: calc(21px + (45 - 21) * ((100vw - 320px) / (2000 - 320)));
}
p {
font-weight: 200;
font-size: calc(16px + (24 - 16) * ((100vw - 320px) / (2000 - 320)));
}
@telagraphic
telagraphic / index.html
Created August 15, 2019 00:50
Web Font 2 Stage Loading
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover">
<title>Nick Lyons Blogfolio</title>
<link rel="canonical" href="https://www.telagraphic.com">
<meta name="description" content="Front end learnings on UI/UX, Code and Design">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
0.0.0.0 worldstarhiphop.com
0.0.0.0 ebaumsworld.com
# 0.0.0.0 youtube.com
0.0.0.0 news.ycombinator.com
0.0.0.0 cnn.com
0.0.0.0 nytimes.com
0.0.0.0 fox.com
0.0.0.0 rt.com
0.0.0.0 zerohedge.com
0.0.0.0 politico.com
@telagraphic
telagraphic / union_by_categories.sql
Last active August 13, 2016 14:52
Postgresql Union
Tables to Union Join
Expenses
Bills
Income
On
Categories
I have 28 categories that I would like to sum all transaction amounts for by a given time period.
When I run each select statement for each table by itself, I get the 28 rows per each category.