This file contains hidden or 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, { useEffect, useState } from 'react'; | |
| import styled from 'styled-components'; | |
| import PropTypes from 'prop-types'; | |
| const IGBackground = ({ username, quality, filterOpts = [] }) => { | |
| const [imageResources, setImages] = useState(null); | |
| const [imageDims, setImageDims] = useState(0); | |
| // CALCULATE HOW WIDE THE TILES SHOULD BE |
This file contains hidden or 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 ( | |
| "fmt" | |
| "io/ioutil" | |
| "os" | |
| "os/exec" | |
| ) | |
| func main() { |