Skip to content

Instantly share code, notes, and snippets.

@import variables
html,body
:font-family = !body_font
:color = !text_color
h1
:font-size = !size_27
:letter-spacing -2px
html
color: #000
background: #FFF
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td
margin: 0
padding: 0
// Fonts
!body_font = "Helvetica", "Arial", "sans-serif"
// Font Sizing based off of YUI Guidelines
!size_10 = 77%
!size_11 = 85%
!size_12 = 93%
!size_13 = 100%
!size_14 = 108%
!size_15 = 116%
// Checks the browser and adds classes to the body to reflect it.
$(document).ready(function(){
var userAgent = navigator.userAgent.toLowerCase();
$.browser.chrome = /chrome/.test(navigator.userAgent.toLowerCase());
// Is this a version of IE?
if($.browser.msie){
$('body').addClass('ie');
<html>
<head>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Tangerine|Inconsolata|Droid+Sans">
</head>
<style type="text/css">
h1 { font-family: 'Tangerine', serif; }
p { font-family: 'Inconsolata'; }
ul { font-family: 'Droid Sans';}
</style>
<body>
await marketbaseClient.events.createHistory({
"channelMetaId": "order_8161667227078356",
"body": "Reservation created"
});{
"data": {
"id": "ev_e4NvtCbM75MHBu8W",
"type": "HistoryEvent",
"createdAt": "2022-10-31T14:37:59.985Z",
"updatedAt": "2022-10-31T14:37:59.985Z",
"body": "Reservation created",
@jordanisip
jordanisip / waypointAxiosExample.tsx
Last active June 14, 2023 13:57
Waypoint Axios example
const axios = require('axios');
axios({
method: 'post',
url: 'https://live.waypointapi.com/v1/email_messages',
headers: {
'Content-Type': 'application/json'
},
auth: {
username: 'YOUR_API_KEY_USERNAME',