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
# https://snowdrift.tech/cli/ssh/git/tutorials/2019/01/31/using-ssh-agent-git-windows.html | |
[Environment]::SetEnvironmentVariable("GIT_SSH", "$((Get-Command ssh).Source)", [System.EnvironmentVariableTarget]::User) |
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
npx create-react-app@next --scripts-version=@next --template=typescript@next my-ts-app | |
yarn add [email protected] | |
yarn add [email protected] |
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
defmodule Dl do | |
require Logger | |
def download(url) do | |
case HTTPoison.get(url) do | |
{:ok, response} -> | |
case response.status_code do | |
200 -> | |
{:ok, response.body} |
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
defmodule Dl do | |
def download(url) do | |
case HTTPoison.get(url) do | |
{:ok, response} -> | |
case response.status_code do | |
200 -> | |
{response.body} | |
end | |
end | |
end |
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
version: 2.1 | |
executors: | |
my-executor: | |
docker: | |
- image: circleci/node:8 | |
working_directory: /tmp | |
jobs: | |
build: |
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 Button from "@material-ui/core/Button"; | |
import TextField from "@material-ui/core/TextField"; | |
import Dialog from "@material-ui/core/Dialog"; | |
import DialogActions from "@material-ui/core/DialogActions"; | |
import DialogContent from "@material-ui/core/DialogContent"; | |
import DialogContentText from "@material-ui/core/DialogContentText"; | |
import DialogTitle from "@material-ui/core/DialogTitle"; | |
import Parser from "rss-parser"; | |
import CircularProgress from "@material-ui/core/CircularProgress"; |
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 Parser from "rss-parser"; | |
import { Form, FormGroup, Label, Input } from "reactstrap"; | |
const getFeedTitle = feedUrl => { | |
const foo = async () => { | |
try { | |
const parser = new Parser(); | |
const CORS_PROXY = "https://cors-anywhere.herokuapp.com/"; | |
let feed = await parser.parseURL(CORS_PROXY + feedUrl); |
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 Button from "@material-ui/core/Button"; | |
import TextField from "@material-ui/core/TextField"; | |
import Dialog from "@material-ui/core/Dialog"; | |
import DialogActions from "@material-ui/core/DialogActions"; | |
import DialogContent from "@material-ui/core/DialogContent"; | |
import DialogContentText from "@material-ui/core/DialogContentText"; | |
import DialogTitle from "@material-ui/core/DialogTitle"; | |
import Slide from "@material-ui/core/Slide"; | |
import FormDialog2 from "./FormDialog2"; |
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 { Transition } from "react-spring"; | |
import "./App.css"; | |
class App extends Component { | |
state = { | |
items: [1, 2, 3], | |
toggleDiv: false | |
}; | |
render() { |
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 "./App.css"; | |
import firebase from "./config/fbConfig"; | |
import { Spring } from "react-spring"; | |
class App extends Component { | |
constructor() { | |
super(); | |
this.state = { | |
currentItem: "", |
NewerOlder