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
#!/bin/bash | |
if [ $# -ne 2 ] | |
then | |
echo "You must enter 2 arguments. You entered $#". | |
exit 2 | |
fi | |
if [ $(echo $1 | grep "[0-9]") ] | |
then |
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 from 'react' | |
import baseStyle from './baseStyle' | |
const styles = theme => ({ | |
...baseStyle, | |
bar: { | |
width: theme.spacing.unit * 3 | |
} | |
}) |
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
const express = require('express'); | |
const axios = require('axios'); | |
const app = express(); | |
async function getFoo() { | |
return Promise.resolve('foo'); // this could be anything that resolves | |
} | |
async function getBarData() { |
OlderNewer