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 Challenge_177_Intermediate; | |
import java.io.ByteArrayInputStream; | |
import java.io.File; | |
import java.util.HashMap; | |
import java.util.Scanner; | |
import javax.sound.sampled.AudioFileFormat; | |
import javax.sound.sampled.AudioFormat; | |
import javax.sound.sampled.AudioInputStream; |
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 Challenge_174_Intermediate; | |
import java.awt.Color; | |
import java.awt.image.BufferedImage; | |
import java.io.File; | |
import java.io.IOException; | |
import java.io.UnsupportedEncodingException; | |
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; |
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 Challenge_174_Easy; | |
public class ThueMorseSequence{ | |
private static int orders = 6; | |
private static boolean printSequence = false; | |
public static void main(String[] args){ | |
sequence(orders); | |
} |
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 Challenge_173_Intermediate; | |
import java.awt.Color; | |
import java.awt.image.BufferedImage; | |
import java.io.File; | |
import java.io.IOException; | |
import java.util.Scanner; | |
import javax.imageio.ImageIO; |
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 json | |
import urllib | |
import praw | |
from time import sleep | |
#All the necessary urls | |
jsonUrl = "http://www.cheapshark.com/api/1.0/deals?upperPrice=0.0001" | |
redirectPage = "http://www.cheapshark.com/redirect?dealID={id}" | |
#All available stores in an array for generating tags |