This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface ApplicationStackProps extends StackProps { | |
dashboardStack: DashboardStack; | |
} | |
export class ApplicationStack extends Stack { | |
constructor(scope: Construct, id: string, props: ApplicationStackProps) { | |
super(scope, id, props); | |
const myFunction = new NodejsFunction(this, 'MyFunction', { | |
functionName: PhysicalName.GENERATE_IF_NEEDED, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
did:3:kjzl6cwe1jw145op9h0mianjjuk1psfve485edvvrit3khvxctclrnlc2ahowo1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import ReactDOM from 'react-dom'; | |
import PropTypes from 'prop-types'; | |
import styled, { css } from 'styled-components'; | |
import { rgba } from 'polished'; | |
const Wrapper = styled.div` | |
position: absolute; | |
z-index: 10000; | |
&::before { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const NODE_ENV = process.env.NODE_ENV || 'development'; | |
const webpack = require('webpack'); | |
const CopyWebpackPlugin = require('copy-webpack-plugin'); | |
const CleanWebpackPlugin = require('clean-webpack-plugin'); | |
const ManifestPlugin = require('webpack-manifest-plugin'); | |
const path = require('path'); | |
const addHash = (template, hash) => | |
NODE_ENV === 'production' ? template.replace(/\.[^.]+(\.map)?$/, `.[${hash}]$&`) : template; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"flag" | |
"fmt" | |
"os" | |
"bufio" | |
"math" | |
"bytes" | |
"encoding/gob" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
doctype html | |
<html !{helmet.htmlAttributes.toString()}> | |
head. | |
!{helmet.title.toString()} | |
!{helmet.meta.toString()} | |
!{helmet.link.toString()} | |
<body !{helmet.bodyAttributes.toString()}> | |
#root. | |
!{content} | |
script(src=assets['manifest.js']) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
How to use: | |
1. Inside React Dev Tools select <Provider> | |
2. Copy this script | |
3. Paste to console | |
4. Run | |
*/ | |
let store = $r.store; | |
let rawDispatch = store.dispatch; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Module Size Used by | |
hid_logitech_hidpp 28672 0 | |
hid_logitech_dj 20480 0 | |
xt_nat 16384 83 | |
cmac 16384 0 | |
veth 16384 0 | |
xfs 1024000 17 | |
xt_addrtype 16384 2 | |
br_netfilter 24576 0 | |
rfcomm 77824 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
1. Open Audios | |
2. Copy this script | |
3. Insert to developer console and run | |
4. Enjoy! | |
*/ | |
//download.js v4.2, by dandavis; 2008-2016. [CCBY2] see http://danml.com/download.html for tests/usage | |
// v1 landed a FF+Chrome compat way of downloading strings to local un-named files, upgraded to use a hidden frame and optional mime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import {Loader} from 'react-loaders'; | |
import {Button} from 'react-bootstrap'; | |
import DialogTopBar from '../components/DialogTopBar'; | |
import DialogInputBarContainer from '../containers/DialogInputBarContainer'; | |
import DialogMessagesLayoutContainer from '../containers/DialogMessagesLayoutContainer'; | |
export default class DialogLayout extends React.Component { | |
static propTypes = { | |
currentDialog: React.PropTypes.object.isRequired, |
NewerOlder