Skip to content

Instantly share code, notes, and snippets.

View joewood's full-sized avatar

Joe Wood joewood

View GitHub Profile
@joewood
joewood / example-fileupload.html
Created August 16, 2012 19:17
Using JQuery File Upload with client resize
<-- Example HTML/JS of how to use the JQuery File Upload library, with resizing -->
<!DOCTYPE html >
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>this is My Child</title>
<script src="scripts/jquery-1.7.2.js" type="text/javascript"></script>
// Type definitions for React Router 0.13.3
// Project: https://github.com/rackt/react-router
// Definitions by: Yuichi Murata <https://github.com/mrk21>, Václav Ostrožlík <https://github.com/vasek17>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
///<reference path='./react/react.d.ts' />
declare module ReactRouter {
import React = __React;
@joewood
joewood / mobile-app.html
Created March 3, 2013 19:25
Mobile ready HTML page as an app
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>TypeScript HTML App</title>
<link rel="stylesheet" href="app.css" type="text/css" />
<script src="Scripts/require.js" data-main="Scripts/main.js"></script>
</head>
{
"type": "record",
"name": "ExecutionReport",
"fields": [
{ "name": "account" , "default": null, "fixTag": 1, "fixType": "STRING", "type": [ "null", "string" ] },
{ "name": "avgPx" , "default": null, "fixTag": 6, "fixType": "PRICE", "type": [ "null", "double" ] },
{ "name": "clOrdID" , "default": null, "fixTag": 11, "fixType": "STRING", "type": [ "null", "string" ] },
{ "name": "commission" , "default": null, "fixTag": 12, "fixType": "AMT", "type": [ "null", "double" ] },
{ "name": "commType" , "default": null, "fixTag": 13, "fixType": "CHAR", "type": [ "null", "string" ] },
{ "name": "cumQty" , "fixTag": 14, "fixType": "QTY", "type": "double" },
@joewood
joewood / Typography
Created September 29, 2021 16:08
Getting text to look OK in print and screen
import * as React from "react";
import { extendTheme } from "@chakra-ui/react";
import { rhythm } from "../../components/page-components";
const theme = extendTheme({
styles: {
global: {
"@media print": {
"*": {