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.io.*; | |
import java.net.*; | |
public class WebLogin { | |
public static String login(String username, String password) { | |
//TODO: Add version parameter. | |
String parameters = "username="+username+"&password="+password; | |
HttpURLConnection connection = null; | |
try { |
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
#!/usr/bin/sh | |
# | |
# Runs a command multiple times in new terminals with different arguments | |
# | |
# Authors: | |
# Yousef Amar <yousef@amar.io> | |
# | |
NewerOlder