Skip to content

Instantly share code, notes, and snippets.

@carpiediem
carpiediem / abilene-zeno.geojson
Last active February 8, 2023 19:06
Denver's Alphabetical Streets
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@carpiediem
carpiediem / index.html
Last active April 29, 2020 13:52
Flip cards with equipment-free exercise options
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Kellett School Excercise Flip Cards</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.1/css/bootstrap.css"
/>
<style>
@carpiediem
carpiediem / MTR Station Colors Map.svg
Last active June 14, 2023 18:02
Tile Diagram of Hong Kong MTR Station Color Schemes
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@carpiediem
carpiediem / LICENSE.md
Last active September 29, 2020 08:40
Solving the Travelling Salesman Problem with Google My Maps Markers and Optimap

Copyright (c) 2018 Ryan Carpenter

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all

@carpiediem
carpiediem / .block
Last active January 1, 2020 10:42
Most Recent Transition of Political Power in Each Country
license: cc-by-4.0
height: 520
border: no
@carpiediem
carpiediem / product_orders.ds
Last active August 18, 2021 13:49
This script allows Zoho CRM users to add a new related list related to the Products module. It will list every Quote, Sales Order, Purchase Order, or Invoice in Zoho CRM that includes the current product as a line item.
string Orders(int productId)
{
// For use in Zoho CRM custom related lists
// 1. Open a product info page and click the + next to RELATED LIST
// 2. Click Custom Function & Create New Custom Function
// 3. Name the function "product_orders" and define a single argument named "productId" as a string
// 4. Switch to Free-Flow Scripting and paste in this code
productIdStr=input.productId.toString();
xml="";
row=0;
@carpiediem
carpiediem / index.html
Last active January 1, 2020 10:42
Orbital Rocket Families with Publically-Released Pricing
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/nvd3/1.8.4/nv.d3.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/nvd3/1.8.4/nv.d3.min.css" rel="stylesheet">
<title>Orbital Rocket Families with Publicly-Released Pricing</title>
</head>
@carpiediem
carpiediem / markerFilter.html
Created April 7, 2015 09:30
This shows the difficulty of filtering markers displayed with the angular-openlayers-directive by tombatossals.
<!DOCTYPE html>
<html ng-app="demoapp">
<head>
<script src="http://tombatossals.github.io/angular-openlayers-directive/bower_components/openlayers3/build/ol.js"></script>
<script src="http://tombatossals.github.io/angular-openlayers-directive/bower_components/angular/angular.min.js"></script>
<script src="http://tombatossals.github.io/angular-openlayers-directive/bower_components/angular-sanitize/angular-sanitize.min.js"></script>
<script src="http://tombatossals.github.io/angular-openlayers-directive/dist/angular-openlayers-directive.js"></script>
<link rel="stylesheet" href="http://tombatossals.github.io/angular-openlayers-directive/bower_components/openlayers3/build/ol.css" />
<script>
var app = angular.module("demoapp", ["openlayers-directive"]);