Skip to content

Instantly share code, notes, and snippets.

@c0ldfront
c0ldfront / fcstemp.tsx
Last active April 26, 2020 12:30
Function Comp w/ materialized theme/styles
import React, { FunctionComponent } from 'react';
import { Theme, createStyles, WithStyles, withStyles } from '@material-ui/core';
const styles = (theme: Theme) => createStyles({});
interface OwnProps extends WithStyles<typeof styles> {}
type Props = OwnProps;
const SubscribeNow: FunctionComponent<Props> = props => {
local nk = require("nakama")
local function f_after_match_maker(context, payload)
-- for key, value in pairs(context) do
-- print(("key %q :: value %q"):format(key, value))
-- end
-- for key, value in pairs(payload) do
-- -- print(("key %q :: value %q"):format(key, value))
-- if(key == "match_join") then
-- for k,v in pairs(value) do
----- LOG --
{"level":"info","ts":"2018-07-03T22:29:40.538Z","msg":"Startup done"}
----- Context ----------
----- Context "env" :: "table: 0xc4204b6480" :: "table"-----
----- Context "execution_mode" :: "after" :: "string"-----
----- Context "query_params" :: "table: 0xc420538b40" :: "table"-----
----- End Context -----
----- Payload ----------
----- Payload "token" :: "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" :: "string"-----

Keybase proof

I hereby claim:

  • I am c0ldfront on github.
  • I am coldfront (https://keybase.io/coldfront) on keybase.
  • I have a public key ASDRy5q_EQEUMGR9uvZm4PLpejvoasOVnQGZv65ZiQvOAQo

To claim this, I am signing this object:

@c0ldfront
c0ldfront / index.html
Created January 12, 2016 17:53 — forked from julienhay/index.html
Base template, jquery, jquery UI, bootstrap (CDN)
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>test</title>
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" />