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, { forwardRef } from 'react' | |
import styled from 'styled-components' | |
import css, { get } from '@styled-system/css' | |
import { | |
system, | |
compose, | |
space, | |
color, | |
typography, | |
layout, |
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, { useState } from 'react' | |
import { DrawingManager, Rectangle } from '@react-google-maps/api' | |
import { useHistory } from 'react-router-dom' | |
import { isNil, length } from 'ramda' | |
import theme from 'shared/theme' | |
import { OverlayType } from 'shared/constants/types' | |
import { isEmpty } from 'shared/utils/validation' | |
import message from 'shared/utils/message' | |
import { useStreetLights, StreetLight } from 'shared/graphql/streetLight' | |
import { |
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
{"lastUpload":"2021-04-22T02:49:04.649Z","extensionVersion":"v3.4.3"} |
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
#!/bin/sh | |
# Darkify Slack on Mac OS: | |
# curl https://gist.githubusercontent.com/ryanpcmcquen/8a7ddc72460eca0dc1f2dc389674dde1/raw/darkify_slack.sh | sh | |
SLACK_INTEROP_JS="/Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static/ssb-interop.js" | |
# Thanks to: https://gist.github.com/DrewML/0acd2e389492e7d9d6be63386d75dd99#gistcomment-2358430 | |
if [ -z "`grep tt__customCss ${SLACK_INTEROP_JS}`" ]; then | |
# Backup original CSS for reverts: |
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
// Webpack config for development | |
var fs = require( 'fs' ) | |
var path = require( 'path' ) | |
var webpack = require( 'webpack' ) | |
var WebpackIsomorphicTools = require( 'webpack-isomorphic-tools' ) | |
var HappyPack = require( 'happypack' ) | |
var assetsPath = path.resolve( __dirname, '../static/dist' ) | |
var host = process.env.HOST || 'localhost' |
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
/// <reference path="../../../typings/index.d.ts" /> | |
import * as React from "react"; | |
export interface IReadMoreProps { | |
text?: string | |
showChar?: number | |
} | |
export interface IReadMoreStates { |