Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 Plotly from 'plotly.js-cartesian-dist'; | |
import { useEffect, useMemo, useState } from 'react'; | |
import createPlotlyComponent from 'react-plotly.js/factory'; | |
// use only portion of plotly library necessary | |
const Plot = createPlotlyComponent(Plotly); | |
/** | |
* a simple plot with x and y axis, will completely fill div it's placed in |
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
fun main() { | |
//to read a file | |
val scan = Scanner(FileReader("pathToFile")) | |
//... | |
PApplet.main("ImagePApplet") | |
} |
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
''' | |
Timecheck Discord Bot | |
Reminds those in the list to get on at 2:35, then 2:40 | |
Only works with Python 3.6 as of 4/2/2019 | |
''' | |
# IMPORTS | |
import time, datetime, pytz, asyncio | |
asyncio | |
import discord |
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 PokerBots; | |
import java.io.IOException; | |
import java.lang.reflect.InvocationTargetException; | |
import java.nio.charset.StandardCharsets; | |
import java.nio.file.FileSystems; | |
import java.nio.file.Files; | |
import java.nio.file.Path; | |
import java.nio.file.Paths; | |
import java.util.Collections; |
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 java.awt.Graphics; | |
import java.awt.Image; | |
import java.awt.Rectangle; | |
import java.awt.event.KeyAdapter; | |
import java.awt.event.KeyEvent; | |
import java.awt.image.ImageObserver; | |
import java.io.File; | |
import java.io.IOException; | |
import java.util.ArrayList; |